[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Automatic device creation with udev



Hi,

I'm trying in vain to get udev to create device nodes for my new driver. I've read that udev monitors sysfs for files named "dev" and then creates the nodes accordingly, so I added an entry in /sys like other drivers do :

# cat /sys/devices/pci0000:00/0000:00:1d.1/usb2/2-2/2-2:1.3/dev
254:0
#

(am I creating the "dev" file in the right place ?)

Udev still ignored my driver, so I added the following lines to /etc/udev/rules.d/udev.rules, but with no result :

KERNEL=="freshtel",             NAME="freshtel"
KERNEL=="freshtel[0-9]*",       NAME="freshtel%n"

Any suggestion ?

Regards,

Sebastien


-- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ