No HSP/HFP profiles detected on a specific bluetooth device, after a recent update
I have used my Anker Soundcore A2 Life NC + since the last few months, when the mSBC protocol on Pipewire started working without any hickups. This is on Arch Linux, and I had no problems to use it on handsfree mode for my zoom calls. But, just since the last two days after I updated the system, I am unable to get the bluetooth headset to work. What I see is that the bluetooth menu lists the profiles AAC, SBC, SBC-XQ and no other hsp/hfp profiles. The AAC profile works fine, but when I switch to the SBC or SBC-XQ profile, the device gets disconnected abruptly.
I thought this was because of a strange issue with my config files I used for Pipewire, so I downloaded a Fedora iso (as it has pipewire installed by default) and there everything worked fine, along with the mSBC profile for the handsfree mode. But, I was wrong, as when I updated the system I experienced exactly the same error. And from my logs it seems like it might be an issue with bluetoothd.
Now, the issue is exactly as I described above, and I have the following info from logs. When I initially connect the device I get the following output on Journal logs
Dec 18 15:56:17 fedora systemd[1614]: Started app-gnome-gnome\x2dbluetooth\x2dpanel-2604.scope - Application launched by gnome-shell.
Dec 18 15:57:09 fedora systemd[1614]: Reached target bluetooth.target - Bluetooth.
Dec 18 15:57:17 fedora bluetoothd[857]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
Dec 18 15:57:20 fedora bluetoothd[857]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
Which might somehow link to hsp/hfp protocols not being available for the device. And then, when I try to change the profile from AAC to SBC or SBC-XQ, I have the following message and the device gets disconnected.
Dec 18 16:05:28 fedora bluetoothd[3560]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to 4C:72:74:01:14:D8: Connection reset by peer (104)
Dec 18 16:05:28 fedora bluetoothd[3560]: profiles/audio/avdtp.c:try_send() send: Connection reset by peer (104)
Here is my systeminfo:
# uname -a
Linux fedora 6.0.12-300.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 8 16:58:47 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Installed Packages
bluez.x86_64 5.66-4.fc37
pipewire.x86_64 0.3.63-1.fc37
Bluetooth device:
8087:0029 Intel Corp. AX200 Bluetooth
Downgrading pipewire to the last version using the command: dnf install pipewire-libs-0.3.59-2.fc37.x86_64
, fixed the issue, and everything works as expected. I will be happy to provide any further info to help resolve this issue.
Thank you in advance!