All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: linux-bluetooth@vger.kernel.org
Subject: [Bug 86931] hid-generic 0005:099A:0500.0001: unknown main item tag 0x0
Date: Mon, 19 Jul 2021 06:58:32 +0000	[thread overview]
Message-ID: <bug-86931-62941-vSRpnrQCgI@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-86931-62941@https.bugzilla.kernel.org/>

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.

  parent reply	other threads:[~2021-07-19  6:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-86931-62941@https.bugzilla.kernel.org/>
2016-03-30 17:53 ` [Bug 86931] hid-generic 0005:099A:0500.0001: unknown main item tag 0x0 bugzilla-daemon
2018-01-12  9:21 ` bugzilla-daemon
2018-01-12 17:26 ` bugzilla-daemon
2019-01-30 18:27 ` bugzilla-daemon
2020-10-30 10:05 ` bugzilla-daemon
2021-01-08 14:31 ` bugzilla-daemon
2021-07-18 10:47 ` bugzilla-daemon
2021-07-19  6:58 ` bugzilla-daemon [this message]
2024-02-22 12:18 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-86931-62941-vSRpnrQCgI@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.