2011-02-01, 22:13
****Pasting this again because the first post in this thread is no longer accurate****
alexpigment Wrote:OK, here's my attempt at some easy instructions for getting XBOX 360 controllers working on Dharma.
1) Download the file xboxdrv_for_XBMC_live.v1.tar.gz from here: http://www.mediafire.com/?8wz9dn9zilr7jlu
2) FTP into your system and transfer this file to the xbmc folder (should be where you are by default).
3) SSH into your system and type the following:
Code:sudo tar -zxvf xboxdrv_for_XBMC_live.v1.tar.gz
4) Now change directories to the newly unzipped folder:
Code:cd xboxdrv_for_XBMC_live.v1
5) Do the following to generate a keymap file:
Code:cp -vf ./keymap.xml.trigger.as.zaxis.jaunty ~/.xbmc/userdata/keymaps/xboxdrv.xbox360.keymap.xml
6a) Do the following for multi-controller support:
Code:sudo nano xboxdrv_for_XBMC_live.9.04.jaunty.sh
6b) Once in nano, you will see that there is a line that starts with ./xboxdrv-linux... delete that line and paste (if you're using PuTTY to ssh, you can paste by right clicking):
Code:./xboxdrv-linux-0.4.8 --wid 0 -s --dpad-as-button --deadzone 12000 --trigger-as-zaxis &
sleep 1
./xboxdrv-linux-0.4.8 --wid 1 -s --dpad-as-button --deadzone 12000 --trigger-as-zaxis &
sleep 1
./xboxdrv-linux-0.4.8 --wid 2 -s --dpad-as-button --deadzone 12000 --trigger-as-zaxis &
sleep 1
./xboxdrv-linux-0.4.8 --wid 3 -s --dpad-as-button --deadzone 12000 --trigger-as-zaxis &
Once this is done Ctrl+O to save (click Enter to accept changes), Ctrl+x to close nano
7a) Type the following to edit your rc.local file:
Code:sudo nano /etc/rc.local
7b) Once in nano, type the following line above the line "exit 0"
Code:cd /home/xbmc/xboxdrv_for_XBMC_live.v1 && sh ./xboxdrv_for_XBMC_live.9.04.jaunty.sh
Now type Ctrl+O to save, Enter to accept changes, Ctrl+X to exit nano
8) Type the following to reboot:
Code:sudo reboot
Now, I am not 100% sure that will work on your USB situation. For me, when I was running XBMC live off a USB, the files I FTP'd onto the drive were gone upon reboot. So... I guess try it out and let me know if it works or doesn't. I will know in a day or two for sure how well it works when I have to redo one of my Revo boxes for Beta 2.
Also, thanks to the following people for providing almost all of the steps/assistance:
Grumbel, Darwin, Mityama, and probably others I'm forgetting.
EDIT: I fixed a few typos and omissions, tested it, and it works on my end from a fresh installation of XBMC Live Dharma Beta 2 on an Acer Revo 1600.