2007-03-21 21:40:36

by Jiri Kosina

[permalink] [raw]
Subject: Re: BUG: at drivers/hid/hid-core.c:778 implement() with bluetooth keyboard/mouse

On Wed, 21 Mar 2007, Kevin Baradon wrote:

> Hello everybody,
> [1.] One line summary of the problem :
> "BUG: at drivers/hid/hid-core.c:778 implement()" message in logs when booting
> with bluetooth keyboard + mouse.
> [2.] Full description of the problem/report :
> During bootup, warnings (see below) are emitted in system log.
> Hardware :
> - P4 3.06MHz
> - Logitech Cordless MX Desktop for Bluetooth (keyboard + mouse with an USB
> bluetooth adapter).

(relevant CCs added)

Hi Kevin,

there have been similar reports previously, all with recent Logitech
dongles. See for example [1].

The bug is triggered by hid2hci when it tries to switch the Bluetooth
dongle from HID to HCI mode. Most probably Logitech has changed the
sequence that is needed to switch the dongle.

hid2hci has hardcoded reports that it uses to switch the dongle between
HID and HCI modes. These reports are vendor-specific and are not described
in report descriptor, therefore it's non-trivial to know what new pieces
of hardware are expecting.

Marcel, did you by any chance have time to look at the dump that Amedee
catched using usbsnoop some time ago? [2]

Thanks.

[1] http://lkml.org/lkml/2007/2/16/215
[2] http://www.mail-archive.com/[email protected]/msg128743.html

--
Jiri Kosina