Score:0

Bluetooth audio A2DP mode stopped working after 21.10 update

gr flag

After updating to Ubuntu 21.10 that includes pulseaudio 15, my bluetooth headphone could not be set to A2DP anymore. When on this setting, no sound comes out. It is still working with HFP and HSP, but with low quality of course. It was working with A2DP before.

I followed the instruction from the post below that were for 16.04, but when I did that the headphone could not connect with bluetooth anymore: After updating to 16.04, bluetooth audio A2DP mode stopped working

I also followed these instruction but without improvement: Bluetooth Headphones refuse to use A2DP High Quality

Additionally, when the Bluetooth headset receive sound, my Bluetooth mouse is sluggish (has reaction delay). I describe the problem here: Buetooth mouse sluggish when bluetooth headset on

This happens both on Wayland and Xorg sessions.

Score:0
gr flag

Solution: Open sound setting and put the headset on A2DP. Then open pavucontrol and mute/unmute the headset.

And voila it works as it should. I don't know why it was automatically muted in pavucontrol though, and only for A2DP.

Score:0
cn flag

For reference, if @PABlanche's solution does not works for you, you might want to try the following (which did work in my case, on a rather dirty Kubuntu install) :

  1. Purge everything related to bluetooth : sudo apt purge pulseaudio-module-bluetooth bluetooth "bluez-*" bluez

  2. Delete /var/lib/blueman and /var/lib/bluetooth

  3. Reinstall : sudo apt install blueman bluez pulseaudio-module-bluetooth --install-suggests

  4. Re-pair your devices

Et voilà ! You should be able to switch to A2DP in pavucontrol or in your DE's sound settings if it does not automatically selects it.

Source : https://www.reddit.com/r/pop_os/comments/rf4i6h/fix_for_a2dp_bluetooth_audio_on_2110/

Basically, a previous version of bluez created /var/lib/bluetooth/ incorrectly. The bluez version shipped in 21.10 is 5.60 and should create the directory properly. However, if you already have the directory (ie. from a previous pairing), then you will need to delete it first: sudo rm -fr /var/lib/bluetooth/ After removing this directory, I was able to pair with my headphones and use the A2DP Sink (which is so much better than HFP).

Hope it did help !

gan avatar
it flag
gan
This worked perfectly. Thanks!!
Gus avatar
id flag
Gus
This works on Kubuntu, but you have to replace `blueman` with `bluemoon`, and make sure to reinstall `bluez-cups`. Also, for some reason I'm having to do this every few days/weeks... it's like some updates undo the workaround.
fixxxer avatar
bf flag
Worked, super helpful!
Johni Douglas Marangon avatar
nz flag
It worked fine for me on Xubuntu.
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.