Randy,

the underlying issue is quite easy to understand:

All Microsoft Xbox controllers are sending a NUL terminated HID
descriptor block. If we strip it away for those devices, the message is
gone. This is probably true for some other vendors (as reported here for
Apple Magic Mouse).

We are doing it here around these lines to avoid the warning for Xbox 
controllers:
https://github.com/atar-axis/xpadneo/commit/1e6b074506b85d03d2636beca528177f482029b8

So maybe the HID parser should just ignore a single trailing NUL byte
and accept that some device vendors just do that.

OTOH, it may be useful to warn about it, so device developers can
properly fix their HID descriptors. And for that case, rate limiting is
the proper implementation to work around other side effects (like
overwhelming an UART console).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1385113

Title:
  hid-generic 0005:099A:0500.0001: unknown main item tag 0x0

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1385113/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to