View previous topic :: View next topic |
Author |
Message |
gnychis Veteran
Joined: 23 Mar 2005 Posts: 1004 Location: Pittsburgh, PA
|
Posted: Sun Dec 10, 2006 5:22 am Post subject: migrating to new udev, no more coldplug, problems [SOLVED] |
|
|
Hi,
I am trying to get rid of new problems from migrating to the new udev with no more coldplug.
I have a card reader that I made device names with udev rules based on the serial number of the device.
When booting, these udev rules blow up now:
Code: |
udevd[1186]: add_to_rules invalid SUBSYSTEMS operation
|
I get one of those errors for each of these lines:
Code: |
BUS="usb", SYSFS{serial}="0300092566", NAME="%k", KERNEL=="sdd?", SYMLINK="cf_card"
BUS="usb", SYSFS{serial}="0300092566", NAME="%k", KERNEL=="sdf?", SYMLINK="sd_card"
BUS="usb", SYSFS{serial}="0300092566", NAME="%k", KERNEL=="sdg?", SYMLINK="ms_card"
BUS="usb", SYSFS{serial}="0300092566", NAME="%k", SYMLINK="sd_card"
|
what can i do to get this functionality with the new udev?
Thanks!
George _________________ <---- me and Richard Stallman
Last edited by gnychis on Sun Dec 10, 2006 4:41 pm; edited 1 time in total |
|
Back to top |
|
|
richfish Apprentice
Joined: 03 Mar 2006 Posts: 202 Location: Phoenix, AZ
|
Posted: Sun Dec 10, 2006 5:51 am Post subject: |
|
|
For the BUS and SYSFS parts, use "==" (comparison operator) instead of "=" (assignment) |
|
Back to top |
|
|
gnychis Veteran
Joined: 23 Mar 2005 Posts: 1004 Location: Pittsburgh, PA
|
Posted: Sun Dec 10, 2006 4:41 pm Post subject: |
|
|
thanks! _________________ <---- me and Richard Stallman |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|