Autostart wont execute disable_ertm command.
Wlcina last edited by Wlcina
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
xpadneodriver for Xbox (from RetroPie-Setup, it's in the
driverssection 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
Wlcina last edited by
Thanks! I will try it!
Anyway this helps also (help from wonderbreadofsin of Reddit)
sudo nano /etc/modprobe.d/bluetooth.conf
Add the line:
options bluetooth disable_ertm=Y
Then save and reboot.
@Wlcina Yes, the
xpadneodriver installation already does that, that's why I recommended installing it.