• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

New bluez version breaks PS3 controller pairing

Scheduled Pinned Locked Moved Help and Support
bluezps3 bluetoothbluetooth
9 Posts 5 Posters 1.6k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    saccublenda
    last edited by saccublenda 17 Dec 2023, 11:09

    Hello, I've noticed that the new bluez version 5.50-1.2~deb10u4 breaks the pairing of PS3 controller (other bluetooth controllers pair fine).
    After updating bluez to the new version I tried pairing the PS3 controller in the RetroPie bluetooth menu using the standard procedure:

    1. turn off the controller
    2. connect the controller with a usb cable
    3. select Pair and Connect to Bluetooth Device
    4. unplug the controller, press the PS button and then reconnect
    5. select the PS3 controller to pair
    6. unplug the usb cable upon prompt

    After doing this the leds on the controller keep flashing and the controller is not paired.
    By downgrading bluez to 5.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)

    1 Reply Last reply Reply Quote 1
    • M
      mitu Global Moderator
      last edited by 17 Dec 2023, 15:39

      Do other gamepads pairing works ? Is the bluetooth service started when attempting the pairing ?

      S 1 Reply Last reply 17 Dec 2023, 16:07 Reply Quote 0
      • S
        saccublenda @mitu
        last edited by saccublenda 17 Dec 2023, 16:07

        @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.

        1 Reply Last reply Reply Quote 0
        • L
          lsdninja
          last edited by 18 Dec 2023, 03:18

          Had the same problem and downgrading bluez fixed it here too.

          1 Reply Last reply Reply Quote 0
          • M mitu pinned this topic on 18 Dec 2023, 04:12
          • B
            BuZz administrators
            last edited by 29 Dec 2023, 18:44

            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
            

            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

            1 Reply Last reply Reply Quote 2
            • M
              mitu Global Moderator
              last edited by 12 Jan 2024, 03:58

              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.

              S 1 Reply Last reply 12 Jan 2024, 10:52 Reply Quote 0
              • M mitu unpinned this topic on 12 Jan 2024, 03:58
              • S
                saccublenda @mitu
                last edited by 12 Jan 2024, 10:52

                @mitu Will this work only when updating packages through retropie_setup.sh or also when using apt?

                M 1 Reply Last reply 12 Jan 2024, 12:53 Reply Quote 0
                • M
                  mitu Global Moderator @saccublenda
                  last edited by mitu 1 Dec 2024, 12:54 12 Jan 2024, 12:53

                  @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 to apt/apt-get (i.e. pinning) is automatically taken into account.

                  P 1 Reply Last reply 13 Jan 2024, 20:57 Reply Quote 1
                  • P
                    Pakoach @mitu
                    last edited by 13 Jan 2024, 20:57

                    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/2045931

                    It 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:

                    1. Set ClassicBondedOnly=false in /etc/bluetooth/input.conf
                    2. 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...

                    1 Reply Last reply Reply Quote 1
                    • M mitu referenced this topic on 21 Jan 2024, 11:03
                    • M mitu referenced this topic on 20 Mar 2024, 04:50
                    • First post
                      Last post

                    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.

                      This community forum collects and processes your personal information.
                      consent.not_received