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

Re: help: udev rule for usb stick

Matteo Semplice wrote:

> Currently, none of the rules
> BUS="usb",SYSFS{modalias}="usb:v10D6p1100d0100dc00dsc00dp00ic08isc05ip50",SYMLINK="usbstick"
> BUS="scsi",SYSFS{modalias}="usb:v10D6p1100d0100dc00dsc00dp00ic08isc05ip50",SYMLINK="usbstick"
> BUS="usb", SYSFS{idVendor}="10d6", SYMLINK="usbstick"
> BUS="scsi", SYSFS{idVendor}="10d6", SYMLINK="usbstick"
> BUS="usb", SYSFS{idProduct}="1100", SYMLINK="usbstick"
> BUS="scsi", SYSFS{idProduct}="1100", SYMLINK="usbstick"
> seem to work. (I've put them in /etc/udev/rules.d/010local.rules)

You are missing the NAME parameter out of all these rules.  I'd suggest
NAME="%k" so that you'll get the kernel device name.  Also, GROUP and MODE
would be a good idea.

Reply to: