Bt device in connect/disconnect loop, worked previously

I have a bt keyboard (using a xiao ble nrf52840 controller). this
worked fine on the current computer with tumbleweed till beginning of
september(may be red herring). when i decided to remove the old bt
profiles and repair all my devices…
headphones, mice and keyboard. headphones and mice work as expected no
issues… the only one is the keyboard that refuses to connect or pair.

there is nothing wrong with the keyboard since I can pair it without
issues on another xps laptop (different bt adapter) or my android
phone.

trying to debug but kind of hit a wall since I have little experience
with bt errors.
in logs i see
[ 367.758074] Bluetooth: hci0: unexpected SMP command 0x0b from
e8:77:fb:f9:41:5a
the bt adapter is integrated in the wifi as far as I can say
00:14.3 Network controller [0280]: Intel Corporation Alder Lake-P PCH
CNVi WiFi [8086:51f0] (rev 01)
Subsystem: Intel Corporation Wi-Fi 6E AX211 160MHz [8086:4090]
Kernel driver in use: iwlwifi

the computer itself is an XPS 9320

I also attach a btmon log when I try to pair the keyboard. I see a
timeout event.

kernel is Linux abbaton 6.5.4-1-vanilla #1 SMP PREEMPT_DYNAMIC Wed Sep
20 05:07:04 UTC 2023 (fdd7e9e) x86_64 x86_64 x86_64 GNU/Linux
but on default I get the same behaviour. attached also the full dmesg

for record the working computer is XPS 13 9370 and the adapter
02:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac
Wireless Network Adapter [168c:003e] (rev 32)
Subsystem: Rivet Networks Killer 1435 Wireless-AC [1a56:143a]
Kernel driver in use: ath10k_pci
Kernel modules: ath10k_pci

happy to provide more debug info if needed.
i cleared profiles and other settings on the keyboard bt to exclude
any issues from the keyboard side.

this is a linux only machine so i cannot try other os on it.
btmon log openSUSE Paste
dmesg log openSUSE Paste

Good information.

What kind of OS is that other xps laptop running? Is it also running Tumbleweed?

The brmon log shows nothing wrong until out-of-the-blue:

HCI Event: Disconnect Complete (0x05) plen 4 #39 [hci0] 2.776887
Status: Success (0x00)
Handle: 2048 Address: E8:77:FB:F9:41:5A (Static)
Reason: Connection Timeout (0x08)

No idea what is causing that.

good news cause found and problem solved… long story.

this is on tumbleweed on both xps laptops…
issue seems to be the firmware. I have updated to

i+ | kernel-firmware-bluetooth   | package | 20230918-450.1         | noarch | Kernel builds for branch master (standard)

and no luck…
then I downgraded my bt fw files to kernel-firmware-bluetooth-20230320-150500.1.1.noarch.rpm and jackpot so all is working… so all I need to do now is to report a bug… there is a dicussion with logs and more details on the mailing list.

1 Like