Skip to content

Instantly share code, notes, and snippets.

@2E0PGS
Last active December 20, 2023 06:16
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save 2E0PGS/0166ffec16b1d86acb4ebeea6871b54e to your computer and use it in GitHub Desktop.
Save 2E0PGS/0166ffec16b1d86acb4ebeea6871b54e to your computer and use it in GitHub Desktop.
Fix to pair Xbox One S Bluetooth controller on Ubuntu

First things first you need to have a new ish bluetooth adapter I have found in my testing.

It may need to be bluetooth 4 compatible I am not sure but my laptop and phone worked whereas my desktop using a £1 dongle did not.

Once you get a successful pair you may notice the controller still has a blinking light. If this is the case see below.

Install sysfsutils

sudo apt-get install sysfsutils

Edit the config to disable bluetooth ertm

sudo nano /etc/sysfs.conf

Append this to the end of the config

/module/bluetooth/parameters/disable_ertm=1

Reboot your machine.

sudo reboot

Then you need to repair the device. So forget the device in bluetooth settings and repair it.

Now it should have a solid light on the controller and all is good.

Tested on Ubuntu 18.04.

@Yzzzi
Copy link

Yzzzi commented Jun 24, 2021

Tried this solution on Ubuntu 20.04 and it seems not working. Bluetooth menu shows that controller is connected, but controller just keeps blinking and provides no input.
upd. i found solution that worked for me
You can try to disable ertm temporary and check if it worked via this command

sudo bash -c "echo Y > /sys/module/bluetooth/parameters/disable_ertm"

If it was - controller should connect as soon as u try pairing it again, but option will be reset once PC rebooted.

Here solution on how to make it permanent:
https://www.addictivetips.com/ubuntu-linux-tips/xbox-one-controllers-over-bluetooth-linux/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment