View previous topic :: View next topic |
Author |
Message |
darklegion Guru
Joined: 14 Nov 2004 Posts: 468
|
Posted: Wed Jul 21, 2010 3:57 am Post subject: [SOLVED] Xboxdrv - Uinput permissions |
|
|
I've recently decided to hook up my xbox 360 controller to my PC. The in kernel Xpad driver has the button mapping all wrong, so I decided to use the userspace xboxdrv instead. It installs fine, but when I modprobe uinput, I end up with permissions like this:
Code: |
crw-r----- 1 root root 10, 223 Jul 21 13:53 /dev/input/uinput
|
This isn't usable with a normal user. I created a udev rule to workaround this:
Code: |
KERNEL=="uinput", GROUP="uinput", MODE="0660"
|
But only the group part of the rule seems to be applied:
Code: |
crw-r----- 1 root uinput 10, 223 Jul 21 13:55 /dev/input/uinput
|
I'm in the uinput group, BTW, but I guess the driver requires write access.
Any ideas?
Thanks
Last edited by darklegion on Thu Jul 22, 2010 6:36 am; edited 1 time in total |
|
Back to top |
|
|
Sadako Advocate
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Thu Jul 22, 2010 1:00 am Post subject: |
|
|
Try changing MODE="0660" to MODE:="0660", the ':=' operator should assign a "final" value and prevent other rules from changing what you've set, which is probably what's happening here. _________________ "You have to invite me in" |
|
Back to top |
|
|
darklegion Guru
Joined: 14 Nov 2004 Posts: 468
|
Posted: Thu Jul 22, 2010 6:35 am Post subject: |
|
|
Sadako wrote: | Try changing MODE="0660" to MODE:="0660", the ':=' operator should assign a "final" value and prevent other rules from changing what you've set, which is probably what's happening here. |
Yeah, that worked. Thanks! |
|
Back to top |
|
|
SnackMasterX Apprentice
Joined: 26 Jan 2006 Posts: 231
|
Posted: Sun Apr 08, 2012 3:31 am Post subject: |
|
|
I'm having the same permission issue, which file should I place this udev rule in? I am not too familiar with udev rules so not sure where to place them.
Thanks in Advance! |
|
Back to top |
|
|
|