HomeFreeBSD

psm(4): Add extra sanity checks to Elantech trackpoint packet parser.

Description

psm(4): Add extra sanity checks to Elantech trackpoint packet parser.

Add strict checks for unused bit states in Elantech trackpoint packet
parser to filter out spurious events produces by some hardware which
are detected as trackpoint packets. See comment on r328191 for example.

Tested by: Andrey Kosachenko <andrey.kosachenko@gmail.com>

Details

Provenance
wulfAuthored on
Parents
rS348817: psm(4): Fix Elantech trackpoint support.
Branches
Unknown
Tags
Unknown