New bluez version breaks PS3 controller pairing
-
Hello, I've noticed that the new
bluez
version5.50-1.2~deb10u4
breaks the pairing of PS3 controller (other bluetooth controllers pair fine).
After updatingbluez
to the new version I tried pairing the PS3 controller in the RetroPie bluetooth menu using the standard procedure:- turn off the controller
- connect the controller with a usb cable
- select
Pair and Connect to Bluetooth Device
- unplug the controller, press the PS button and then reconnect
- select the PS3 controller to pair
- unplug the usb cable upon prompt
After doing this the leds on the controller keep flashing and the controller is not paired.
By downgradingbluez
to5.50-1.2~deb10u3+rpt1
version, the above procedure successfully pairs the controller.Pi Model or other hardware: pi4 4gb
Power Supply used: USB3.0
RetroPie Version Used: 4.8.6
Built From: https://github.com/RetroPie/RetroPie-Setup/releases/download/4.8/retropie-buster-4.8-rpi4_400.img.gz
USB Devices connected: bluetooth dongle
Controller used: 8bitdo sfc30 (bluetooth), PS3 controller DualShock 3 (bluetooth) -
Do other gamepads pairing works ? Is the
bluetooth
service started when attempting the pairing ? -
@mitu said in New bluez version breaks PS3 controller pairing:
Do other gamepads pairing works ?
Yes.
Is the
bluetooth
service started when attempting the pairing ?Didn't check, I assumed it did since pairing works for other controllers.
-
Had the same problem and downgrading bluez fixed it here too.
-
-
For anyone else running into this issue - to downgrade the package:
sudo apt-get install bluez=5.50-1.2~deb10u3+rpt1
and to hold the package to stop it updating in the future
echo "bluez hold" | sudo dpkg --set-selections
-
We've added a configuration pin for the
bluez
packages so that only the RPI originated packages are installed, this way any possible Debian/upstream updates will not overwrite the package.
The pinning is active only for the RaspiOS Buster release and can also install/downgrade the right package even if it was upgraded to the 'broken' version originating from the Debian repository. -
-
@mitu Will this work only when updating packages through
retropie_setup.sh
or also when usingapt
? -
@saccublenda said in New bluez version breaks PS3 controller pairing:
@mitu Will this work only when updating packages through retropie_setup.sh or also when using apt?
Both. RetroPie-Setup uses
apt-get
to update, so any configuration applied toapt
/apt-get
(i.e. pinning) is automatically taken into account. -
Hello,
I had the same issue and found another work around rather than reverting to the previous version.The topic is discussed here:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/2045931It seems that this is intentional will not be changed in future versions.
As mentionned right at the beginning of that post the workaround is the following:- Set ClassicBondedOnly=false in /etc/bluetooth/input.conf
- Run: systemctl restart bluetooth # or reboot
It worked for me.
Maybe its worth digging a little bit more to know what is the more suitable way of handling this new way of working of BlueZ... -
-
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.