svn commit: r348873 - head/sys/dev/atkbdc

Niclas Zeising zeising at FreeBSD.org
Mon Jun 10 18:19:50 UTC 2019


Author: zeising (doc,ports committer)
Date: Mon Jun 10 18:19:49 2019
New Revision: 348873
URL: https://svnweb.freebsd.org/changeset/base/348873

Log:
  psm(4): Enable touchpads and trackpads by default
  
  Enable synaptics and elantech touchpads, as well as IBM/Lenovo TrackPoints
  by default, instead of having users find and toggle a loader tunable.
  This makes things like two finger scroll and other modern features work out
  of the box with X.  By enabling these settings by default, we get a better
  desktop experience in X, since xserver and evdev can make use of the more
  advanced synaptics and elantech features.
  
  Reviewed by:	imp, wulf, 0mp
  Approved by:	imp
  Sponsored by:	B3 Init (zeising)
  Differential Revision:	https://reviews.freebsd.org/D20507

Modified:
  head/sys/dev/atkbdc/psm.c

Modified: head/sys/dev/atkbdc/psm.c
==============================================================================
--- head/sys/dev/atkbdc/psm.c	Mon Jun 10 17:44:50 2019	(r348872)
+++ head/sys/dev/atkbdc/psm.c	Mon Jun 10 18:19:49 2019	(r348873)
@@ -513,9 +513,9 @@ static devclass_t psm_devclass;
 /* Tunables */
 static int tap_enabled = -1;
 static int verbose = PSM_DEBUG;
-static int synaptics_support = 0;
-static int trackpoint_support = 0;
-static int elantech_support = 0;
+static int synaptics_support = 1;
+static int trackpoint_support = 1;
+static int elantech_support = 1;
 
 /* for backward compatibility */
 #define	OLD_MOUSE_GETHWINFO	_IOR('M', 1, old_mousehw_t)


More information about the svn-src-all mailing list