Page MenuHomeFreeBSD

psm(4), evdev support part 0: minor mostly touchpads-related fixes and improvements
ClosedPublic

Authored by wulf_cicgroup.ru on Apr 3 2017, 10:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 16 2024, 2:15 AM
Unknown Object (File)
Dec 23 2023, 1:41 AM
Unknown Object (File)
Dec 12 2023, 7:56 PM
Unknown Object (File)
Nov 30 2023, 11:37 AM
Unknown Object (File)
Oct 20 2023, 10:19 AM
Unknown Object (File)
Oct 19 2023, 3:23 AM
Unknown Object (File)
Oct 18 2023, 5:53 AM
Unknown Object (File)
Aug 27 2023, 5:42 PM
Subscribers

Details

Summary

psm(4): Several minor fixes and adjustments to psm tunables, mostly touchpads-related

Fix rare but quite annoying issue in Elan hw v.4 touchpads support. Triple-finger taps are reported as double-finger taps under several circumstances.
Adjust tap min queue size on Elans to make multifinger tap detection more reliable.
Adjust Elantech palm width threshold to nearly match synaptics defaults
Discard pointer movements rather then mouse packets on palm detection to reduce cursor jumping.
Enable palm detection on two finger touches for multitouch trackpads.
Report 3-rd and 4-th fingers as first finger for Elan hw v.2 and v.3 as Linux does. It should not affect gesture processing in current state as it ignores finger coords on 3-finger tap detection but it should make evdev reports looking more Linux-alike.
Set predefined logical touchpad sizes for several ancient Elan hw v.2 models. This change is based on Linux driver. Not tested
Determine logical trace size. It used for calculation of touch sizes in surface units for MT-protocol type B evdev reports.
Remove direct inclusion of sys/libkern.h header as it is a style bug.

Part of https://reviews.freebsd.org/D10207

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

wulf_cicgroup.ru retitled this revision from psm(4), evdev support part 4: minor mostly touchpads-related fixes and improvements to psm(4), evdev support part 0: minor mostly touchpads-related fixes and improvements.May 3 2017, 9:55 PM
wulf_cicgroup.ru edited the test plan for this revision. (Show Details)
wulf_cicgroup.ru edited the test plan for this revision. (Show Details)

"evdev support part 4" -> "evdev support part 0". Part 3 is dependent on some of these changes.

Finally I have split it on separate independent changes in my private repo and can publish It split if needed.

This revision is now accepted and ready to land.May 4 2017, 6:48 PM
This revision was automatically updated to reflect the committed changes.