How can I use my Xbox One S controller via bluetooth? [duplicate]

I got an Xbox One S controller as a gift for Christmas and I found out that it can connect to a PC with Bluetooth. It's supposed to work on Windows 10 but it doesn't work on my Ubuntu PC. It shows up as an option in the Bluetooth settings but when I connect to it it just instantly loses connection. How can I use the controller via Bluetooth on my Ubuntu 17.10 PC? I would like to use it for emulators and maybe even Steam games.


Solution 1:

To solve your problem:

  1. Install sysfsutils

    sudo apt install sysfsutils
    
  2. Edit /etc/sysfs.conf (as admin), add this line at the end of the file:

    /module/bluetooth/parameters/disable_ertm=1
    
  3. Save changes and restart

Reference:

  • https://ubuntuforums.org/showthread.php?t=2339212