Re: BUG: at drivers/hid/hid-core.c:778 implement() with bluetoothkeyboard/mouse

From: Jiri Kosina
Date: Wed Mar 21 2007 - 17:41:18 EST


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/linux-kernel@xxxxxxxxxxxxxxx/msg128743.html

--
Jiri Kosina
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/