Bluetooth is disconnecting frequently when used with HSP/HFP CVSD or HSP/HFP mSBC codec
- PipeWire version (
pipewire --version
):
pipewire
Compiled with libpipewire 0.3.52
Linked with libpipewire 0.3.52
- Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
):
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal
- Desktop Environment: Yes
- Kernel version (
uname -r
):5.4.0-117-generic
- BlueZ version (
bluetoothctl: 5.64
):
00:00.0 Host bridge: Intel Corporation Device 9b61 (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics (rev 02)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0c)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Comet Lake Thermal Subsytem
00:14.0 USB controller: Intel Corporation Device 02ed
00:14.2 RAM memory: Intel Corporation Device 02ef
00:14.3 Network controller: Intel Corporation Wireless-AC 9462
00:15.0 Serial bus controller [0c80]: Intel Corporation Serial IO I2C Host Controller
00:15.1 Serial bus controller [0c80]: Intel Corporation Comet Lake Serial IO I2C Host Controller
00:16.0 Communication controller: Intel Corporation Comet Lake Management Engine Interface
00:1c.0 PCI bridge: Intel Corporation Device 02b8 (rev f0)
00:1d.0 PCI bridge: Intel Corporation Device 02b0 (rev f0)
00:1d.4 PCI bridge: Intel Corporation Device 02b4 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device 0284
00:1f.3 Audio device: Intel Corporation Device 02c8
00:1f.4 SMBus: Intel Corporation Device 02a3
00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake SPI (flash) Controller
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (10) I219-V
02:00.0 Wireless controller [0d40]: Intel Corporation XMM7360 LTE Advanced Modem (rev 01)
03:00.0 Non-Volatile memory controller: Sandisk Corp Device 5006
05:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
06:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
06:01.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
06:02.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
06:04.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
07:00.0 System peripheral: Intel Corporation JHL6540 Thunderbolt 3 NHI (C step) [Alpine Ridge 4C 2016] (rev 02)
2d:00.0 USB controller: Intel Corporation JHL6540 Thunderbolt 3 USB Controller (C step) [Alpine Ridge 4C 2016] (rev 02)
Description of Problem:
- Using Nothing ear 1 bluetooth headset
- Using HSP/HFP CVSD or mSBC codec while taking call with google meet or zoom
- Bluetooth disconnecting very frequently
Library Protocol Version: 33
Server Protocol Version: 35
Is Local: yes
Client Index: 845
Tile Size: 65472
User Name: tejaskumar
Host Name: tejaskumar
Server Name: PulseAudio (on PipeWire 0.3.52)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: bluez_output.2C_BE_EB_03_EC_E4.headset-head-unit
Default Source: bluez_input.2C_BE_EB_03_EC_E4.headset-head-unit
Cookie: 8cb5:da1c
Syslogs while issue happening
Jun 14 14:24:49 tejaskumar bluetoothd[830]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
Jun 14 14:24:49 tejaskumar kernel: [13575.109188] Bluetooth: hci0: SCO packet for unknown connection handle 257
Jun 14 14:24:50 tejaskumar bluetoothd[830]: src/profile.c:ext_connect() Hands-Free Voice gateway failed connect to 2C:BE:EB:03:EC:E4: Connection refused (111)
Jun 14 14:24:50 tejaskumar kernel: [13576.441067] Bluetooth: hci0: SCO packet for unknown connection handle 0
Jun 14 14:24:50 tejaskumar kernel: [13576.441070] Bluetooth: hci0: SCO packet for unknown connection handle 0
Jun 14 14:24:50 tejaskumar kernel: [13576.451115] Bluetooth: hci0: SCO packet for unknown connection handle 0
Jun 14 14:24:50 tejaskumar kernel: [13576.451129] Bluetooth: hci0: SCO packet for unknown connection handle 0
Jun 14 14:24:50 tejaskumar kernel: [13576.451136] Bluetooth: hci0: SCO packet for unknown connection handle 0
Jun 14 14:24:50 tejaskumar kernel: [13576.451162] Bluetooth: hci0: SCO packet for unknown connection handle 0
How Reproducible:
- Always reproducible
- Even when bluetooth device is idle, disconnect happening at that time as well
Expected Results:
- It should not disconnect every now and then
Additional Info (as attachments):
-
pw-dump > pw-dump.log
: - Bluetooth debug log, see here: