Tagged: xbmc
-
AuthorPosts
-
I’ve made a working version of RetroPie 2.3 incl. XBMC under Ports, but my xbox cotroller doesn’t work under XBMC, RetroPie isn’t a problem.
Can somebody help me how to install the xbox controller under XBMC?
I got it working on xbmc using this tutorial“> however that seems to stop it working in Emulation Station. I changed how xboxdrv is loaded so I can boot to ES and choose/play games etc. and then start xbmc and use it fine, but as soon as I exit xbmc I have to SSH and reboot the Pi to regain control of ES.
Need to find some way of stopping xboxdrv when xbmc quits.
This is what I did to get es and xbmc to work with an xbox controller.
You need to have the start.sh and the xbmc.ini files already from the tutorial in the previous post.
Leave the /etc/rc.local file configured to load xboxdrv for es, not xbmc.
All the magic happens in the xbmc.sh file in /home/pi/RetroPie/roms/ports/
Here is my code:
[code]
#!/bin/bashxboxdrv_pid=
pidof xboxdrv
sudo kill -SIGTERM $xboxdrv_pidsudo /home/pi/start.sh
sudo xbmc
xboxdrv_pid=
pidof xboxdrv
sudo kill -SIGTERM $xboxdrv_pidsudo xboxdrv --daemon --id 0 --led 2 --deadzone 4000 --silent --trigger-as-button --next-controller --id 1 --led 3 --deadzone 4000 - silent --trigger-as-button --dbus disabled --detach-kernel-driver &
[code]This script ends the xboxdrv process and then runs it with the proper settings for xbmc, then when xbmc quits kills the process again and rus it with the settings needed for es.
I have tested this and it is working for me.is your code right?
in “xboxdrv_pid=pidof xboxdrv” there is something like a quote
What tutorial ? There is no link to any tutorial can someone post it please? NEVER MIN I AM AN IDiOT
I found the missing letters from xboxdrv_pid=
pidof xboxdrv
.
It should look like this:
xboxdrv_pid=’pidof xboxdrv’ with this sign here ” ` ” intead of ” ‘ “AnonymousInactive02/12/2015 at 12:43Post count: 1Hi Guys,
I have done as suggested but all i get is-- [ ERROR ] ------------------------------------------------------ USBController::USBController(): libusb_open() failed: LIBUSB_ERROR_ACCESS
when the scripts run
/usr/bin/xboxdrv --config /home/pi/kodi/kodi.ini --silent --autofire RT=25 --autofire LT=25 --autofire du=200 --autofire dd=200 --autofire dl=500 --autofire dr=500
Any ideas?
-
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.