Why does udev recognition of my iPod break when I add the serial number to the udev rule?
My original /etc/udev/rules.d/10-local.rules works fine:
Code:
BUS="scsi", SYSFS{model}="iPod*", KERNEL="sd?2", NAME="%k", SYMLINK="ipodnano", MODE="0666"
However, when trying to add a custom rule to differentiante two iPods, nothing works:
Code:
BUS="scsi", SYSFS{model}="iPod*", SYSFS{serial}="000F2566129GA5E7", KERNEL="sd?2", NAME="%k", SYMLI
NK="ipodnano", MODE="0666"
The only thing I changed was to add the SYSFS{serial}="..." part, but for some reason, that breaks the entire recognition. I got the serial both from looking in lsusb -vv and in /sys/devices/.../usb/ directory.
Anyone? I'd really like to be able to have my ipod video as /dev/ipodvideo and the Nano as /dev/ipodnano
Any insight greatly appreciated.
-Y1