From: Johan Hedberg <johan.hedberg@gmail.com>
To: Bastien Nocera <hadess@hadess.net>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: Surface 3 Pen (BLE HID) not sending events
Date: Wed, 18 Oct 2017 14:16:11 +0300 [thread overview]
Message-ID: <20171018111611.GA8301@x1c.lan> (raw)
In-Reply-To: <1508258502.5910.68.camel@hadess.net>
Hi Bastien,
On Tue, Oct 17, 2017, Bastien Nocera wrote:
> The Surface 3 pen (part of the 2nd generation of Surface pens[1]) uses
> Bluetooth LE for its top button, which one can assign to a function,
> usually a note taking application on Windows.
>
> After pairing, bluez throws away all the characteristics, UUIDs and
> other properties it gathered[2].
>
> Subsequent attempts at pressing the pen button just throws a wobbly[3].
>
> Any ideas? This apparently used to work, and there's some very hacky
> solutions for those devices:
Do you happen to have a btmon log of the pairing? The reason could e.g.
be that the device doesn't set the bonding flag (in which case our
discarding of information is at least specification-wise correct). The
HCI log you posted seems to be a reconnection when pairing has already
happened. Also, please avoid using hcidump since it does a worse job of
decoding stuff (especially newer protocol features).
Johan
prev parent reply other threads:[~2017-10-18 11:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-17 16:41 Surface 3 Pen (BLE HID) not sending events Bastien Nocera
2017-10-18 11:04 ` Luiz Augusto von Dentz
2017-10-18 11:16 ` Johan Hedberg [this message]
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=20171018111611.GA8301@x1c.lan \
--to=johan.hedberg@gmail.com \
--cc=hadess@hadess.net \
--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;
as well as URLs for NNTP newsgroup(s).