Thanks to https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/2084963/comments/4 I've been able to manually rebuild the bluez debs with a patch of commit https://github.com/bluez/bluez/commit/366a8c522b648f47147de4852c5c030d69b916b3 and my headphone connection woes have been solved. I'll attach the patch here.
** Patch added: "bluez-fix-address.patch" https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/2085162/+attachment/5834952/+files/bluez-fix-address.patch -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to bluez in Ubuntu. https://bugs.launchpad.net/bugs/2085162 Title: Bluetooth headphones connect erratically Status in alsa-driver package in Ubuntu: Invalid Status in bluez package in Ubuntu: New Bug description: Description of the problem A pair of Sony Sony WH-H900N Bluetooth headphones often refuses to re-connect with a Lenovo V15 G2 ALC laptop. These headphones pair without trouble to a MacBook Pro and an Android phone. Step to reproduce: 1. Put the headphones into discovery mode. 2. Go to Settings -> Bluetooth and connect to the headphones. 3. Reboot the laptop. 4. Go to Settings -> Bluetooth 5. Click on the headphones. 6. Try to connect to the headphones. 7. If step 6. fails try to disconnect. 8. Go to step 6. Expected result: After step 6 for headphones to be connected and for headphones to announce "Bluetooth connected". Actual result: Sometimes the "connected" slider slides back to unconnected. Sometimes the slider remains "on" but the headphones don't announce that they are connected and no headphones appear in sound settings. How reproducible is the problem: Fairly reproducible. It can sometimes takes 30 or more connection attempts before a real connection is established. Version information: Ubuntu 24.10 ProblemType: Bug DistroRelease: Ubuntu 24.10 Package: alsa-base 1.0.25+dfsg-0ubuntu7 ProcVersionSignature: Ubuntu 6.11.0-9.9-generic 6.11.0 Uname: Linux 6.11.0-9-generic x86_64 ApportVersion: 2.30.0-0ubuntu4 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/seq: sitsofe 8130 F.... pipewire /dev/snd/controlC0: sitsofe 8136 F.... wireplumber /dev/snd/controlC1: sitsofe 8136 F.... wireplumber CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Mon Oct 21 21:34:28 2024 InstallationDate: Installed on 2024-10-14 (7 days ago) InstallationMedia: Ubuntu 24.10 "Oracular Oriole" - Release amd64 (20241009.4) MachineType: LENOVO 82KD PackageArchitecture: all SourcePackage: alsa-driver Symptom: audio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 12/13/2021 dmi.bios.release: 1.42 dmi.bios.vendor: LENOVO dmi.bios.version: GLCN42WW dmi.board.asset.tag: No Asset Tag dmi.board.name: LNVNB161216 dmi.board.vendor: LENOVO dmi.board.version: SDK0T76530WIN dmi.chassis.asset.tag: No Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Lenovo V15 G2 ALC dmi.ec.firmware.release: 1.42 dmi.modalias: dmi:bvnLENOVO:bvrGLCN42WW:bd12/13/2021:br1.42:efr1.42:svnLENOVO:pn82KD:pvrLenovoV15G2ALC:rvnLENOVO:rnLNVNB161216:rvrSDK0T76530WIN:cvnLENOVO:ct10:cvrLenovoV15G2ALC:skuLENOVO_MT_82KD_BU_idea_FM_V15G2ALC: dmi.product.family: V15 G2 ALC dmi.product.name: 82KD dmi.product.sku: LENOVO_MT_82KD_BU_idea_FM_V15 G2 ALC dmi.product.version: Lenovo V15 G2 ALC dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/2085162/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp