View Full Version : Xbox Controller (Original) not working
bionic1234
2008-02-25, 03:37
I understand that Xbox Controller (Original) is supposed to work in XBMC Linux, but I am not sure how to get it to work? (my keyboard and mouse are working fine)
I have tried the same Xbox Controller with USB adapter in Windows with the XBCD drivers, and it is working fine, so I know that my hardware is working fine.
Linux - running Ubuntu 7.10.
Any suggestions welcome on either:
a) recompiling/installing drivers
b) how to test in Linux
The microsoft S controller should work fine other brands or the big original fatty one probably have a different name ID under linux and won't be recognized
I have been using the S controller for ages
bionic1234
2008-02-25, 14:21
Sorry should have mentioned that - I have an Xbox Controller S, but no response in XBMC to the controller at all.
because the hardware works, i suspect that i just need to reload the drivers -but I have searched the forums and web for hours with no luck for linux.
bionic1234
2008-02-25, 15:08
More info -
Running Ubuntu 7.10 Gutsy
Xbox Controller S that I am using is a wired controller
I have run JSCalibrator and verified that the Controller does work in Ubuntu, just not in XBMC
Ubuntu comes preloaded with the drivers for this and should not need any others installed. The problem probley is what the drivers output the name as. If you look in our keymap.xml file you will see that ubuntu has to name the controller
<joystick name="Microsoft Xbox Controller S"> or it wont pick it up, if linux calls your somthing different then you need to rename it in the keymap. Also from memory it has to be the first joystick so it it gets defined as js1 in linux because thats the one we check
bionic1234
2008-02-26, 06:46
Thanks Jezz X,
I knew it was simple. In trialling XBMC-Linux I had earlier decided to put it through it's paces and took my Userdata folder from the Xbox and dumped it to the Linux build and the keymap.xml file from the XBMC (XBOX) (T3CH Feb 10) does not have the 'joystick' entry.
The fix: copied and pasted keymap.xml from XBMC Linux back into the Userdata folder.
bionic1234
2008-03-18, 22:34
Just one additional comment for others looking for help with Linux support of XBOX controllers. The wired controller worked very well, and right away (as soon as I used the proper keymap.xml)
However I wanted to get my wireless (Mad Catz) XBOX controller working as well. When I ran Joystick Callibration the wireless controller worked fine, but it did not work in XBMC, and the controller name in the Joystick Callibration file was "Microsoft XBOX Controller S", strange....
I took Jezz's advice a second time, and dug down into Ubuntu. I went to PREFERENCES => HARDWARE INFORMATION, and found under the USB devices the following "Mad Catz Lynx Wireless Controller" (obviously the name that Ubuntu gave to my controller. As mentioned by Jezz, if the name is different XBMC will not recognize.
I copied this new name, and then edited the keymap.xml file using this name as the <alt name> (replacing all) and leaving Microsoft XBOX Controller S as the prime name still.
The XBOX wireless controller now works perfectly in XBMC Ubuntu for me.
Thanks again
Any experience with the same problem under Windows?