Re: help: udev rule for usb stick
On Thursday 20 October 2005 11:35, Matteo Semplice
<matteo.semplice@libero.it>
(<[🔎] 200510201935.37427.matteo.semplice@libero.it>) wrote:
> Thanks for your reply (and all the others, which kindly pointed out docs
> on the web that sadly already sit on my machine but had already given no
> help)
> ...
> udevinfo -a -p $(udevinfo -q path -n /dev/sda)
I'm in a bit over my head again.
How about (all on one line):
BUS=="scsi" SYSFS{model}==".2" SYSFS{vendor}="linux.so" NAME="%k"
SYMLINK="usbstick"
I'm surprised at the vendor and model. The Apple iPod identifies itself
with "Apple" and "iPod".
> BUS="usb", SYSFS{idVendor}="10d6", SYMLINK="usbstick"
The
BUS="usb"
is supposed to be
BUS=="usb"
Previous versions of udev allowed '=' where '==' should have been used. I
think I read a message on the hotplug mailing list that indicated "correct"
usage was now being enforced. Maybe I'm wrong.
Reply to: