Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]udev rules that used to work with 87 do not with 104
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
tobim
n00b
n00b


Joined: 01 May 2006
Posts: 47
Location: Bloomington, IN

PostPosted: Sun Feb 11, 2007 6:28 pm    Post subject: [solved]udev rules that used to work with 87 do not with 104 Reply with quote

Hi, everyone!

I upgraded to udev 104 and have the following problem. I have a rule for my ipod which looks like this:

Code:
BUS=="scsi", SYSFS{vendor}="Apple*", SYSFS{model}="iPod*", KERNEL="sd?2", SYMLINK+="ipod", GROUP="plugdev"


This used to work with the old udev, and now, at the point where init processes all the udev stuff, I get an error message saying "illegal KERNEL operation" or something like that.

Something analogous is happening for my usbstick. Those two are the only rules I made by hand.

Any ideas?


Last edited by tobim on Sun Feb 11, 2007 6:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
tobim
n00b
n00b


Joined: 01 May 2006
Posts: 47
Location: Bloomington, IN

PostPosted: Sun Feb 11, 2007 6:37 pm    Post subject: Reply with quote

OK, so I solved it. Turns out the rule should read

Code:
BUS=="scsi", SYSFS{vendor}=="Apple*", SYSFS{model}=="iPod*", KERNEL=="sd?2", SYMLINK+="ipod", GROUP="plugdev"


But can someone tell me why this used to work with the old udev? Did boolean equal and assignment use to be the same operator?
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