Open lukakama opened 10 months ago
Interesting that copying the interval and latency settings fixes things. This still looks like bluez doesn't propagate these attributes properly to the connection. FWIW, modifying these parameters has been part of the xpadneo documentation but we use a bit more relaxed values so Bluetooth mice and other peripherals would still work correctly.
With fairly recent versions of the kernel (everything from the last 24 months) you should not use disable_ertm any longer because it can cause sticky button inputs or disconnects with rumble.
I'll leave this open to review it and merge into documentation. Please don't close.
FWIW, modifying these parameters has been part of the xpadneo documentation but we use a bit more relaxed values so Bluetooth mice and other peripherals would still work correctly.
Yeah, I was trying to apply them globally, but Bluez config files of Raspberry bullseye are a bit misleading (placeholders into configuration files are not aligned to actual Bluez used ones) and I had difficulties to apply them. Anyway, configuring them for the specific device (as Bluez did by itself with the newer controller, which probably send them during the pairing process), instead of globally, should prevents any possible issue with other devices.
With fairly recent versions of the kernel (everything from the last 24 months) you should not use disable_ertm any longer because it can cause sticky button inputs or disconnects with rumble.
Ah, wasn't aware of that. I will disable it. Thanks for the tip :).
Deferring to v0.11 to investigate RPi compatibility.
Hi, I would like to share that I found a way to pass the initial controller pairing issue at least some type of controllers on a Raspberry Pi 3b+.
Background: I have two wireless controllers, one old Xbox One S (USB type A and missing share button) and a newer Xbox Series X one (with share button and USB type C connector). Both controllers has been updated with latest firmwares. The Raspberry is a 3b+ freshly installed with "bullseye" Lite OS on 12-2023, using the built-in adapter with just "disable_ertm" enabled. The Xbox Series X controller paired without much issues (it struggled to connect the first time, but after a bunch of time it paired successfully), but the Xbox One S one persistently refused to pair (bluetoothctl was reporting a connected status, but he controller was still in pairing mode with the led blinking).
To successfully pair the Xbox One S controller I had to:
Probably it would works also creating the file manually before the first pairing attempt, but I don't know if the format would be different on different versions of Bluez (I didn't found much info about these files).
Maybe this could be added to the Troubleshooting section. I hope that this could be useful to someone.