Score:1

20.04 Xbox One controller not working via Bluetooth?

cn flag

I'm trying to connect an Xbox One controller to my Ubuntu machine. What happens when I try to pair it over Bluetooth this:

  1. I open the Bluetooth devices panel in Ubuntu
  2. I hold the button on top of the controller until the light starts flashing rapidly
  3. I pair with the controller in Ubuntu

The problem is, even though it shows as connected in Ubuntu, the light on the controller doesn't stop flashing and it's not recognized in HTML5 games.

Can anyone advise?

Edit: I'm on Ubuntu 20.04.3 LTS

Score:0
cn flag

I was having a similar problem and found a resource that suggested disabling ERTM, which will require super-user permissions.

After following these steps, I was able to get the controller to remain connected.

I didn't test it deeply with any of the games on my system though. (One game, Delver, didn't work too well, but I'm not sure if that was the game or the input.)

This command:

echo 1 > /sys/module/bluetooth/parameters/disable_ertm

I found I couldn't run it it using sudo by itself, so I had to run this to allow me to run it with elevated privileges.

sudo -s

This is where I found the initial info re: ERTM https://wiki.debian.org/Gamepad

And another resource that gave me the sudo advice! https://www.addictivetips.com/ubuntu-linux-tips/xbox-one-controllers-over-bluetooth-linux/

(I'm still new enough at the terminal that this is how I learned about this sudo functionality.)

Score:0
us flag
  1. Install XBox driver: sudo apt install xboxdrv

  2. Enable driver's services: sudo systemctl enable xboxdrv.service && sudo systemctl start xboxdrv.service

saricDen avatar
cn flag
Hmm, thanks I tried this but it results in the same problem: the computer says it's connected but the controller is still flashing (indicating it's in pairing mode).
ChanganAuto avatar
us flag
If you tried you should have mentioned in the question itself. Anyway, make sure the service is running.
saricDen avatar
cn flag
Well I tried it after you commented... But yeah I'll check.
saricDen avatar
cn flag
Yeah just ran `systemctl list-units --type=service` and confirmed the service is on the list. Do you think it could be conflicting with something else?
ChanganAuto avatar
us flag
It's possible but a problem with the Bluetooth itself is far more likely. How does it work with other BT peripherals?
saricDen avatar
cn flag
It's worked fine for things like mice and keyboards in the past.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.