#1106848 bluez: Bluetooth speakers don't auto-connect after resume from sleep after upgrade to Trixie

Package:
bluez
Source:
bluez
Description:
Bluetooth tools and daemons
Submitter:
Vuk Mirovic
Date:
2025-05-30 16:01:02 UTC
Severity:
normal
#1106848#5
Date:
2025-05-30 13:39:52 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

   Upgrade from Bookworm to Trixie

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

   I tried changing `ResumeDelay` in /etc/bluetooth/main.conf, but it was not helpful.
   I did not see particular errors that connection is attempted but failed.
   Seems that connection after resume is not even tried.

   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***

#1106848#10
Date:
2025-05-30 15:52:02 UTC
From:
To:
I managed to fix this by creating wireplumber config at
.config/wireplumber/wireplumber.conf.d/99-my-config.conf:


monitor.bluez.rules = [
   {
     matches = [
       {
         ## This matches all bluetooth devices.
         device.name = "~bluez_card.*"
       }
     ]
     actions = {
       update-props = {
         bluez5.auto-connect = [ hfp_hf hsp_hs a2dp_sink hfp_ag hsp_ag
a2dp_source ]
       }
     }
   }
]


Not sure if this is bluez or wireplumber issue then