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

      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
      • mituM
        mitu Global Moderator
        last edited by mitu

        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 Reply Quote 0
        • W
          Wlcina @mitu
          last edited by

          @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.

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @Wlcina
            last edited by

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

            1 Reply Last reply Reply Quote 0
            • First post
              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.