The NetBSD Project

CVS log for src/sys/dev/pckbport/synaptics.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / pckbport

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.71 / (download) - annotate - [select for diffs], Sun May 30 13:20:01 2021 UTC (3 months, 3 weeks ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, HEAD
Changes since 1.70: +33 -14 lines
Diff to previous 1.70 (colored)

synaptics(4): New sysctl knob for debug output.

Set hw.synaptics.debug=1 to re-enable it; the compile-time DIAGNOSTIC
option was inappropriate for this.

Revision 1.70 / (download) - annotate - [select for diffs], Thu Oct 1 17:13:19 2020 UTC (11 months, 2 weeks ago) by nia
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, cjep_staticlib_x-base
Branch point for: thorpej-i2c-spi-conf, cjep_staticlib_x
Changes since 1.69: +29 -2 lines
Diff to previous 1.69 (colored)

synaptics: Emulate scrolling when the middle button is held with TrackPoints

idea stolen from various other operating systems.

this configurable with a sysctl in case somebody wants to hold the middle
button, e.g.  with old window managers that close menus when a button is
released.

Revision 1.69 / (download) - annotate - [select for diffs], Thu Oct 1 15:08:11 2020 UTC (11 months, 2 weeks ago) by nia
Branch: MAIN
Changes since 1.68: +6 -2 lines
Diff to previous 1.68 (colored)

erect a signpost for weary travellers

Revision 1.68 / (download) - annotate - [select for diffs], Thu Oct 1 14:33:26 2020 UTC (11 months, 2 weeks ago) by nia
Branch: MAIN
Changes since 1.67: +5 -13 lines
Diff to previous 1.67 (colored)

comment was likely true in 2007 but no longer reflects the reality of hw

Revision 1.67 / (download) - annotate - [select for diffs], Thu May 14 18:06:58 2020 UTC (16 months, 1 week ago) by nia
Branch: MAIN
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored)

synaptics: Don't reset the device multiple times in succession

Cherrypicked from a patch from an anonymous contributor.

Revision 1.66 / (download) - annotate - [select for diffs], Tue Apr 28 19:22:58 2020 UTC (16 months, 3 weeks ago) by jmcneill
Branch: MAIN
Changes since 1.65: +2 -4 lines
Diff to previous 1.65 (colored)

pms_synaptics_enable: no need to send PMS_DEV_ENABLE here because
pms_enable does this for us. Seems to resolve issues with my trackpoint
not working immediately after starting X on ThinkPad X260.

Revision 1.65 / (download) - annotate - [select for diffs], Mon Apr 27 22:31:47 2020 UTC (16 months, 3 weeks ago) by jmcneill
Branch: MAIN
Changes since 1.64: +24 -7 lines
Diff to previous 1.64 (colored)

Extended buttons are reported separate from touchpad buttons, so track
button press / release state separate from touch events.

Revision 1.64 / (download) - annotate - [select for diffs], Tue Mar 31 19:08:19 2020 UTC (17 months, 3 weeks ago) by nia
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Changes since 1.63: +4 -4 lines
Diff to previous 1.63 (colored)

synaptics: Maintain the left/right buttons when up/down are remapped

Reported on current-users by Mandacar├║ Cascavel

Revision 1.63 / (download) - annotate - [select for diffs], Fri Mar 27 11:10:07 2020 UTC (17 months, 3 weeks ago) by nia
Branch: MAIN
Changes since 1.62: +11 -13 lines
Diff to previous 1.62 (colored)

synaptics: Revert changes that broke gestures in cases where they worked.

It seems I have to figure out another way to make scrolling work for me.

Revision 1.62 / (download) - annotate - [select for diffs], Mon Mar 16 11:13:19 2020 UTC (18 months ago) by nia
Branch: MAIN
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

synaptics: Increase default scale_z for more precise scrolling

Revision 1.61 / (download) - annotate - [select for diffs], Sun Mar 15 22:44:32 2020 UTC (18 months ago) by nia
Branch: MAIN
Changes since 1.60: +3 -10 lines
Diff to previous 1.60 (colored)

synaptics: Check for single-finger event jitter in all cases.

I now have smooth two-finger scrolling.

Revision 1.60 / (download) - annotate - [select for diffs], Sat Mar 14 22:23:17 2020 UTC (18 months, 1 week ago) by nia
Branch: MAIN
Changes since 1.59: +3 -9 lines
Diff to previous 1.59 (colored)

synaptics: Detect multiple fingers outside the gesture period

I suspect this code doesn't make any sense if we want two-finger scrolling

Revision 1.59 / (download) - annotate - [select for diffs], Sat Mar 14 21:56:08 2020 UTC (18 months, 1 week ago) by nia
Branch: MAIN
Changes since 1.58: +11 -3 lines
Diff to previous 1.58 (colored)

synaptics: Automatically scroll when multiple fingers are detected

This will mean we automatically get two-finger scrolling on multitouch
pads.

This works, but the scrolling is janky. Why does it eventually move the
mouse cursor (only one finger detected, but two are still there), and why
does it jump up slightly?

Revision 1.58 / (download) - annotate - [select for diffs], Sat Mar 14 21:23:32 2020 UTC (18 months, 1 week ago) by nia
Branch: MAIN
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored)

synaptics: fix syntax

Revision 1.57 / (download) - annotate - [select for diffs], Sat Mar 14 21:18:50 2020 UTC (18 months, 1 week ago) by nia
Branch: MAIN
Changes since 1.56: +5 -2 lines
Diff to previous 1.56 (colored)

synaptics: Allow the max_speed sysctls to be set

Revision 1.56 / (download) - annotate - [select for diffs], Sat Mar 14 19:29:39 2020 UTC (18 months, 1 week ago) by nia
Branch: MAIN
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

synaptics: Set up_down_emulation=3 by default.

It's a less surprising default for modern hardware.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Mar 14 13:08:18 2020 UTC (18 months, 1 week ago) by nia
Branch: MAIN
Changes since 1.54: +27 -8 lines
Diff to previous 1.54 (colored)

synaptics: Make up_down_emulation useful for single-button clickpads

On devices such as the Thinkpad X250, the clickpad can be pressed
to generate mouse button events 1 and 2. There are also additional
physical buttons which the pms(4) driver recognizes as "up/down" buttons
(mouse buttons 3 and 4). Allow these to be remapped to buttons 1 and 2
and used like normal touchpad buttons with the following sysctl:

# sysctl -w hw.synaptics.up_down_emulation=3

While here, adjust the existing "middle button emulation"
(hw.synaptics.up_down_emulation=1) so it works with single-button
clickpads.

XXX: 3 may be a more useful default than the current default,
depending on hardware availability of touchpads with "up/down buttons".

Update the documentation accordingly.

Revision 1.54 / (download) - annotate - [select for diffs], Tue Feb 25 21:41:38 2020 UTC (18 months, 3 weeks ago) by ryoon
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp, ad-namecache-base3
Changes since 1.53: +4 -4 lines
Diff to previous 1.53 (colored)

Messages in pms_synaptics_input() should not start with "pms_input"

Use "pms_synaptics_input" instead for another 2 messages.

Revision 1.53 / (download) - annotate - [select for diffs], Tue Feb 25 21:38:42 2020 UTC (18 months, 3 weeks ago) by ryoon
Branch: MAIN
Changes since 1.52: +4 -4 lines
Diff to previous 1.52 (colored)

Messages in pms_synaptics_input() should not start with "pms_input"

Use "pms_synaptics_input" instead.

Revision 1.52 / (download) - annotate - [select for diffs], Tue Feb 25 21:36:13 2020 UTC (18 months, 3 weeks ago) by ryoon
Branch: MAIN
Changes since 1.51: +4 -3 lines
Diff to previous 1.51 (colored)

Do not enter extended W mode conditional for non extended W mode device

Even without extended W mode, sp_w can be 2. This causes
"invalid extended w mode N" warning messages.
Restrict extended W mode conditional for hardwares with extended W
support.

Tested with Synaptics 6.2 device on Panasonic CF-Y8, however it does
not work with X.

Revision 1.51 / (download) - annotate - [select for diffs], Tue Feb 25 16:24:47 2020 UTC (18 months, 3 weeks ago) by ryoon
Branch: MAIN
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)

Remove a trailing tab.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Jul 5 05:09:24 2019 UTC (2 years, 2 months ago) by mlelstv
Branch: MAIN
CVS Tags: phil-wifi-20191119, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: netbsd-9, ad-namecache
Changes since 1.49: +12 -3 lines
Diff to previous 1.49 (colored)

Resynchronizing the input stream could infinitely wait when the touchpad
is in the wrong (relative) mode. The detection of relative mode is never
reached.

Limit the resynchronization to 6 bytes, then trigger a reset.

Revision 1.49 / (download) - annotate - [select for diffs], Sun Jun 2 08:55:00 2019 UTC (2 years, 3 months ago) by blymn
Branch: MAIN
CVS Tags: phil-wifi-20190609
Changes since 1.48: +34 -6 lines
Diff to previous 1.48 (colored)

Changes based on code from an anonymous contributor.  This should make
trackpads work for Thinkpads.  Also adds code to handle externally
connected buttons (synaptics parlance), the first five are mapped to
mouse buttons 1-5.  The rest are currently not reported but could be
decoded if required.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Apr 22 00:53:59 2019 UTC (2 years, 5 months ago) by blymn
Branch: MAIN
Changes since 1.47: +11 -8 lines
Diff to previous 1.47 (colored)

Modify driver to use bits(3) to extract capabilities.  Thanks to
Anon Ymous for the fix.

Revision 1.47 / (download) - annotate - [select for diffs], Sun Apr 21 02:40:35 2019 UTC (2 years, 5 months ago) by blymn
Branch: MAIN
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

Fix minor comment nit.

Revision 1.46 / (download) - annotate - [select for diffs], Tue Dec 4 10:10:15 2018 UTC (2 years, 9 months ago) by blymn
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, isaki-audio2-base, isaki-audio2
Changes since 1.45: +5 -4 lines
Diff to previous 1.45 (colored)

* Increase the default scaling of the two finger scroll to make it
  less sensitive
* Fix range check for hw.synaptics.scale_z so it can be set with sysctl

Revision 1.45 / (download) - annotate - [select for diffs], Wed Nov 28 09:14:03 2018 UTC (2 years, 9 months ago) by blymn
Branch: MAIN
Changes since 1.44: +11 -7 lines
Diff to previous 1.44 (colored)


* Increase minimum finger width to prevent entering scroll mode erroneously
* Attempt to clarify what the sysctl variables for finger scroll do
* Add hysteresis to validity check so changing it does not get rejected

Thanks to Martin Husemann and Michael van Elst for reporting the issues.

Revision 1.44 / (download) - annotate - [select for diffs], Tue Nov 6 09:13:17 2018 UTC (2 years, 10 months ago) by blymn
Branch: MAIN
CVS Tags: pgoyette-compat-1126
Changes since 1.43: +127 -19 lines
Diff to previous 1.43 (colored)

Add double finger scroll feature.  If the detected width is between a
defined range then report y movement as z-axis.  Effectively emulating
a mouse scroll wheel.

Revision 1.43 / (download) - annotate - [select for diffs], Tue Nov 6 08:55:02 2018 UTC (2 years, 10 months ago) by blymn
Branch: MAIN
Changes since 1.42: +6 -6 lines
Diff to previous 1.42 (colored)

Fix clamping of deltas so it works for both positive and negative deltas.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Jul 14 00:47:33 2018 UTC (3 years, 2 months ago) by maya
Branch: MAIN
CVS Tags: pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Changes since 1.41: +25 -31 lines
Diff to previous 1.41 (colored)

Send the 'magic reverse engineered sequence' with a single sliced command,
don't wait for individual ACKs. Fixes kern/53444.

While here:
- use better descriptive names for functions
- use a function for the extended write command
- add macro for number from the old synaptics documentation
- don't get the resp from the command sequence if we're going to ignore
it anyway

most from uwe.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Jun 3 15:10:12 2018 UTC (3 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0625
Branch point for: phil-wifi
Changes since 1.40: +3 -2 lines
Diff to previous 1.40 (colored)

restore \n printing.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Jun 3 14:41:05 2018 UTC (3 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.39: +38 -85 lines
Diff to previous 1.39 (colored)

use a more data-driven :-) approach to avoid cut-n-pasted code.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Jun 3 07:24:18 2018 UTC (3 years, 3 months ago) by ryoon
Branch: MAIN
Changes since 1.38: +47 -2 lines
Diff to previous 1.38 (colored)

Enable Synaptics multifinger capability (Extended W mode)

Magic parameters are taken from
  https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller/.
Tested on HP ProBook 4630s, Lenovo E530, VAIO Pro 11 and HP Spectre x360 ae.

Revision 1.38 / (download) - annotate - [select for diffs], Wed May 30 13:20:39 2018 UTC (3 years, 3 months ago) by ryoon
Branch: MAIN
Changes since 1.37: +6 -6 lines
Diff to previous 1.37 (colored)

Remove double and trailing whitespaces

Revision 1.37 / (download) - annotate - [select for diffs], Tue May 29 11:38:24 2018 UTC (3 years, 3 months ago) by ryoon
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

Remove trailing tab

Revision 1.36 / (download) - annotate - [select for diffs], Tue Dec 5 18:04:21 2017 UTC (3 years, 9 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.35: +24 -6 lines
Diff to previous 1.35 (colored)

Add hw.synaptics.movement_enable sysctl. Default value is 1, but if set
to 0 disables movement events from the touchpad.

While here, fixup a few sysctl nodenum comparisons in
pms_sysctl_synaptics_verify to compare against node numbers instead of
values.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Nov 7 12:39:07 2017 UTC (3 years, 10 months ago) by ryoon
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Changes since 1.34: +4 -3 lines
Diff to previous 1.34 (colored)

Return res in non-synaptics case like before. Fix ALPS case

Revision 1.34 / (download) - annotate - [select for diffs], Mon Nov 6 21:07:17 2017 UTC (3 years, 10 months ago) by blymn
Branch: MAIN
Changes since 1.33: +319 -120 lines
Diff to previous 1.33 (colored)

Add two finger support and middle/right button emulation.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Mar 4 22:58:35 2015 UTC (6 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.32: +34 -6 lines
Diff to previous 1.32 (colored)

Fix clickpad button detection (From Rhialto)

Revision 1.32 / (download) - annotate - [select for diffs], Fri May 23 01:11:29 2014 UTC (7 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base, netbsd-7-base
Branch point for: nick-nhusb, netbsd-7
Changes since 1.31: +149 -38 lines
Diff to previous 1.31 (colored)

PR/48831: J÷˛g Grundmann: Synaptics Touch pad (ClickPad) and
Klick-by-tap-gestures do not work

Revision 1.31 / (download) - annotate - [select for diffs], Tue Feb 25 18:30:10 2014 UTC (7 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.30: +2 -7 lines
Diff to previous 1.30 (colored)

Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before
the sysctl link sets are processed, and remove redundancy.

Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate
lines of code.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jun 3 13:52:46 2012 UTC (9 years, 3 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored)

Remove a couple of (void *) casts added in the previous commin.
They aren't needed here (script error).

Revision 1.29 / (download) - annotate - [select for diffs], Sat Jun 2 21:36:45 2012 UTC (9 years, 3 months ago) by dsl
Branch: MAIN
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored)

Add some pre-processor magic to verify that the type of the data item
  passed to sysctl_createv() actually matches the declared type for
  the item itself.
In the places where the caller specifies a function and a structure
  address (typically the 'softc') an explicit (void *) cast is now needed.
Fixes bugs in sys/dev/acpi/asus_acpi.c sys/dev/bluetooth/bcsp.c
  sys/kern/vfs_bio.c sys/miscfs/syncfs/sync_subr.c and setting
  AcpiGbl_EnableAmlDebugObject.
(mostly passing the address of a uint64_t when typed as CTLTYPE_INT).
I've test built quite a few kernels, but there may be some unfixed MD
  fallout. Most likely passing &char[] to char *.
Also add CTLFLAG_UNSIGNED for unsiged decimals - not set yet.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Sep 10 18:38:20 2011 UTC (10 years ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache
Changes since 1.27: +6 -6 lines
Diff to previous 1.27 (colored)

Correct and improve some comments.  Collect unused variables.  Add a define.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Sep 9 14:29:47 2011 UTC (10 years ago) by jakllsch
Branch: MAIN
Changes since 1.26: +6 -40 lines
Diff to previous 1.26 (colored)

Replace pms_synaptics_send_command() and identical pms_elantech_send_command()
with pms_sliced_command().  Linux shows that this sequence can also be used by
"Logitech PS/2++" protocol as well.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Jan 29 20:37:24 2011 UTC (10 years, 7 months ago) by cegger
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.25: +8 -20 lines
Diff to previous 1.25 (colored)

use aprint_debug_dev and get rid of SYNAPTICSDEBUG

Revision 1.25 / (download) - annotate - [select for diffs], Mon Nov 15 05:58:18 2010 UTC (10 years, 10 months ago) by uebayasi
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.24: +3 -2 lines
Diff to previous 1.24 (colored)

wakeup needs sys/proc.h.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Mar 21 20:04:43 2010 UTC (11 years, 6 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1
Changes since 1.23: +6 -3 lines
Diff to previous 1.23 (colored)

send the SET_SCALE11 command before the 'sliced' command as per the
Linux driver (and elantech(4)), via PR kern/42853

Revision 1.23 / (download) - annotate - [select for diffs], Sun Mar 21 19:57:05 2010 UTC (11 years, 6 months ago) by plunky
Branch: MAIN
Changes since 1.22: +17 -3 lines
Diff to previous 1.22 (colored)

Extended capability probes can confuse the passthrough device,
reset the touchpad on enable to cure that.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Mar 21 19:53:52 2010 UTC (11 years, 6 months ago) by plunky
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

some definitions from the Linux driver (via PR kern/42853)

Revision 1.21 / (download) - annotate - [select for diffs], Wed Apr 30 14:07:14 2008 UTC (13 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, uebayasi-xip-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, mjf-devfs2-base, matt-premerge-20091211, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: uebayasi-xip, rmind-uvmplock, netbsd-5
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Make various bits of debug code compile again.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Mar 15 18:46:22 2008 UTC (13 years, 6 months ago) by cube
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.19: +29 -29 lines
Diff to previous 1.19 (colored)

Split device_t and softc for pckbd(4) and pms(4).

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jan 28 22:30:27 2008 UTC (13 years, 7 months ago) by jmcneill
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, hpcarm-cleanup-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.18: +4 -3 lines
Diff to previous 1.18 (colored)

Change synaptics 'unusual delay' printf to aprint_debug. I'm tired of
seeing it over and over again.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Jan 28 22:28:32 2008 UTC (13 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.17: +4 -3 lines
Diff to previous 1.17 (colored)

De-noisify resume handler.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Dec 11 11:28:46 2007 UTC (13 years, 9 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, matt-armv6-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

use __KERNEL_RCSID()

Revision 1.16 / (download) - annotate - [select for diffs], Fri Oct 19 12:01:03 2007 UTC (13 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: yamt-kmem, vmlocking2, mjf-devfs, bouyer-xeni386
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.15 / (download) - annotate - [select for diffs], Sun Mar 25 20:28:03 2007 UTC (14 years, 6 months ago) by mlelstv
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, thorpej-atomic-base, thorpej-atomic, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

add missing W coordinate

Revision 1.14 / (download) - annotate - [select for diffs], Sun Mar 25 16:26:41 2007 UTC (14 years, 6 months ago) by mlelstv
Branch: MAIN
Changes since 1.13: +107 -59 lines
Diff to previous 1.13 (colored)

Handle events from passthrough devices like the Thinkpad 'Navistick'.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:20 2006 UTC (14 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, vmlocking, reinoud-bufcleanup, netbsd-4, mjf-ufs-trans
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

__unused removal on arguments; approved by core.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Nov 12 19:00:43 2006 UTC (14 years, 10 months ago) by plunky
Branch: MAIN
Changes since 1.11: +5 -3 lines
Diff to previous 1.11 (colored)

Tidy away wsmouse_input() abstractions and update
documentation to include the W direction.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:49 2006 UTC (14 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jun 7 22:33:37 2006 UTC (15 years, 3 months ago) by kardel
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.9: +2 -5 lines
Diff to previous 1.9 (colored)

merge FreeBSD timecounters from branch simonb-timecounters
- struct timeval time is gone
  time.tv_sec -> time_second
- struct timeval mono_time is gone
  mono_time.tv_sec -> time_uptime
- access to time via
	{get,}{micro,nano,bin}time()
	get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
  Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
  NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html

Revision 1.9 / (download) - annotate - [select for diffs], Sat Dec 24 20:27:52 2005 UTC (15 years, 9 months ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, peter-altq-base, peter-altq, elad-kernelauth-base, elad-kernelauth
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, chap-midi
Changes since 1.8: +8 -8 lines
Diff to previous 1.8 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Dec 11 12:23:22 2005 UTC (15 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.7: +1 -1 lines
Diff to previous 1.7 (colored)

merge ktrace-lwp.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Oct 26 17:20:19 2005 UTC (15 years, 10 months ago) by rpaulo
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, ktrace-lwp-base
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

s/SYNAPTICS_DEBUG/SYNAPTICSDEBUG/ to keep consistency.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jun 20 02:49:19 2005 UTC (16 years, 3 months ago) by atatat
Branch: MAIN
CVS Tags: yamt-vop-base2, yamt-vop-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-vop, yamt-lazymbuf
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Change the rest of the sysctl subsystem to use const consistently.
The __UNCONST macro is now used only where necessary and the RW macros
are gone.  Most of the changes here are consumers of the
sysctl_createv(9) interface that now takes a pair of const pointers
which used not to be.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:42 2005 UTC (16 years, 6 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

nuke trailing whitespace

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jan 18 10:22:51 2005 UTC (16 years, 8 months ago) by scw
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base
Branch point for: yamt-km
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored)

Address PR kern/28990 by making Synaptics Touchpad support contingent
on "options PMS_SYNAPTICS_TOUCHPAD" in the kernel config file. See
the PR for details on why this is necessary.

While here, defflag PMS_DISABLE_POWERHOOK.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jan 2 22:37:12 2005 UTC (16 years, 8 months ago) by scw
Branch: MAIN
CVS Tags: kent-audio1-beforemerge
Branch point for: ktrace-lwp, kent-audio2
Changes since 1.2: +954 -357 lines
Diff to previous 1.2 (colored)

Major re-write of the recently-committed Synaptics Touchpad driver,
prompted by jittery and/or random movement during tap gestures, lack
of edge motion, and a general desire to make use of the extra features
available with the native protocol.

 - Ditch the kernel thread; it was overkill for the small amount of
   processing required to deal with touchpad events.

 - If we fail to probe a Synaptics touchpad, issue a RESET command
   to ensure that whatever device is out there is left in a sane
   state (thanks to Reinoud Zandijk for the hint).

 - Completely re-write gesture support.

 - Put the touchpad in 80 packets per second mode and count them so
   they can be used to time gesture durations (instead of using
   mono_time).

 - Enhance up/down button support with options to use them to emulate
   the middle button or Z-axis events (like a traditional wheel mouse).

 - Add 'edge motion'. If a drag gesture is in progress, and the reported
   finger position moves to the touchpad's border region, continue
   to report movement events at a fixed rate as if the finger carried
   on moving in the same direction. This restores some functionality
   usually provided by the touchpad's firmware in PS/2 mode.

 - Filter successive movement events to reduce jitter. When scaling
   movement events, fold the remainder into the next event to prevent
   loss of information during slow/small finger movements. Pointer
   movement is now much more refined.

 - Add support for touchpads which can report more than one finger on
   the pad simultaneously. Optionally use this feature for middle/right
   button emulation (i.e. tap two fingers to emulate middle button).
   This feature is disabled by default (for now) to avoid surprise
   pasting of clipboard text. ;-)

Revision 1.2 / (download) - annotate - [select for diffs], Tue Dec 28 20:47:18 2004 UTC (16 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.1: +23 -21 lines
Diff to previous 1.1 (colored)

- cleanup some debugging stuff.
- don't create the sysctl nodes if we don't have a synaptics pad.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Dec 24 18:33:06 2004 UTC (16 years, 9 months ago) by christos
Branch: MAIN

PR/28774: Kentaro A. Kurahone: Add synaptics touchpad driver

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>