On Monday, September 26, 2016 10:06:19 PM Oleksandr Tymoshenko wrote: > Author: gonzo > Date: Mon Sep 26 22:06:19 2016 > New Revision: 306355 > URL: https://svnweb.freebsd.org/changeset/base/306355 > > Log: > Add Elantech trackpad support > > Elantech trackpads are found in some laptops like the Asus UX31E. They > are "synaptics compatible" but use a slightly different protocol. > > Elantech hardware support is not enabled by default and just like > Synaptic or TrackPoint devices it should be enabled by setting > tunable, in this case hw.psm.elantech_support, to non-zero value > > PR: 205690 > Submitted by: Vladimir Kondratyev <w...@cicgroup.ru> > MFC after: 1 week > > Modified: head/sys/dev/atkbdc/psm.c > ============================================================================== > --- head/sys/dev/atkbdc/psm.c Mon Sep 26 20:26:19 2016 (r306354) > +++ head/sys/dev/atkbdc/psm.c Mon Sep 26 22:06:19 2016 (r306355) > @@ -389,6 +465,9 @@ TUNABLE_INT("hw.psm.synaptics_support", > static int trackpoint_support = 0; > TUNABLE_INT("hw.psm.trackpoint_support", &trackpoint_support); > > +static int elantech_support = 0; > +TUNABLE_INT("hw.psm.elantech_support", &elantech_support); > + > static int verbose = PSM_DEBUG; > TUNABLE_INT("debug.psm.loglevel", &verbose);
It would be good to expose all these tunables as CTLFLAG_RDTUN sysctls. Exposing them that way with a decent description string makes it easier for users to discover tunables. -- John Baldwin _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"