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)
Sun, Mar 8, 4:07 PM
Unknown Object (File)
Sun, Mar 8, 10:21 AM
Unknown Object (File)
Sun, Mar 8, 6:14 AM
Unknown Object (File)
Sun, Mar 8, 12:31 AM
Unknown Object (File)
Sat, Mar 7, 6:33 PM
Unknown Object (File)
Thu, Mar 5, 7:01 PM
Unknown Object (File)
Feb 8 2026, 3:19 AM
Unknown Object (File)
Feb 7 2026, 9:47 PM
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.