Saturday, 15 January 2022

DualBoot headphone bluetooth connection issue

So my XM3 unable to connect when I change OS at boot (Win10 vs Debian11).

Short version (all in superuser, su or sudo):

$ bluetoothctl
$ devices (this will print macaddresses)
$ remove xx:11:22....
$ service bluetooth restart
 
Description:
Some bluetooth device don't like pairing associated by same MAC address. Remove and repair bluetooth.


Debian Sony XM3 bluetooth connection issue

I installed Debian 11 but sometimes got connection error. Now I provide a simple solution to fix it in case the following:

sap-server: Operation not permitted (1)


At first the SAP stands for SIM Access Profile.


With vim edit "/etc/systemd/system/bluetooth.target.wants/bluetooth.service"

At line ExecStart=/usr/lib/bluetooth/bluetoothd add the following:
--noplugin=sap


Like this:
ExecStart=/usr/lib/bluetooth/bluetoothd --noplugin=sap


Now restart:

$ sudo systemctl daemon-reload
$ sudo service bluetooth restart
$ sudo service bluetooth status



You're becoming a happy user who able to connect to your Sony headphone.


Just a minor update:

For fresh Linux installment you can grab deb or rpm broadcom drivers:

https://github.com/winterheart/broadcom-bt-firmware