HomeFreeBSD

hmt(4): Add support for touchpads with no "button type" or

Description

hmt(4): Add support for touchpads with no "button type" or

"maximum number of contacts" usages.

Assume touchpad to be a clickpad if it has only internal button.
Set number of contacts to 5 for touchpads and to 10 for touchscreens.
Check for fetched report length to avoid reading of stalled data.
Fixes Dell Precision 7550 laptop.

Tested by: Shawn Webb <shawn.webb_AT_hardenedbsd_DOT_org>
PR: 257992

(cherry picked from commit 9d04336b615d16faa631da2824ee719683540276)

Details

Provenance
wulfAuthored on Sep 2 2021, 7:33 PM
Parents
rGd4a977ce186c: hpen(4): Add support for legacy MS-compatible single touch protocol
Branches
Unknown
Tags
Unknown