public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [bluez/bluez] e2324f: input/device: Fix off by one report descriptor siz...
@ 2025-12-06  2:51 Andrey Smirnov
  0 siblings, 0 replies; only message in thread
From: Andrey Smirnov @ 2025-12-06  2:51 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/1031026
  Home:   https://github.com/bluez/bluez
  Commit: e2324f7a87cdbc4c4f95882f841e560bd331327a
      https://github.com/bluez/bluez/commit/e2324f7a87cdbc4c4f95882f841e560bd331327a
  Author: Andrey Smirnov <andrew.smirnov@gmail.com>
  Date:   2025-12-06 (Sat, 06 Dec 2025)

  Changed paths:
    M profiles/input/device.c

  Log Message:
  -----------
  input/device: Fix off by one report descriptor size error

Due to the way we handle SDP strings internally BlueZ ends up
including and artifically added 0x00 into the report descriptor it
passes on to UHID. This results in kernel error messages like

[371225.240843] microsoft 0005:045E:02FD.0019: unknown main item tag 0x0

or

[367200.458679] playstation 0005:054C:0CE6.0014: unknown main item tag 0x0

The error is ignored by the kernel's report parser, so this is benign,
but for the sake of correctness, let's not supply bogus data in the
first place.



To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-12-06  2:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-06  2:51 [bluez/bluez] e2324f: input/device: Fix off by one report descriptor siz Andrey Smirnov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox