Ubuntu 22.10 - No sound in "headphone device" on Airpods pro 2

Asked by Quentin

Hello,

Context:
Ubuntu 22.10
5.19.0-32-generic

I upgraded from Ubuntu 22.04 to 22.10 to try out pipewire.
Unfortunately it seems that it messed up with my bluetooth device.

My Airpods pro 2 shows up as two devices in my sound settings:
- Handsfree (audio & mic)
- Headphone (audio only)

Headphone, it used to work perfectly (no mic though), but since 22.10, I can't get any sound from it. If I switch profile I'll get audio for a millisecond and then nothing.

Handsfree worked in the past and still work, the sound is quite compressed. Since pipewire I seem to have access to a new profile, but it's still painful to listen to anything else than voice with it.

On Headphone I can see 3 profiles
- High Fidelity Playback (A2DP Sink, codec SBC)
- High Fidelity Playback (A2DP Sink, codec SBC-XQ)
- High Fidelity Playback (A2DP Sink)
I can't select the last one.

On Handsfree
- Headset Head Unit (HSP/HFP, codec CVSD)
- Headset Head Unit (HSP/HFP, codec mSBC)
- Headset Head Unit (HSP/HFP)
Again can't select the last one.

I would like to be able to use the High Fidelity Playback again but I can't really understand where it fails.

When switching to the Headphone device I get the following in journalctl
Mar 01 21:12:15 lapbios acpid[1277]: input device has been disconnected, fd 27
Mar 01 21:12:15 lapbios kernel: Bluetooth: hci0: SCO packet for unknown connection handle 257
Mar 01 21:12:15 lapbios kernel: Bluetooth: hci0: SCO packet for unknown connection handle 257
Mar 01 21:12:15 lapbios kernel: input: qq (AVRCP) as /devices/virtual/input/input49

From my searches, some people recommended to install the following package libspa-0.2-bluetooth, but no luck it was already installed.

I'd be glad to provide you with more logs and details.
Thanks for your help!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Jocelyn
Solved:
Last query:
Last reply:
Revision history for this message
Quentin (freebioss) said :
#1

I tested a Sony XM5 and I can get both Handsfree and Headset devices to work.

Headset's profiles
- High Fidelity Playback (A2DP Sink, codec SBC)
- High Fidelity Playback (A2DP Sink, codec SBC-XQ)
- High Fidelity Playback (A2DP Sink)
The two first works and I can't select the last one.

Handsfree's profiles
- Headset Head Unit (HSP/HFP, codec CVSD)
- Headset Head Unit (HSP/HFP, codec mSBC)
- Headset Head Unit (HSP/HFP)
Same, the two first works and I can't select the last one.

This might be an issue specific to apple devices.

Revision history for this message
Best Jocelyn (jocel1) said (last edit ):
#2

Hi Quentin, if you add this repository https://launchpad.net/~aglasgall/+archive/ubuntu/pipewire-extra-bt-codecs and then do apt update/upgrade you should get a new profile with AAC, and that should work

Revision history for this message
Quentin (freebioss) said (last edit ):
#3

Thanks Jocelyn Rondeau, that solved my question.

I now have AAC profile that works with this device !