I have Sony WH1000XM3 headphones which used to run fine on Ubuntu 20.04. I ran a few updates earlier this week and this seems to have messed up with my bluetooth settings. Headphones work fine with my cellphone.
Here are the messages from journalctl
corresponding to the event when the headphones connect and then immediately disconnect:
Dec 01 00:00:45 nb-moran-01 blueman-applet[10990]: gi.repository.GLib.GError: g-io-error-quark: An object is already exported for the interface org.bluez.Agent1 at /org/bluez/agent/blueman (2)
Dec 01 00:00:45 nb-moran-01 blueman-applet[10990]: File "/usr/lib/python3/dist-packages/blueman/main/DbusService.py", line 85, in register
Dec 01 00:00:45 nb-moran-01 blueman-applet[10990]: File "/usr/lib/python3/dist-packages/blueman/main/applet/BluezAgent.py", line 98, in register_agent
Dec 01 00:00:45 nb-moran-01 blueman-applet[10990]: File "/usr/lib/python3/dist-packages/blueman/plugins/applet/AuthAgent.py", line 22, in on_manager_state_changed
Dec 01 00:00:45 nb-moran-01 blueman-applet[10990]: File "/usr/lib/python3/dist-packages/blueman/main/PluginManager.py", line 207, in run
Dec 01 00:00:45 nb-moran-01 blueman-applet[10990]: Traceback (most recent call last):
Dec 01 00:00:45 nb-moran-01 blueman-applet[10990]: blueman-applet 00.00.45 ERROR PluginManager:210 run : Function on_manager_state_changed on AuthAgent failed
And here are the infos from systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2021-12-01 00:00:45 GMT; 3min 23s ago
Docs: man:bluetoothd(8)
Main PID: 18695 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 17997)
Memory: 1.8M
CGroup: /system.slice/bluetooth.service
└─18695 /usr/lib/bluetooth/bluetoothd
Dec 01 00:00:45 nb-moran-01 systemd[1]: Starting Bluetooth service...
Dec 01 00:00:45 nb-moran-01 bluetoothd[18695]: Bluetooth daemon 5.53
Dec 01 00:00:45 nb-moran-01 systemd[1]: Started Bluetooth service.
Dec 01 00:00:45 nb-moran-01 bluetoothd[18695]: Starting SDP server
Dec 01 00:00:45 nb-moran-01 bluetoothd[18695]: Bluetooth management interface 1.14 initialized
Dec 01 00:00:45 nb-moran-01 bluetoothd[18695]: Failed to set privacy: Rejected (0x0b)
Dec 01 00:00:45 nb-moran-01 bluetoothd[18695]: Endpoint registered: sender=:1.216 path=/MediaEndpoint/A2DPSink/sbc
Dec 01 00:00:45 nb-moran-01 bluetoothd[18695]: Endpoint registered: sender=:1.216 path=/MediaEndpoint/A2DPSource/sbc
So far I have tried reinstalling bluez, but without any success. I have no idea what the problem may be.
also lsb_release
output
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
Thanks in advance