]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
hmt(4): Do not require input report HID usages to be a member of TLC
authorVladimir Kondratyev <wulf@FreeBSD.org>
Thu, 2 Nov 2023 06:20:20 +0000 (09:20 +0300)
committerVladimir Kondratyev <wulf@FreeBSD.org>
Thu, 2 Nov 2023 06:20:20 +0000 (09:20 +0300)
commit1d46c8e5c2702c141c6be982b3ca44e74d1cb8f1
tree50c22a95d764022f9772934b93dbda51daf2f615
parent87a53bef41fe769920f925e74fedddafd5187b93
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
MFC after: 1 week
sys/dev/hid/hmt.c