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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=86931

Kai Krakow (hurikhan77+bko@xxxxxxxxx) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hurikhan77+bko@xxxxxxxxx

--- Comment #10 from Kai Krakow (hurikhan77+bko@xxxxxxxxx) ---
"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.



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux