Xbox One controller via Bluetooth
-
This thread has 67 THOUSAND views! This seems to be a popular controller, is it just not being used by the people who matter?
-
Hi peeps, first post on here after getting my Pi yesterday.
So, Xbox One S controllers eh, who knew they would be so much trouble? I've been tearing my hair out since yesterday, but found a solution to my issue, so hopefully someone else will find this post helpful!
It's been well documented that in order to pair or connect a modern Xbox One S controller (bluetooth) you have to disable the ertm option, and I'd had success when running this from the command line after boot up...
sudo bash -c 'echo 1 > /sys/module/bluetooth/parameters/disable_ertm'
cat /sys/module/bluetooth/parameters/disable_ertm
(the second command will return 'Y' when ertm is disabled, and 'N' when still enabled)However I could not get it to persist using the suggested method i.e. adding it to /opt/retropie/configs/all/autostart.sh directly before the 'emulationstation #auto' line, so I would have to log in with puTTY and run the command manually every single time I wanted to use the Xbox controller! (super annoying).
So, happily I finally found another way to disable ertm for bluetooth.
-
Create a new file using nano...
sudo nano /etc/modprobe.d/bluetooth.conf -
Add a single line to the new file...
options bluetooth disable_ertm=Y -
Exit nano, saving the file in the process.
For reference, I'm using the latest release of Raspbian Stretch and RetroPie at time of going to press (December 2018), on a Pi 3 Model B+.
-
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.