Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 May 2017 22:51:22 +0000 (UTC)
From:      Vladimir Kondratyev <wulf@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r317812 - head/sys/dev/atkbdc
Message-ID:  <201705042251.v44MpMsH006374@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705042251.v44MpMsH006374>