360 Controller Setup in Ubuntu
#1
Hi. I've got the 360 controller working nicely using the xboxdrv usermode driver. Unfortunately, I have to run it as sudo, which is no good since I'd like to script it to run at XBMC startup.

I googled and found this:

http://github.com/jhthorsen/xboxdrv/blob...c526e/TODO

Which suggests giving root access to uinput via rules.d. However even with this:

Code:
KERNEL=="uinput", MODE="0660", GROUP="root"
KERNEL=="uinput", MODE="0660", GROUP="mike"
KERNEL=="uinput", MODE="0660", GROUP="xbmc"

in /etc/udev/rules.d/45-permissions-xboxdrv.rules

I still cannot run xboxdrv without sudo as mike or xbmc. What am I doing wrong?
Reply
#2
I managed to figure out the rules to set permissions (only give one user ownership), but I'm still not clear on how best to start to the driver automatically so that I don't have to pull up the console on every boot and run it manually.
Reply
#3
add it to the end of /etc/rc.local ?
Reply
#4
I appended it to rc.local, however it doesn't seem to run. Putting "echo test > afile" works, so I'm sure its being run, but presumably its crashing somehow. Is it possible to run a script later in the startup process? Perhaps something the driver needs isn't running at that point in startup. Running the script manually after startup gives me a working driver . . .
Reply

Logout Mark Read Team Forum Stats Members Help
360 Controller Setup in Ubuntu0