Score:0

Bluetooth headphones disconnect immediately

fr flag

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

us flag
Same problem here with Kububuntu 21.10. Sometimes I've gotten the connection to hold, but I still can't switch the output over to it. Bluetooth doesn't show up as an output device in pavucontrol (volume control), which is where I would normally switch the audio from the computer's speakers to my headphones.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.