in udev-141-r1 (~x86) I'm trying to get my gamepads working. First i have set GROUP="games" to the line where the joystick devices rule is but members in group games had no access to the device. A second try was to set MODE="0664" but that either helped. (I was going the long way and rebootet after every udev change..) I also expected this to be a problem for my dvd device but that may be another bug. Reproducible: Always Steps to Reproduce: 1. Put in Gamepad 2. Not propriate permissions Actual Results: js* devices are having the wrong permissions. Expected Results: Giving js* devices the right permissions. Workaround: manually chmod teh device after plugging it in
Please provide more information. What permissions do the devices have after you plugged in your gamepad? What permissions do they have after your changes?
crw-rw---- 1 root root 13, 0 Jun 23 07:33 js0 but according to my rule, that's wrong. cat /etc/udev/rules.d/50-udev-default.rules | grep js KERNEL=="js[0-9]"*", NAME="%k", MODE="0644", GROUP="games"
Just for information, the default location for udev's standard rules has changed a while ago. It's now /lib/udev/rules.d/ or /lib64/udev/rules.d/ (In reply to comment #2) > > KERNEL=="js[0-9]"*", NAME="%k", MODE="0644", GROUP="games" > Is this exactly the way it's inside of your rules file? If yes the error should be obvious. Theres one quotation mark too much: KERNEL=="js[0-9]*", should be correct.
I copyed the 50-default-rules from /lib beause the rules in lib had no effect on my system (after i copied it and restarted udev, the joystick hotplug created a node.. and only after i copied the rule from /lib to /etc). Whatever, the rule thing is awkward, i haven't seen the spare quotation mark. Now it works, i'm sorry ^_^ (In reply to comment #3) > Just for information, the default location for udev's standard rules has > changed a while ago. It's now /lib/udev/rules.d/ or /lib64/udev/rules.d/ > > (In reply to comment #2) > > > > KERNEL=="js[0-9]"*", NAME="%k", MODE="0644", GROUP="games" > > > > Is this exactly the way it's inside of your rules file? If yes the error should > be obvious. Theres one quotation mark too much: > > KERNEL=="js[0-9]*", > > should be correct. >