[Bug 86931] hid-generic 0005:099A:0500.0001: unknown main item tag 0x0

Started by unknown sender on Jul 19, 2021

open the first message on its own page

Message details and related content
https://bugzilla.kernel.org/show_bug.cgi?id=86931

Kai Krakow (hurikhan77+bko@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hurikhan77+bko@gmail.com
--- Comment #10 from Kai Krakow (hurikhan77+bko@gmail.com) ---
"unknown main tag item 0x0" comes from the HID layer, it has nothing to do with
Bluetooth or connection stability. It's usually a stray NUL character at the
end of the HID descriptor which the kernel safely ignores but still logs. In my
own driver development (xpadneo), I just shorten the HID descriptor by one byte
if it ends with NUL because the devices I work with are known to NUL-terminate
their HID descriptors.

Maybe the kernel should do the same: If the last HID descriptor byte is a
NUL-byte, it should simply shorten the HID descriptor by one byte, essentially
cutting the offending byte off, and the message would be gone. Other than a log
message, it has no consequences in the kernel, it comes from a completely
different layer that's not related to Bluetooth at all.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help