Skip to contentSkip to conversation

New: [Regression] keyboard doesn't connect after initial pair

Bug 209847 [email protected] 1 participant 4 messages Oct 25, 2020 – Oct 26, 2020 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=209847

Bug ID: 209847
Summary: [Regression] keyboard doesn't connect after initial
pair
Product: Drivers
Version: 2.5
Kernel Version: 5.8
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: Bluetooth
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Regression: No

I have a nRF51 based keyboard running Adafruit Bluefruit LE BLEFRIEND32 firmware version 0.8.1

The host is Intel Bluetooth 9460/9560 Jefferson Peak (JfP) via btusb

With kernel 5.7 (perhaps also 5.8) the laptop pairs and autoconnect to the keyboard without problem.

After upgrading to kernel 5.9 the laptop no longer connects to the already paired keyboard after power up or disconnect.

$ bluetoothctl
[bluetooth]# remove EF:XX:XX:XX:XX:XX
[bluetooth]# scan on
[bluetooth]# pair EF:XX:XX:XX:XX:XX
[BLE Keyboard]# power off
[bluetooth]# power on
[bluetooth]# connect EF:XX:XX:XX:XX:XX
Attempting to connect to EF:XX:XX:XX:XX:XX
Failed to connect: org.bluez.Error.Failed
[bluetooth]#
$ cat /var/log/syslog
Oct 24 20:16:19 host bluetoothd[17090]: src/device.c:att_connect_cb() connect
to EF:XX:XX:XX:XX:XX: Connection refused (111)

I ran git bisect and identified the first bad commit is:

commit 0eee35bdfa3b472cc986ecc6ad76293fdcda59e2 (refs/bisect/bad)

Author: Marcel Holtmann <[email protected]>
Date:   Thu Jul 23 18:08:58 2020 +0530

Bluetooth: Update resolving list when updating whitelist

When the whitelist is updated, then also update the entries of the resolving list for devices where IRKs are available.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#2 lore raw

[Bug 209847] [Regression] keyboard doesn't connect after initial pair

In reply to [email protected]