svn commit: r317812 - head/sys/dev/atkbdc
Vladimir Kondratyev
wulf at FreeBSD.org
Thu May 4 22:51:23 UTC 2017
Author: wulf
Date: Thu May 4 22:51:22 2017
New Revision: 317812
URL: https://svnweb.freebsd.org/changeset/base/317812
Log:
Reduce default tap_min_queue size for Elan touchpads
Elan hw v.4 touchpads often sends touchpad release packet right after
touchpad touch one. Most probably this happens due to PS/2 limited bandwith.
Reducing of tap_min_queue size to 1 makes multifinger tap detection
more reliable in this case.
Reviewed by: gonzo
Approved by: gonzo (mentor)
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D10266
Modified:
head/sys/dev/atkbdc/psm.c
Modified: head/sys/dev/atkbdc/psm.c
==============================================================================
--- head/sys/dev/atkbdc/psm.c Thu May 4 22:47:18 2017 (r317811)
+++ head/sys/dev/atkbdc/psm.c Thu May 4 22:51:22 2017 (r317812)
@@ -6218,6 +6218,9 @@ elantech_init_synaptics(struct psm_softc
/* Disable finger detection pressure threshold */
sc->syninfo.min_pressure = 1;
+ /* Elans often report double & triple taps as single event */
+ sc->syninfo.tap_min_queue = 1;
+
/* Use full area of touchpad */
sc->syninfo.margin_top = 0;
sc->syninfo.margin_right = 0;
More information about the svn-src-head
mailing list