Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Xbox One S controller freezing.



  • Hi everyone. Im struggling with my Rpi. Info:

    Pi Model or other hardware: 3B
    Power Supply used: USB hub with plenty of power.
    RetroPie Version Used 4.3
    Built From: Downloaded yesterday from retorpie.org. Updated all packages yesterday too.
    USB Devices connected: bluetooth dongle. (but with no usb devices I have the same problem)
    Controller used: XBOX 360 and One

    So, my 360 controller works perfectly. The One S was impossible to pair until I followed the tutorial that is everywhere in internet. I was able to set all the controls with no problem at all (all the keys with no problem) and it works in the menus. The problem comes when I launch a game, it seems the controller freezes and I can not move anything, so I am forced to reset the controller (sometimes even I have to remove the batteries) after removing the batteries the controller works perfectly and wonderfully with no problem at all in all the emulators. If I exit a game, and open another one, I have to repeat the same process.

    Do you know if there is anything I could do? Is frustrating to be so close...



  • Does anybody have an idea of what to do? Anybody else with the same problem?


  • Global Moderator

    @rad_schuhart Do you have the same problem is you connect the controller via USB ? Have you tried to test the controller under Windows ? Could be a faulty controller.



  • @mitu said in Xbox One S controller freezing.:

    @rad_schuhart Do you have the same problem is you connect the controller via USB ? Have you tried to test the controller under Windows ? Could be a faulty controller.

    Hi! Thanks for your answer. I have not connected it with USB to the raspberry, but I connected it to my computer and it works. Also works perfectly with the computer when playing. I updated the firmware in the controller too.

    I doubt is a faulty controller due to I bought two, and both of them share exactly the same problem.

    I have a friend that just tested his controller and he has exactly the same problem...


  • Global Moderator

    @rad_schuhart Any errors appear in thedmesg command output ? Did you try the advice in https://retropie.org.uk/forum/topic/6198/xbox-one-controller-via-bluetooth (disabling BT ETRM) ?



  • Yes, I had to do the disable ertm trick, otherwise it was not possible to pair the controllers. I dont know what a dmesg is, but I see no error and no nothing so far. Is just that, works perfectly in menus, I launch a game and controller freezes. I restart controller and everything works with no problem at all...



  • @mitu said in Xbox One S controller freezing.:

    @rad_schuhart Any errors appear in thedmesg command output ? Did you try the advice in https://retropie.org.uk/forum/topic/6198/xbox-one-controller-via-bluetooth (disabling BT ETRM) ?

    Sorry to disturb you again and thanks for your previous help... I guess you dont know what is going wrong, right? :(


  • Global Moderator

    @rad_schuhart Unfortunately not. I had at some point a Xbox one S controller which worked with the instructions available right now (disabling ertm and updating to the latest firmware), but right now I don't have any idea.
    To get the dmesg messages, exit ES, then type dmesg > output.txt. The messages should be in the output.txt file, which you can paste on pastebin.com to see if any kernel error messages appear (disconnects/re-connects, other BT or system related errors).



  • @mitu
    I have the same problem here that @Rad_Schuhart .

    This is mi dmseg output:
    [ 9.654492] Bluetooth: Core ver 2.22
    [ 9.654591] NET: Registered protocol family 31
    [ 9.654596] Bluetooth: HCI device and connection manager initialized
    [ 9.654617] Bluetooth: HCI socket layer initialized
    [ 9.654629] Bluetooth: L2CAP socket layer initialized
    [ 9.654663] Bluetooth: SCO socket layer initialized
    [ 9.666427] Bluetooth: HCI UART driver ver 2.3
    [ 9.666441] Bluetooth: HCI UART protocol H4 registered
    [ 9.666446] Bluetooth: HCI UART protocol Three-wire (H5) registered
    [ 9.666619] Bluetooth: HCI UART protocol Broadcom registered
    [ 9.765241] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [ 9.765249] Bluetooth: BNEP filters: protocol multicast
    [ 9.765262] Bluetooth: BNEP socket layer initialized
    [ 9.963927] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [ 9.963945] Bluetooth: HIDP socket layer initialized
    [ 16.619415] hid-generic 0005:045E:02FD.0005: unknown main item tag 0x0
    [ 16.619720] input: Xbox Wireless Controller as /devices/platform/soc/3f201000.serial/tty/ttyAMA0/hci0/hci0:14/0005:045E:02FD.0005/input/input1
    [ 16.620228] hid-generic 0005:045E:02FD.0005: input,hidraw2: BLUETOOTH HID v9.03 Gamepad [Xbox Wireless Controller] on b8:27:eb:b8:a6:5a
    [ 19.245833] random: crng init done

    I have to 'restart' the Xbox One pad when I run a game with any retroarch emulator based on Retroarch (everytime that I run any game and any platform)

    If I run a Commodore64 game (C64 emulator runs with Vice) the pads works perfectly with 2 player games.

    There are any option in Libretro / Retroarch config to force a pad re-connection?



  • @mitu said in Xbox One S controller freezing.:

    @rad_schuhart Unfortunately not. I had at some point a Xbox one S controller which worked with the instructions available right now (disabling ertm and updating to the latest firmware), but right now I don't have any idea.
    To get the dmesg messages, exit ES, then type dmesg > output.txt. The messages should be in the output.txt file, which you can paste on pastebin.com to see if any kernel error messages appear (disconnects/re-connects, other BT or system related errors).

    Hi mate, I am deep testing it with Sr Polilla, and we are both having the same problem... Does his output help?


  • Global Moderator

    @rad_schuhart said in Xbox One S controller freezing.:

    Does his output help?

    Not really, it doesn't show any disconnection errors, just one connecting message for the controller

    
    [ 16.619720] input: Xbox Wireless Controller as /devices/platform/soc/3f201000.serial/tty/ttyAMA0/hci0/hci0:14/0005:045E:02FD.0005/input/input1
    [ 16.620228] hid-generic 0005:045E:02FD.0005: input,hidraw2: BLUETOOTH HID v9.03 Gamepad [Xbox Wireless Controller] on b8:27:eb:b8:a6:5a
    


  • @rad_schuhart said in Xbox One S controller freezing.:

    have not connected i

    Just wanted to chime in and say I'm also having the same issue with the bluetooth connection. Controller works fine in the menus but fails to do anything in any emulators.

    Controler has been updated through the windows app, and I have tested the controller on a usb cable which works. Bluetooth is the only issue.



  • @ghost187 said in Xbox One S controller freezing.:

    @rad_schuhart said in Xbox One S controller freezing.:

    have not connected i

    Just wanted to chime in and say I'm also having the same issue with the bluetooth connection. Controller works fine in the menus but fails to do anything in any emulators.

    Controler has been updated through the windows app, and I have tested the controller on a usb cable which works. Bluetooth is the only issue.

    Wow, I did not read your reply until now! Did you manage to fix the problem? I am still struggling with it. Good to see I am not the only one with the problem.



  • @ghost187 said in Xbox One S controller freezing.:

    @rad_schuhart said in Xbox One S controller freezing.:

    have not connected i

    Just wanted to chime in and say I'm also having the same issue with the bluetooth connection. Controller works fine in the menus but fails to do anything in any emulators.

    Controler has been updated through the windows app, and I have tested the controller on a usb cable which works. Bluetooth is the only issue.

    Hi there, got some news here. Fresh install of Retropie 4.4, then do the bluetooth trick

    I updated all packages, not sure if it is needed, but after that I had to re set up the controller.

    It should work fine, at least with one controller. If you are using 2 or more controllers at the same time, you should plug an USB bluetooth dongle (1 euro free shipping in aliexpress) otherwise, the second player has so much lag that cannot play. Please note you should bind the pads with the USB dongle plugged. If you bind the pads and then plug the dongle, it wont work.

    Hope it helped you somehow.



  • My Specs:
    Retropie 4.4
    raspberry pi 3 b+
    Xbox One X Patrol Tech Bluetooth Controller

    Works fine with 8 Bit Do GamePad Pro and PS 4 Controllers.
    For the Xbox controller to pair I edited . autostart.sh to disable bluetooth ertm mode and it paired fine and it works fine in Emulation Station, and CoolCV, but for all libretro core RetroArch Emu's I have to wait five minutes after launching a game for anything to respond. jstest through ssh shows controls work fine, while I am clicking away and getting no response at games screen. Eventually it wakes up sometimes in 2 minutes, sometimes 5 minutes. From then on it works fine. If I exit game Emulations station works fine, then launch another game and again same waiting period. coolcv which does not use retroarch controls works fine right away. Any ideas? Updated I have confirmed I have the latest firmware on the controller.



  • I had the same issue(https://retropie.org.uk/forum/topic/18027/my-bluetooth-controller-works-inside-the-menu-but-i-have-to-reconnect-it-for-games/5).

    However doing a fresh install of RetroPie didn't do anything for me. Then I tried restarting the bluetooth of the RasberryPi via SSH instead of restarting the controller and it made the controller useable again. Here is how I automated this:

    sudo nano /opt/retropie/configs/all/runcommand-onstart.sh

    Copy this into the editor and save:

    bluetooth()
    {
    sleep 5s
    sudo invoke-rc.d bluetooth restart
    }
    
    bluetooth &
    

    This script restarts your bluetooth connection 5 seconds after you have started your emulator. This let's your controller reconnect without having to restart the controller. It's a quick-and-dirty fix, but good enough as a temporary solution until this is hopfully fixed in a future update.



  • @wihaedud said in Xbox One S controller freezing.:

    I had the same issue(https://retropie.org.uk/forum/topic/18027/my-bluetooth-controller-works-inside-the-menu-but-i-have-to-reconnect-it-for-games/5).

    However doing a fresh install of RetroPie didn't do anything for me. Then I tried restarting the bluetooth of the RasberryPi via SSH instead of restarting the controller and it made the controller useable again. Here is how I automated this:

    sudo nano /opt/retropie/configs/all/runcommand-onstart.sh

    Copy this into the editor and save:

    bluetooth()
    {
    sleep 5s
    sudo invoke-rc.d bluetooth restart
    }
    
    bluetooth &
    

    This script restarts your bluetooth connection 5 seconds after you have started your emulator. This let's your controller reconnect without having to restart the controller. It's a quick-and-dirty fix, but good enough as a temporary solution until this is hopfully fixed in a future update.

    Excelent fix! Thanks for sharing!



  • @wihaedud

    I have this exact same issue. However the fix doesn't work for me. The bluetooth disconnects after 5 seconds as it should but then never connects back to the pie and wont until the pie is rebooted. Any ideas or anything I can check using ssh to ensure the bluetooth service has restarted?? I am a bit of Linux noob but can find my way around a putty window :)



Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.