HOW TO: Setup Xbox 360 Controller quickly in XBMC Live - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Linux and Live support (/forumdisplay.php?fid=52)
+---- Thread: HOW TO: Setup Xbox 360 Controller quickly in XBMC Live (/showthread.php?tid=98824)
HOW TO: Setup Xbox 360 Controller quickly in XBMC Live - josephdyland - 2011-04-08 04:58
I have been a long time fan of XBMC since the Xbox days and have never been able to let go of the Xbox controller, I know there is a couple threads on here already with documentation on how to get things working on older versions of XBMC.
I have followed these other posts on several installations and it has always taken me a couple days to get things working properly.
Here is how to use the latest Versions of Grumbel's Userspace driver on Tested on a fresh install XBMC Live Dharma, all buttons and Triggers are also working 100% with this method.
Add Grumbel PPA
Create a bash script that will start on system startup in a few steps
and open for editing
Paste this into the newsly created xboxdrv.sh
make xboxdrv.sh executable
Open rc.local so we can add a line to start the xboxdrv.sh script
Add this above exit 0
Thanks to , alexpigment, awef previous posts for pointing me in the right direction and of course grumbel
- draggy - 2011-04-13 16:57
Thank you very much for the updated information josephdyland. I was able to get my controllers working with xbmc's interface easily.
I wanted to add my two cents and provide an init.d startup script that I wrote. It could probably be cleaner, and it should probably use xboxdrv's daemon mode. But since daemon mode is broken in xboxdrv v0.7.3 screen sessions work just as well.
Just edit the wireless and wired variables to indicate how many controllers you have. I have 2 wireless controller dongles so my setup looks like:
Of course if you use my startup script, you don't need josephdyland's xboxdrv.sh or the addition to rc.local
- joelones - 2011-04-13 17:26
Are you guys able to resume from suspend without issues with xboxdrv? I've had problems in the past with this on 0.6.x.
- draggy - 2011-04-13 17:29
I've never had a problem with it.
- Haohmaru - 2011-04-24 01:25
draggy Wrote:I've never had a problem with it.
Are you shure ? I can't use it either after coming back from suspend.
But it works right away again if I reboot.
- draggy - 2011-04-25 16:51
You are correct, I also have issues coming out of suspend now. What I did was just set it up to restart my xboxdrv sessions after the computer resumes. This of course also means that it doesn't work in xbmc until it is restarted. This isn't an issue for me as I don't use the controllers to control xbmc.
I don't think this is a bug. I think it's just how the driver works because it has to re-init the usb ports when the computer resumes....I could be wrong though.
I can't remember if older versions has resume issues....
- danz0l - 2011-05-08 15:57
draggy Wrote:Thank you very much for the updated information josephdyland. I was able to get my controllers working with xbmc's interface easily.
Love your startup script and if i execute manually everything is fine and it works perfectly (although doesn't seem to work in xbmc ?)
How are you executing it to run at startup ? I popped it in /etc/init.d/xbmdrv (making sure it was executable) and then updated the startup with
sudo update-rc.d xbmdrv defaults
But it doesnt start up as expected. What am i doing wrong ?
- danz0l - 2011-05-08 19:28
Ah figured it out
Removed my previous startups
Quote:sudo update-rc.d -f xboxdrv remove
The set the highest priority for the driver to run
Quote:sudo update-rc.d -f xboxdrv start 1 2 3 4 5 .
Now it gets loaded before xbmc and works as expected Excellent and thanks draggy
- Phantisy - 2011-05-10 04:28
When I try to run it manually I get
Quote:xbmc@HTPC:/etc/init.d$ sudo xboxdrv start
I had the old version installed and every time I upgraded to the new version it was not overwriting the xboxdrv file. I deleted the files then reinstalled and now its working. 7.3 is what I have now and not 6.6
- teeedubb - 2011-06-11 07:37
What keymap file do you guys use to make it work with xbmc?