4

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.

PABlanche
  • 309
  • 2
  • 6

2 Answers2

15

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 !

HerrCrazi
  • 151
  • 1
  • 3
2

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.

PABlanche
  • 309
  • 2
  • 6