Bluetooth headphone frequently reconnects and lost audio

Hello.
inxi -Faz:

System:    Kernel: 5.15.4-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=a383a518-b1a8-4854-b945-db60be044a7b
rw rootflags=subvol=@ quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3
Desktop: KDE Plasma 5.23.3 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 dm: SDDM
Distro: Garuda Linux base: Arch Linux
Machine:   Type: Laptop System: LENOVO product: 20Y7CTO1WW v: ThinkPad E14 Gen 3 serial: <filter> Chassis:
type: 10 serial: <filter>
Mobo: LENOVO model: 20Y7CTO1WW serial: <filter> UEFI: LENOVO v: R1OET28W (1.07 )
date: 07/15/2021
Battery:   ID-1: BAT0 charge: 45.5 Wh (79.5%) condition: 57.2/57.0 Wh (100.4%) volts: 12.4 min: 11.5
model: Sunwoda 5B11C732 type: Li-poly serial: <filter> status: Unknown cycles: 8
CPU:       Info: 8-Core model: AMD Ryzen 7 5700U with Radeon Graphics bits: 64 type: MT MCP arch: Zen 2
family: 17 (23) model-id: 68 (104) stepping: 1 microcode: 8608103 cache: L2: 4 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 57492
Speed: 1837 MHz min/max: 1400/1800 MHz boost: enabled Core speeds (MHz): 1: 1837 2: 1397
3: 1705 4: 1479 5: 2034 6: 1632 7: 2360 8: 2175 9: 1404 10: 1657 11: 1419 12: 1575 13: 2683
14: 2644 15: 2196 16: 2274
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:  Device-1: AMD Lucienne vendor: Lenovo driver: amdgpu v: kernel bus-ID: 04:00.0
chip-ID: 1002:164c class-ID: 0300
Device-2: Chicony Integrated Camera type: USB driver: uvcvideo bus-ID: 1-3:2 chip-ID: 04f2:b725
class-ID: fe01 serial: <filter>
Display: x11 server: X.Org 1.21.1.1 compositor: kwin_x11 driver: loaded: amdgpu,ati
unloaded: modesetting alternate: fbdev,vesa display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9")
Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 158 size: 309x174mm (12.2x6.9") diag: 355mm (14")
OpenGL: renderer: AMD RENOIR (DRM 3.42.0 5.15.4-zen1-1-zen LLVM 13.0.0) v: 4.6 Mesa 21.2.5
direct render: Yes
Audio:     Device-1: AMD vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 04:00.1 chip-ID: 1002:1637
class-ID: 0403
Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo driver: N/A
alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x bus-ID: 04:00.5 chip-ID: 1022:15e2
class-ID: 0480
Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel
bus-ID: 04:00.6 chip-ID: 1022:15e3 class-ID: 0403
Sound Server-1: ALSA v: k5.15.4-zen1-1-zen running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: no
Sound Server-4: PipeWire v: 0.3.40 running: yes
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169
v: kernel port: 3000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp2s0 state: down mac: <filter>
Device-2: Realtek vendor: Lenovo driver: rtw89_pci v: N/A modules: rtw89pci port: 2000
bus-ID: 03:00.0 chip-ID: 10ec:8852 class-ID: 0280
IF: wlp3s0 state: up mac: <filter>
Bluetooth: Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8 bus-ID: 3-4:2
chip-ID: 0bda:4852 class-ID: e001 serial: <filter>
Report: bt-adapter ID: hci0 rfk-id: 1 state: up address: <filter>
Drives:    Local Storage: total: 476.94 GiB used: 154.76 GiB (32.4%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZALQ512HBLU-00BL1 size: 476.94 GiB
block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: 6L1QFXM7 temp: 28.9 C scheme: GPT
Partition: ID-1: / raw-size: 80 GiB size: 80 GiB (100.00%) used: 13.35 GiB (16.7%) fs: btrfs
dev: /dev/nvme0n1p4 maj-min: 259:4
ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%) used: 29.5 MiB (30.8%) fs: vfat
dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 150 GiB size: 150 GiB (100.00%) used: 6.54 GiB (4.4%) fs: btrfs
dev: /dev/nvme0n1p5 maj-min: 259:5
ID-4: /var/log raw-size: 80 GiB size: 80 GiB (100.00%) used: 13.35 GiB (16.7%) fs: btrfs
dev: /dev/nvme0n1p4 maj-min: 259:4
ID-5: /var/tmp raw-size: 80 GiB size: 80 GiB (100.00%) used: 13.35 GiB (16.7%) fs: btrfs
dev: /dev/nvme0n1p4 maj-min: 259:4
Swap:      Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 13.54 GiB used: 2.2 MiB (0.0%) priority: 100 dev: /dev/zram0
Sensors:   System Temperatures: cpu: 47.0 C mobo: N/A gpu: amdgpu temp: 44.0 C
Fan Speeds (RPM): fan-1: 0
Info:      Processes: 358 Uptime: 13m wakeups: 1 Memory: 13.54 GiB used: 2.47 GiB (18.2%) Init: systemd
v: 249 tool: systemctl Compilers: gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 1385 lib: 343
Shell: fish v: 3.3.1 default: Bash v: 5.1.8 running-in: konsole inxi: 3.3.08

I have read the ArchWiki's Bluetooth page for the help, and I can confirm that the problem was caused by dual-booting and connecting my bluetooth headset to both of them. If the outputs are needed, please reply and I'll post them out.

I've followed the dual-boot instructions in the ArchWiki, but the problem turns into Connection refused (111) after I changed the key, rebooted and wants to connect to the headset. This is the journal output:

╭─jing@Jinglebell in ~ took 40ms
[] × journalctl -b | grep bluetooth
Nov 23 02:20:02 Jinglebell kernel: thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is unblocked
Nov 23 02:20:03 Jinglebell audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=bluetooth-autoconnect comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=?
terminal=? res=success'
Nov 23 02:20:03 Jinglebell bluetoothd[624]: Bluetooth daemon 5.62
Nov 23 02:20:03 Jinglebell audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=bluetooth comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? r
es=success'
Nov 23 02:20:03 Jinglebell bluetoothd[624]: Starting SDP server
Nov 23 02:20:03 Jinglebell dbus-daemon[625]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.2' (uid=
0 pid=624 comm="/usr/lib/bluetooth/bluetoothd ")
Nov 23 02:20:03 Jinglebell bluetoothd[624]: Bluetooth management interface 1.21 initialized
Nov 23 02:20:03 Jinglebell NetworkManager[626]: <info>  [1637605203.1618] Loaded device plugin: NMBluezManager (/usr/lib/NetworkManager/1.32.12-1/libnm-device-plugin-bluetooth.so)
Nov 23 02:20:29 Jinglebell bluetoothd[624]: Player registered: sender=:1.51 path=/media_player0
Nov 23 02:20:29 Jinglebell bluetoothd[624]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/A2DPSource/ldac
Nov 23 02:20:29 Jinglebell bluetoothd[624]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/A2DPSink/aptx_hd
Nov 23 02:20:29 Jinglebell bluetoothd[624]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/A2DPSource/aptx_hd
Nov 23 02:20:29 Jinglebell bluetoothd[624]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/A2DPSink/aptx
Nov 23 02:20:29 Jinglebell bluetoothd[624]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/A2DPSource/aptx
Nov 23 02:20:29 Jinglebell bluetoothd[624]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/A2DPSource/aac
Nov 23 02:20:29 Jinglebell bluetoothd[624]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/A2DPSink/sbc
Nov 23 02:20:29 Jinglebell bluetoothd[624]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/A2DPSource/sbc
Nov 23 02:20:29 Jinglebell bluetoothd[624]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/A2DPSink/sbc_xq
Nov 23 02:20:29 Jinglebell bluetoothd[624]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/A2DPSource/sbc_xq
Nov 23 02:20:29 Jinglebell bluetoothd[624]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/A2DPSource/faststream
Nov 23 02:20:29 Jinglebell bluetoothd[624]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/A2DPSource/faststream_duplex
Nov 23 02:20:29 Jinglebell bluetoothd[624]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/A2DPSource/aptx_ll_1
Nov 23 02:20:29 Jinglebell bluetoothd[624]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/A2DPSource/aptx_ll_0
Nov 23 02:20:29 Jinglebell bluetoothd[624]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
Nov 23 02:20:29 Jinglebell bluetoothd[624]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
Nov 23 02:20:29 Jinglebell bluetooth-autoconnect[623]: connecting to device /org/bluez/hci0/dev_FC_58_FA_FA_8F_96
Nov 23 02:20:30 Jinglebell bluetoothd[624]: src/profile.c:ext_connect() Hands-Free Voice gateway failed connect to FC:58:FA:FA:8F:96: Connection refused (111)
Nov 23 02:20:31 Jinglebell bluetoothd[624]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to FC:58:FA:FA:8F:96: Connection refused (111)
Nov 23 02:20:31 Jinglebell bluetooth-autoconnect[623]: error connecting to device /org/bluez/hci0/dev_FC_58_FA_FA_8F_96: br-connection-unknown
Nov 23 02:20:33 Jinglebell bluetoothd[624]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to FC:58:FA:FA:8F:96: Connection refused (111)
Nov 23 02:20:44 Jinglebell bluetoothd[624]: src/profile.c:ext_connect() Hands-Free Voice gateway failed connect to FC:58:FA:FA:8F:96: Connection refused (111)
Nov 23 02:20:44 Jinglebell bluetoothd[624]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to FC:58:FA:FA:8F:96: Connection refused (111)
Nov 23 02:20:53 Jinglebell bluetoothd[624]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to FC:58:FA:FA:8F:96: Connection refused (111)
Nov 23 02:21:59 Jinglebell bluetoothd[624]: src/profile.c:ext_connect() Hands-Free Voice gateway failed connect to FC:58:FA:FA:8F:96: Connection refused (111)
Nov 23 02:21:59 Jinglebell bluetoothd[624]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to FC:58:FA:FA:8F:96: Connection refused (111)
Nov 23 02:22:01 Jinglebell bluetoothd[624]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to FC:58:FA:FA:8F:96: Connection refused (111)

Any help or advice is appreciated.

So apparently I need to remove the device and reconnect it again to make it work and not disconnecting like every 5 seconds. But now I only get those low-quality audio profiles.

And apparently there is something to do with pipewire, but I need to turn these into pipewire commands. Does anyone knows that?

I was just trippin' away one day while dual-booting Arch and Windows when I noticed I no longer had Bluetooth capability. In either OS. Something had switched it off. Some hardware detector thingee, I guess.

In order to fix the issue permanently, I had to go into my BIOS and change the Fastboot option from Minimal to Thorough. That let the BT hardware be re-acquired in Linux & Windows.

I'm not the only person to have this happen. I'm also not the only person that needed to use this 'fix.'

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.