You are not logged in.

#1 2022-07-24 14:29:13

davidm
Member
Registered: 2009-04-25
Posts: 371

Anyone else having lots of Bluetooth headset reconnection issues?

Headset: Sony WH-XB910N
Kernel:  Both regular arch kernel and 5.15.35-1-lts #1 SMP (LTS)
bluez-5.64-2
pipewire-1:0.3.50-1
wireplumber-0.4.9-1


My bluetooth headset will connect fine initially but the problem occurs when I try to reconnect it.  About 75% of the time the headset will act like it is paired but no headset output or anything appears in the KDE panel and audio is still set to the regular line out.

It used to work great until a recent update a few months back.  The first thing I tried was switching to pipewire but it does the same thing as under pulseaudio.

Sometimes issuing 'systemctl restart bluetooth.service' helps but usually not.  What seems to work most of the time is completely logging out and then logging back in (very annoying to have to do).

Here are some entries from the journal I found.  This is from turning bluetooth back on and then turning on the headset to recconnect it.  It then acts like it is connected within the headset and a notification pops up showing the headset is connected on KDE and it even shows my headset in the tray but no sound actually comes out.

Jul 24 10:23:25 t3600 plasmashell[1047]: qml: temp unit: 0
Jul 24 10:23:22 t3600 plasmashell[1047]: qml: temp unit: 0
Jul 24 10:23:21 t3600 plasmashell[1047]: org.kde.plasma.pulseaudio: No object for name "bluez_output.90_7A_58_77_12_E1.headset-head-unit"
Jul 24 10:23:21 t3600 plasmashell[1047]: org.kde.plasma.pulseaudio: No object for name "bluez_input.90_7A_58_77_12_E1.headset-head-unit"
Jul 24 10:23:21 t3600 plasmashell[1047]: org.kde.plasma.pulseaudio: No object for name "bluez_output.90_7A_58_77_12_E1.headset-head-unit"
Jul 24 10:23:21 t3600 plasmashell[1047]: org.kde.plasma.pulseaudio: No object for name "bluez_output.90_7A_58_77_12_E1.a2dp-sink"
Jul 24 10:23:21 t3600 plasmashell[1047]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:22: TypeError: Cannot read property 'devices' of undefined
Jul 24 10:23:21 t3600 dbus-daemon[819]: [system] Rejected send message, 0 matched rules; type="method_return", sender=":1.52" (uid=1000 pid=1078 comm="/usr/bin/wireplumber") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.78>
Jul 24 10:23:19 t3600 plasmashell[1047]: qml: temp unit: 0
Jul 24 10:23:16 t3600 plasmashell[1047]: qml: temp unit: 0
Jul 24 10:23:15 t3600 bluetoothd[261092]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for 90:7A:58:77:12:E1: Device or resource busy
Jul 24 10:23:14 t3600 bluetoothd[261092]: profiles/audio/avdtp.c:session_cb() No pending request, ignoring message
Jul 24 10:23:14 t3600 plasmashell[1047]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:22: TypeError: Cannot read property 'devices' of undefined
Jul 24 10:23:13 t3600 plasmashell[1047]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:22: TypeError: Cannot read property 'devices' of undefined
Jul 24 10:23:12 t3600 kernel: audit: type=1131 audit(1658672592.454:172): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 24 10:23:12 t3600 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 24 10:23:12 t3600 systemd[1]: systemd-rfkill.service: Deactivated successfully.
Jul 24 10:23:07 t3600 plasmashell[1047]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:22: TypeError: Cannot read property 'devices' of undefined
Jul 24 10:23:07 t3600 kernel: audit: type=1130 audit(1658672587.444:171): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 24 10:23:07 t3600 plasmashell[1047]: kf.bluezqt: PendingCall Error: ""
Jul 24 10:23:07 t3600 plasmashell[1047]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:22: TypeError: Cannot read property 'devices' of undefined
Jul 24 10:23:07 t3600 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 24 10:23:07 t3600 systemd[1]: Started Load/Save RF Kill Switch Status.
Jul 24 10:23:07 t3600 systemd[1]: Starting Load/Save RF Kill Switch Status...
Jul 24 10:23:07 t3600 plasmashell[1047]: file:///usr/lib/qt/qml/org/kde/plasma/extras/PlaceholderMessage.qml:222:5: QML Heading: Binding loop detected for property "verticalAlignment"

Note this variation is actually more rare.  Usually what happens when it fails is that no headset output at all appears in the tray and it stays on "line out".

Note: the headset connects fine and works fine when initially connected.  The only problem is after disconnecting or turning it off.

Last edited by davidm (2022-07-24 14:33:29)

Offline

#2 2022-07-25 07:23:53

libgradev
Member
From: Wandering the Wilds
Registered: 2012-02-23
Posts: 35

Re: Anyone else having lots of Bluetooth headset reconnection issues?

Try updating (pipewire 1:0.3.54-1 / wireplumber 0.4.11-1). I had this recently - and seem to periodically - but it's currently stable with my bluetooth speaker...


ASRock TRX40 Creator B1.70 | AMD TR3970X | 64GB G.Skill Trident Z | AMD RX 6900XT 16GB / AMD RX 6800XT 16GB (VFIO) | Samsung CRG90 | BENQ 1080p (portrait) | 1x Samsung 850 EVO 1TB | 2x Samsung 960 EVO NVMe | 5x WD Red 4TB (RAID6) | Corsair MP600 Force 500GB  + 8GB Seagate (store) | Sennheiser MOMENTUM 3 | Roccat KoneXTD Optical

Offline

Board footer

Powered by FluxBB