Re: Boot time Bluetooth BUG: warning: (value > m) at hid-core.c:793

From: Jiri Kosina
Date: Thu Feb 22 2007 - 05:47:12 EST


On Thu, 22 Feb 2007, Veronique & Vincent wrote:

> > > - report descriptor dump - seems to be missing in the output (it
> > > should read something like "hid-core.c: report descriptor (size
> > > XY, read YZ) = ... some hexadecimal numbers". This should be
> > > output by the time the HID device is connected.
> The full dmesg with define DEBUG was included in the original message. Unless
> something else was needed?

Unfortunately it was missing the report descriptor dump. The output should
look like

drivers/usb/input/hid-core.c: report descriptor (size 59, read 59) = 05 01
09 06 a1 01 05 07 19 e0 29 e7 15 00 25 01 75 01 95 08 81 02 81 03 95 05 05
08 19 01 29 05 91 02 95 01 75 03 91 01 95 06 75 08 15 00 26 a4 00 05 07 19
00 2a a4 00 81 00 c0

and it should appear as soon as you connect the device. If it didn't, I
suspect that the

#define DEBUG_DATA

was not set properly in drivers/usb/input/hid-core.c (only defining DEBUG
is not enough for report descriptor dump to appear).

> I was actually getting that on a stock FC6 kernel. The dmesg output
> comes from a recompiled vanilla 2.6.19.x with the exact same
> configuration BUT the modified define's in hid-core.c and a local
> version appended to the .config file. So this BUG does not only affect
> FC6 users but also the vanilla kernel.

But so far all reports that have gathered for this bug at me seem to come
from FC6 ... does hid2hci by any chance in FC6 have any additional patches
that could be causing it, instead of being a kernel issue?

Thanks,

--
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/