Page MenuHomeFreeBSD

ietp: Load dummy HID report descriptor if mangled
ClosedPublic

Authored by obiwac on Feb 5 2023, 12:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 7, 2:21 AM
Unknown Object (File)
Thu, May 7, 2:03 AM
Unknown Object (File)
Wed, May 6, 2:05 AM
Unknown Object (File)
Sun, May 3, 5:39 PM
Unknown Object (File)
Apr 21 2026, 8:23 AM
Unknown Object (File)
Mar 8 2026, 4:07 PM
Unknown Object (File)
Mar 8 2026, 10:21 AM
Unknown Object (File)
Mar 8 2026, 6:14 AM
Subscribers

Details

Summary

Some Elantech trackpads have a mangled HID report descriptor, which reads
as having an incorrect input size (i.e. < IETP_REPORT_LEN_LO).
If the input size is incorrect, load a dummy report descriptor.

This was opened as an issue at https://github.com/wulf7/iichid/issues/64

Test Plan

Tested on an Asus C300 Chromebook.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

LGTM.

What string I should set in "Author" git tag?

This revision is now accepted and ready to land.Feb 5 2023, 2:03 PM

Ah yes I forgot to specify sorry, "Aymeric Wibo" :)

This revision was automatically updated to reflect the committed changes.