XBMC + RetroPie controller XBOX

Home Forums RetroPie Project Everything else related to the RetroPie Project XBMC + RetroPie controller XBOX

Tagged: 

This topic contains 6 replies, has 7 voices, and was last updated by Profile photo of bighead85 bighead85 2 years, 4 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #49129
    Profile photo of sander
    sander
    Participant

    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?

    #81810
    Profile photo of zoziox
    zoziox
    Participant

    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.

    #83730
    Profile photo of marden747
    marden747
    Participant

    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:

    #!/bin/bash

    xboxdrv_pid=pidof xboxdrv
    sudo kill -SIGTERM $xboxdrv_pid

    sudo /home/pi/start.sh

    sudo xbmc

    xboxdrv_pid=pidof xboxdrv
    sudo kill -SIGTERM $xboxdrv_pid

    sudo 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 &

    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.

    #83749
    Profile photo of muffy
    muffy
    Participant

    is your code right?

    in “xboxdrv_pid=pidof xboxdrv” there is something like a quote

    #84806
    Profile photo of randomhero78
    randomhero78
    Participant

    What tutorial ? There is no link to any tutorial can someone post it please? NEVER MIN I AM AN IDiOT

    #85183
    Profile photo of KazooZoo
    KazooZoo
    Participant

    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 ” ‘ “

    #87112
    Profile photo of bighead85
    bighead85
    Participant

    Hi 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?

Viewing 7 posts - 1 through 7 (of 7 total)

Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/

Skip to toolbar