Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
migrating to new udev, no more coldplug, problems [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
gnychis
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1004
Location: Pittsburgh, PA

PostPosted: Sun Dec 10, 2006 5:22 am    Post subject: migrating to new udev, no more coldplug, problems [SOLVED] Reply with quote

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
View user's profile Send private message
richfish
Apprentice
Apprentice


Joined: 03 Mar 2006
Posts: 202
Location: Phoenix, AZ

PostPosted: Sun Dec 10, 2006 5:51 am    Post subject: Reply with quote

For the BUS and SYSFS parts, use "==" (comparison operator) instead of "=" (assignment)
Back to top
View user's profile Send private message
gnychis
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1004
Location: Pittsburgh, PA

PostPosted: Sun Dec 10, 2006 4:41 pm    Post subject: Reply with quote

thanks!
_________________
<---- me and Richard Stallman :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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