Audio stops shortly after BT profile is changed if this change happens immediately after device is connected.
- PipeWire version (
pipewire --version
): 0.3.43 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Arch Linux - Desktop Environment: SDDM + Awesomewm default config in both
- Kernel version (
uname -r
): 5.16.0-arch1-1 - BlueZ version (
bluetoothctl --version
): 5.63 -
lsusb
:
Bus 004 Device 002: ID 05e3:0620 Genesys Logic, Inc. GL3523 Hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 004: ID 248a:8367 Maxxter Telink Wireless Receiver
Bus 003 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 8087:0029 Intel Corp. AX200 Bluetooth
Bus 001 Device 002: ID 048d:5702 Integrated Technology Express, Inc. ITE Device
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bluetooth devices:
Device 20:74:CF:32:CB:E1 Trekz Air by AfterShokz
Description of Problem:
If I have audio playing, then connect a BT device through A2DP and then change the profile to HSP/HFP in the following 1-2s after the device is connected the headphones get silent (VLC's progressbar keeps going)
To reset it I need to change the profile again.
If I wait longer than 2s after the device is connected to change the profile, it works flawlessly.
Until the audio is silenced, I can hear it in both A2DP (before the switch) and HSP/HFP (after the switch) qualities
How Reproducible:
I can reproduce it almost every time I try, tried with current master too (7c6649b5)
Steps to Reproduce:
- Have audio playing through speakers
- Connect BT device, notice audio playing with A2DP quality
- Change BT profile not 2s after 2, notice audio playing with HSP/HFP quality
Actual Results:
Headphones silent shortly after 3
Expected Results:
Headphones should keep playing (if I wait more than 2s in 3, this is what happens)
Additional Info (as attachments):
The
[D][22568.746033] spa.bluez5.native | [backend-native.c: 1049 rfcomm_event()] RFCOMM << AT+BIA=1,1,1,1
[D][22568.746051] spa.bluez5.native | [backend-native.c: 1073 rfcomm_event()] RFCOMM received unsupported command: AT+BIA=1,1,1,1
[D][22568.746058] spa.bluez5.native | [backend-native.c: 303 rfcomm_send_reply()] RFCOMM >> ERROR
[D][22568.756034] spa.bluez5.native | [backend-native.c: 1049 rfcomm_event()] RFCOMM << AT+CSRSF=0,0,0,1,0,0,0
[D][22568.756051] spa.bluez5.native | [backend-native.c: 1073 rfcomm_event()] RFCOMM received unsupported command: AT+CSRSF=0,0,0,1,0,0,0
[D][22568.756057] spa.bluez5.native | [backend-native.c: 303 rfcomm_send_reply()] RFCOMM >> ERROR
at the end of the log stand out