Linux bluetooth development
 help / color / mirror / Atom feed
From: Szymon Janc <szymon.janc@codecoup.pl>
To: Thomas Green <TGreen2@sorenson.com>
Cc: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Subject: Re: More keyboard issues
Date: Wed, 31 Jan 2018 10:29:16 +0100	[thread overview]
Message-ID: <5252185.UFqE8F7bMa@ix> (raw)
In-Reply-To: <C2BC44D770753C45AAAC42695FB5BE02012572F769@SLC-EXMB01.CORP.SRELAY.COM>

Hi,

On Saturday, 27 January 2018 01:20:21 CET Thomas Green wrote:
> Hi all,
> 
> I'm testing more keyboards with 5.48 and have found issues with two other
> keyboards.  In this case the problem is during pairing.  The two keyboards
> in question are the SIIG AAZ2448 and the ANKER A7221.   The current issue
> is that during pairing of these two keyboards we are given a PIN code
> display, so I enter it on the keyboard and nothing happens, and eventually
> the pairing times out.
> 
> [bluetooth]# pair 20:73:03:A4:18:4D
> Attempting to pair with 20:73:03:A4:18:4D
> [CHG] Device 20:73:03:A4:18:4D Connected: yes
> [agent] PIN code: 851841
> [Anker A7721]#
> [  282.174342] WARNING: at net/bluetooth/hci_conn.c:322
> hci_conn_timeout+0x44/0x198() Failed to pair:
> org.bluez.Error.AuthenticationTimeout
> [Anker A7721]#
> 
> This happens about 95% of the time.  The other 5% the pairing completes and
> everything works fine.
> 
> I could attach btmon output and output from running bluetoothd -d -n, but
> nothing interesting happens from the time the pincode is displayed and the
> timeout occurs.
> 
> Where do I begin to look for why the pincode isn't being transmitted back
> from the keyboards?  Why is it inconsistent?
> 
> As an interesting side note the Apple keyboard that I'm having the driver
> loading trouble uses the same pairing mechanism and it works well every
> time. (and all of these keyboards worked fine in 4.101)

Get full btmon logs first, ideally from the moment you power on BT adapter.

-- 
pozdrawiam
Szymon Janc



  reply	other threads:[~2018-01-31  9:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-27  0:20 More keyboard issues Thomas Green
2018-01-31  9:29 ` Szymon Janc [this message]
2018-02-01 17:47   ` Thomas Green
2018-02-07 19:48   ` Thomas Green
2018-02-09 14:15     ` Szymon Janc

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=5252185.UFqE8F7bMa@ix \
    --to=szymon.janc@codecoup.pl \
    --cc=TGreen2@sorenson.com \
    --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