Check out our Monthly Survey Page to see what our users are running.
Can't pair Microsoft Xbox Wireless Controller
MaximB Jun 26
Hi,

I bought the Microsoft Xbox Wireless Controller,
Installed the xboxdrv driver
I also installed sysfsutils and added to the file /etc/sysfs.conf the line:
/module/bluetooth/parameters/disable_ertm=1
(as it was suggested by some guide)
I even installed xpadneo

However when I try to connect to the device, I get an error: "Connection Failed: le-connection-abort-by-local":

maxim@Maxim-HQ:~/Games/xpadneo$ sudo bluetoothctl
Agent registered
[bluetooth]# scan on
Discovery started
[CHG] Controller 50:EB:71:XX:XX:XX Discovering: yes
[NEW] Device A8:8C:3E:XX:XX:XX Xbox Wireless Controller
[bluetooth]# scan off
Discovery stopped
[CHG] Device A8:8C:3E:XX:XX:XX RSSI is nil
[CHG] Controller 50:EB:71:77:F3:48 Discovering: no
[bluetooth]# pair A8:8C:3E:XX:XX:XX
Attempting to pair with A8:8C:3E:XX:XX:XX
[CHG] Device A8:8C:3E:XX:XX:XX Connected: yes
Failed to pair: org.bluez.Error.ConnectionAttemptFailed
[CHG] Device A8:8C:3E:XX:XX:XX Connected: no
[DEL] Device A8:8C:3E:XX:XX:XX Xbox Wireless Controller


How can I fix it?
Top
Liam Dawe Jun 26
You will likely first need to update the firmware.
Pengling Jun 26
Liam's got it - these should work out-of-the-box on Mint (at least in my experience on Mint Xfce), without you needing to install anything, as long as they're updated.

Updating them is the trick, though - I had to take mine to the house of a relative who has an Xbox!
MaximB Jun 26
I used the Windows Laptop I got from my last job and updated the Xbox controller,
But still have the very same issue.
Liam Dawe Jun 26
Quoting: MaximBI used the Windows Laptop I got from my last job and updated the Xbox controller,
But still have the very same issue.
Does it pair correctly without issue under Windows?
MaximB Jun 26
Quoting: Liam Dawe
Quoting: MaximBI used the Windows Laptop I got from my last job and updated the Xbox controller,
But still have the very same issue.
Does it pair correctly without issue under Windows?

Yes, it recognizes the controller and connects to it.
It's a new device that I bought today.
Liam Dawe Jun 26
Just noticed you used xboxdrv, that's discontinued. As the GitHub notes "xboxdrv is discontinued, use the kernel driver". Trying to use that is probably part of your issue.
MaximB Jun 26
Quoting: Liam DaweJust noticed you used xboxdrv, that's discontinued. As the GitHub notes "xboxdrv is discontinued, use the kernel driver". Trying to use that is probably part of your issue.

Thanks,

I removed xboxdrv, rebooted the machine, but still the same issue.

What about the change I made to /etc/sysfs.conf:
/module/bluetooth/parameters/disable_ertm=1
Is it still relevant?

Also I added "Y" to:
/sys/module/bluetooth/parameters/disable_ertm
(which is basically the same thing as before, but from different guide)
Liam Dawe Jun 26
Not entirely sure myself, but on most modern distros you don't need to do anything, just update and then pair.
Pengling Jun 26
Quoting: MaximBWhat about the change I made to /etc/sysfs.conf:
/module/bluetooth/parameters/disable_ertm=1
Is it still relevant?

Also I added "Y" to:
/sys/module/bluetooth/parameters/disable_ertm
(which is basically the same thing as before, but from different guide)
Try reverting that and see if it helps. The reason guides mention it is because some Bluetooth chipsets need that feature disabled to pair this type of controller, if memory serves (it's been a while now).

Last edited by Pengling on 26 June 2024 at 5:37 pm UTC
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register


Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.