From: Herwig Hochleitner <hhochleitner@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: apple bluetooth keyboard; bug #13104
Date: Thu, 29 Oct 2009 13:39:32 +0100 [thread overview]
Message-ID: <4AE98D04.50505@gmail.com> (raw)
Hello!
I recently bought the apple aluminium bluetooth keyboard, which is
supported in the kernel by drivers/hid/hid-apple.c
I get the same behaviour as described in
http://bugzilla.kernel.org/show_bug.cgi?id=13104
Ubuntu 9.04; 2.6.30-020630-generic x86_64 (mainline kernel)
First time connect dmesg output:
> apple 0005:05AC:022D.0002: parse failed
> apple: probe of 0005:05AC:022D.0002 failed with error -14
Power cycle the keyboard:
> input: Apple Wireless Keyboard as
/devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1:1.0/bluetooth/hci0/hci0:48/input10
> apple 0005:05AC:022D.0003: input,hidraw1: BLUETOOTH HID v1.40
Keyboard [Apple Wireless Keyboard] on 00:0D:F0:58:04:49
then it works.
I have tracked down the issue to the function hidp_parse() in
net/bluetooth/hidp/core.c
More specifically it tries to read from
hidp_connadd_req *req->rd_data
via copy_from_user() and fails with -EFAULT.
Thoughts:
Why does it only fail the first time?
Where does hid->session->req come from?
Since I have no experience with kernel development yet, I don't know how
to track this further. Any help will be much appreciated.
kind regards
Herwig Hochleitner
reply other threads:[~2009-10-29 12:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4AE98D04.50505@gmail.com \
--to=hhochleitner@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.