Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • sander
    Participant
    Post count: 12

    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?

    zoziox
    Participant
    Post count: 2

    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.

    marden747
    Participant
    Post count: 1

    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/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 &
    [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.

    muffy
    Participant
    Post count: 57

    is your code right?

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

    randomhero78
    Participant
    Post count: 3

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

    KazooZoo
    Participant
    Post count: 4

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

    bighead85
    Participant
    Post count: 1

    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)
  • You must be logged in to reply to this topic.