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

    Bluetooth stopped working on Rpi4

    Scheduled Pinned Locked Moved Help and Support
    bluetoothrpi4ps3controllergamepad
    3 Posts 2 Posters 2.9k 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.
    • X
      xwons
      last edited by

      Hi,

      Yesterday, when I went to pair my (original) PS3 controller, nothing happened. The controller kept blinking but did not connect. I have been using it for several years now without an issue. Same with another ps3 controller.

      So I checked, and it seems that something is wrong with the bluetooth in my RPI4. Using the bluetooth tool in Retropie-Setup, no devices are found.

      If i run hciconfig, this is what I see:

      pi@retropie:~ $ hciconfig
      hci0:	Type: Primary  Bus: UART
      	BD Address: AA:AA:AA:AA:AA:AA  ACL MTU: 1021:8  SCO MTU: 64:1
      	UP RUNNING 
      	RX bytes:4728 acl:0 sco:0 events:263 errors:0
      	TX bytes:6138 acl:0 sco:0 commands:253 errors:0
      

      That mac address does not look normal at all. Same with:

      pi@retropie:~ $ bluetoothctl list
      Controller AA:AA:AA:AA:AA:AA retropie [default]
      

      And if I check the service status:

      pi@retropie:~ $ systemctl status bluetooth.service 
      ● bluetooth.service - Bluetooth service
         Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
         Active: active (running) since Wed 2021-08-11 18:27:14 BST; 12min ago
           Docs: man:bluetoothd(8)
       Main PID: 29915 (bluetoothd)
         Status: "Running"
          Tasks: 1 (limit: 4915)
         CGroup: /system.slice/bluetooth.service
                 └─29915 /usr/lib/bluetooth/bluetoothd --noplugin=sap
      
      Aug 11 18:27:14 retropie systemd[1]: Starting Bluetooth service...
      Aug 11 18:27:14 retropie bluetoothd[29915]: Bluetooth daemon 5.50
      Aug 11 18:27:14 retropie systemd[1]: Started Bluetooth service.
      Aug 11 18:27:14 retropie bluetoothd[29915]: Starting SDP server
      Aug 11 18:27:14 retropie bluetoothd[29915]: Excluding (cli) sap
      Aug 11 18:27:14 retropie bluetoothd[29915]: Bluetooth management interface 1.18 initialized
      Aug 11 18:27:14 retropie bluetoothd[29915]: Failed to set privacy: Rejected (0x0b)
      

      Seems to be running, except for that last "Failed to set privacy: Rejected" message.

      Maybe that is due to some system or firmware update? I regularly run apt-get update and apt-get upgrade, but I had never had issues like that.

      Anyone knows what could be happening?

      X 1 Reply Last reply Reply Quote 1
      • X
        xwons @xwons
        last edited by

        Update: Apparently there was a bluez update that killed bluetooth.

        More info in https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=317364

        To revert to an older version:

        sudo apt install bluez=5.50-1.2~deb10u1+rpt2
        sudo apt show -a bluez
        
        1 Reply Last reply Reply Quote 3
        • mituM mitu pinned this topic on
        • mituM
          mitu Global Moderator
          last edited by mitu

          This issue has been fixed with an RPI OS update for the Bluetooth packages, so the workaround is no longer necessary - an update of the packages/OS is enough.

          You can update the packages as part of RetroPie's update menu or manually with

          sudo apt update
          sudo apt upgrade
          

          The bluez package version that fixes the issue - 5.50-1.2~deb10u2+rpt1.

          1 Reply Last reply Reply Quote 0
          • M moody31415 referenced this topic on
          • M moody31415 referenced this topic on
          • mituM mitu unpinned this topic on
          • 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.