Based on this reddit post here I found an alternative solution to disable ERTM in order to allow XBox One controller to work with my Recalbox.
This works for:
- Recalbox 6.0 Dragon
- Raspberry Pi 3 Model B+
- Xbox One Controller Model 1708 (the one I bought to use on Windows 10 with the USB dongle that comes with it).
The USB dongle packaged with my controller is not recognized by the Recalbox OS in any way, so like me you need to disable ERTM and pair the controller directly through Bluetooth.
You need a USB keyboard connected to the Raspberry Pi so you can run the following steps:
-
Plug your HDMI cable to your Recalbox RPI and your HDMI cable - plugged into your monitor/TV;
-
turn on your Raspberry Pi 3 with Recalbox
-
Let it start and go to the main menu
-
Press F4. It will close emustation and show the open screen/logo
-
Press ALT + F2 to enter login menu. Login using user root and password recalboxroot
-
Remount your root filesystem with the command mount -o remount,rw /
-
DO NOT PRESS ANY KEY AFTER OPENING VI. WAIT FOR THE NEXT INSTRUCTIONS. Use command vi to create a new file with the command vi /etc/modprobe.d/bluetooth.conf
-
Beware of the vi steps: first, press the letter i (lowercase) to ender Insert mode.
-
Type in the first line this text: options bluetooth disable_ertm=Y
-
Then press this sequence of keys: <ESC> <ESC> :wq
-
on the bottom of the vi it will show only the sequence :wq in lowercase. If is written like that, you can just type <ENTER>. (<ESC> key typed twice ensure that you'll be sending a command to vi. The : character is the vi directive, so w lowercase is to write and q lowercase is to quit after writing.
-
After exiting vi, show the contents of the new file with cat /etc/modprobe.d/bluetooth.conf. If the output prints a single line containing
options bluetooth disable_ertm=Y
then you're good to go.
-
Just type the command reboot and wait the Recalbox to restart.
Next, after reboot, go to the Controller configuration menu to pair your new controller - using your keyboard until pair the new controller
-
First, turn on your Xbox Controller pressing XBox logo for 3 seconds or more.
-
After turned on, press and hold the Sync button of your controller (next to the USB plug) for 3 seconds until the lights begin to flash quickly. Then your controller is in "Pair mode"
-
Enter the Recalbox Main Menu
-
Enter Controllers Settings menu
-
Enter Pair a Bluetooth Controller
-
Wait for your XBox Controller to appear on the list. Then select the row with your Keyboard and press A to pair.
-
If the controller pairs successfuly, then the message will tell you. If don't, try to turn off your controller, reboot Recalbox and try again.
-
IMPORTANT: If you were able to pair your controller, gracefuly shutdown your recalbox to write the configurations. Go to QUIT menu and then Shutdown System.
-
Turn on you Recalbox machine with you keyboard and go to Main Menu again
-
go to Controller Settings
-
And finally, go to Configure A Controller to set your new XBox One controller mappings.
That's all!