Autostart wont execute disable_ertm command.
-
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
-
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 thedrivers
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 toautostart.sh
. -
@mitu
Thanks! I will try it!Anyway this helps also (help from wonderbreadofsin of Reddit)
Edit:
sudo nano /etc/modprobe.d/bluetooth.confAdd the line:
options bluetooth disable_ertm=YThen save and reboot.
-
@Wlcina Yes, the
xpadneo
driver installation already does that, that's why I recommended installing it.
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.