public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: linux-bluetooth@vger.kernel.org
Subject: [Bug 209847] New: [Regression] keyboard doesn't connect after initial pair
Date: Sun, 25 Oct 2020 13:36:42 +0000	[thread overview]
Message-ID: <bug-209847-62941@https.bugzilla.kernel.org/> (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: linux-bluetooth@vger.kernel.org
          Reporter: kanru.kernel@kanru.info
                CC: marcel@holtmann.org
        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 <marcel@holtmann.org>
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.

    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    Signed-off-by: Sathish Narsimman <sathish.narasimman@intel.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>

-- 
You are receiving this mail because:
You are the assignee for the bug.

             reply	other threads:[~2020-10-25 13:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-25 13:36 bugzilla-daemon [this message]
2020-10-25 13:37 ` [Bug 209847] [Regression] keyboard doesn't connect after initial pair bugzilla-daemon
2020-10-25 13:52 ` bugzilla-daemon
2020-10-26  1:46 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-209847-62941@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox