• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

Autostart wont execute disable_ertm command.

Scheduled Pinned Locked Moved Help and Support
autostartxbox one controretropieertmdisable
4 Posts 2 Posters 667 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W
    Wlcina
    last edited by Wlcina 13 Mar 2022, 17:55

    Hello all,
    I have xbox one wireless controller and brings me issues only. I found an site where is step by step how to connect it to bluetooth, basically:
    edited autostart.sh by:

    sudo nano /opt/retropie/configs/all/autostart.sh
    

    then entered as first line:

    sudo bash -c 'echo 1 > /sys/module/bluetooth/parameters/disable_ertm'
    

    However it does not help, I find out when I entered command through SSH manually (that one with disable_ertm) I could register and connect my gamepad. However after reboot I have to enter command through SSH again - otherwise controller wont connect (just looking for connection). If I log to SSH and enters command manually - controller reconnects immediately.
    Seems to be autostart.sh is not executing that command properly, however the emulationstation is started upon reboot. Do you have some ideas how to avoid entering that disable_ertm command upon each reboot?

    I have Raspberry Pi 3B+, Retropie and complete list of autostart.sh follows:

    sudo bash -c 'echo 1 > /sys/module/bluetooth/parameters/disable_ertm'
    emulationstation --no-splash #auto
    
    
    1 Reply Last reply Reply Quote 0
    • M
      mitu Global Moderator
      last edited by mitu 13 Mar 2022, 18:30

      Do you have some ideas how to avoid entering that disable_ertm command upon each reboot?

      Yes, install the xpadneo driver for Xbox (from RetroPie-Setup, it's in the drivers section of the packages).and you shouldn't need any configuration.
      You might have to re-pair it via Bluetooth and then configure it again in EmulationStation, but you shouldn't have to add any additional commands to autostart.sh.

      W 1 Reply Last reply 14 Mar 2022, 06:11 Reply Quote 0
      • W
        Wlcina @mitu
        last edited by 14 Mar 2022, 06:11

        @mitu
        Thanks! I will try it!

        Anyway this helps also (help from wonderbreadofsin of Reddit)

        Edit:
        sudo nano /etc/modprobe.d/bluetooth.conf

        Add the line:
        options bluetooth disable_ertm=Y

        Then save and reboot.

        M 1 Reply Last reply 14 Mar 2022, 06:14 Reply Quote 0
        • M
          mitu Global Moderator @Wlcina
          last edited by 14 Mar 2022, 06:14

          @Wlcina Yes, the xpadneo driver installation already does that, that's why I recommended installing it.

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post

          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.

            This community forum collects and processes your personal information.
            consent.not_received