HomeFreeBSD

hmt(4): Do not require input report HID usages to be a member of TLC

Description

hmt(4): Do not require input report HID usages to be a member of TLC

Some touchpads places button usages (in HID report descriptor) in to
the 2-nd level collection rather than in to the top level one. That
confuses current code. Remove collection level check in HID report
descriptor parser to fix device detection.

Reported by: Peter Much <pmc@citylink.dinoex.sub.org>
PR: 267094

(cherry picked from commit 1d46c8e5c2702c141c6be982b3ca44e74d1cb8f1)

Details

Provenance
wulfAuthored on Nov 2 2023, 6:20 AM
Parents
rGdad62799f5bd: evdev: Sync event codes with Linux kernel 6.5
Branches
Unknown
Tags
Unknown