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


Keyword substitution: kv
Default branch: MAIN


Revision 1.84: download - view: text, markup, annotated - select for diffs
Fri Jul 19 04:48:13 2024 UTC (4 months, 2 weeks ago) by mlelstv
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +3 -3 lines
hw.synaptics.aux_mid_button_scroll translates vertical movements
of an aux device (like a trackpoint) into a scroll event when
the middle mouse button is pressed.

Make this work with either the middle mouse button of the main
device (buttonmask 0x02) or the middle mouse button of the aux
device (buttonmask 0x40).

Fixes PR 58435.

Revision 1.81.4.1: download - view: text, markup, annotated - select for diffs
Sat Jun 22 10:02:05 2024 UTC (5 months, 2 weeks ago) by martin
Branches: netbsd-10
Diff to: previous 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81: +114 -100 lines
Pull up following revision(s) (requested by gutteridge in ticket #718):

	sys/dev/pckbport/synaptics.c: revision 1.83

Renamed border/boundary variables to better describe their use.

Fix edge default values, factor out percentage calculation for more
consistent
values. Use device_printf/DPRINTF to show errors instead of aprint
variants.

Print raw input for debugging.

Correct capability parsing. Old devices were probed with nonexistent
commands and then used undefined boundary values that made them
unusuable.

Fixes PR 57874.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Thu Apr 18 17:35:53 2024 UTC (7 months, 2 weeks ago) by mlelstv
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +114 -100 lines
Renamed border/boundary variables to better describe their use.
Fix edge default values, factor out percentage calculation for more consistent
values. Use device_printf/DPRINTF to show errors instead of aprint variants.
Print raw input for debugging.

Correct capability parsing. Old devices were probed with nonexistent
commands and then used undefined boundary values that made them unusuable.

Fixes PR 57874.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Tue Sep 5 05:55:12 2023 UTC (15 months ago) by mrg
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +4 -2 lines
panic on an condition that shouldn't be possible.

appease GCC 12.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Wed Sep 28 16:43:00 2022 UTC (2 years, 2 months ago) by nia
Branches: MAIN
CVS tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +4 -4 lines
synaptics: Lower scale factor to give less sluggish mouse performance
on modern displays.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Sat Sep 17 06:33:55 2022 UTC (2 years, 2 months ago) by mlelstv
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +30 -86 lines
- synaptics_filter_policy no longer generates movements from stale data.
- button boundary is now computed consistently.
- multi finger operation now works for MULTI_FINGER and MULTI_FINGER_REPORT.

Fixes PR kern/56476 and probably kern/56998.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Tue May 31 08:43:16 2022 UTC (2 years, 6 months ago) by andvar
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +3 -3 lines
fix various typos in comments, documentation and messages.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Mon Apr 4 07:04:20 2022 UTC (2 years, 8 months ago) by blymn
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +5 -3 lines
Use the original right boundary when calculating the vertical scroll
region so the boundary does not creep left on each subsequent setting.
Thanks to Martin@ for the report.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri Apr 1 06:31:29 2022 UTC (2 years, 8 months ago) by blymn
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +220 -20 lines
Fix regression introduced when fixing PR kern/56613 and related tweaks

* A trackpad with external buttons needs to mask a number of lower bits
  of the X and Y coordinates IFF a button is down.  This was not being
  done so a button held down looked like an out of range packet and
  was therefore dropped.

* Now that trackpads are probed for their boundaries make the emulated
  button boundary settable by a percentage, also allow the right and
  bottom boundaries to be adjusted by a percentage to allow for
  horizontal and vertical scroll regions.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Thu Mar 3 21:03:14 2022 UTC (2 years, 9 months ago) by blymn
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +88 -2 lines

Fix for PR kern/56613

* For trackpads that report max and min coordinates, retrieve these and
  use them as the boundaries instead of the hard coded limits.
* Drop packets that are have x/y values that are outside the limits of
  the trackpad.  Some trackpads report a stream of low values in some
  situations that cause cursor jumping.

Revision 1.50.2.8: download - view: text, markup, annotated - select for diffs
Thu Dec 30 12:28:56 2021 UTC (2 years, 11 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE
Diff to: previous 1.50.2.7: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.2.7: +33 -14 lines
Pull up following revision(s) (requested by riastradh in ticket #1397):

	sys/dev/pckbport/synaptics.c: revision 1.71

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.75: download - view: text, markup, annotated - select for diffs
Sat Dec 4 14:53:56 2021 UTC (3 years ago) by nia
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +49 -20 lines
synaptics: Fix tracking of extended buttons.

- Ensure that packets are processed whenever any button change
  occurs, instead of just processing packets when there is movement
  or trackpad finger activity
- Only transfer the state of the "extended buttons" to the button
  masks when actual changes occur OR a button is being held down.

With this patch, my middle mouse button no longer gets "stuck down",
but proper press/release tracking and dragging behavior is preserved.

Thanks to blymn for pointers.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Fri Dec 3 13:27:39 2021 UTC (3 years ago) by andvar
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -3 lines
fix various typos in comments, log messages and documentation.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Thu Oct 21 04:49:28 2021 UTC (3 years, 1 month ago) by blymn
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +486 -120 lines
Significant update to the synaptics touchpad driver.

* Accumulate packets for primary, secondary, finger count packets
  before handing off to pms_synaptics_process_packet.  This means
  that both primary and, possibly, secondary finger locations will
  be processed at the same time.  Previously the processing each
  packet as it arrived.

* Fix the secondary finger position reporting, there was an off by
  one in the shifts when decoding which effectively halved the
  reported position.

* For a clickpad, make the emulated button region "dead" so that finger
  movements in this region are ignored.  This makes it easier to click
  a button without accidentally repositioning the cursor.  There is a
  sysctl variable "button_region_movement_enable" that will allow
  these finger movements to be reported if this is desirable.

* Reset the finger ballistics when the number of fingers changes.  This
  stops the annoying position jumps when a second finger touch is added
  to or removed from the touchpad.

* Add a level argument to the DPRINTF macro so one can choose their
  level of debug spam via the debug sysctl variable.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Tue Sep 28 06:16:13 2021 UTC (3 years, 2 months ago) by nia
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +32 -96 lines
synaptics: use the new WSCONS_EVENT_(H|V)SCROLL event types
to implement two-finger scrolling. remove non-functional code for
detecting reported finger width.

Revision 1.70.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 17 04:46:30 2021 UTC (3 years, 5 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +33 -14 lines
Sync w/ HEAD.

Revision 1.70.8.1: download - view: text, markup, annotated - select for diffs
Mon May 31 22:15:18 2021 UTC (3 years, 6 months ago) by cjep
Branches: cjep_staticlib_x
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +33 -14 lines
sync with head

Revision 1.71: download - view: text, markup, annotated - select for diffs
Sun May 30 13:20:01 2021 UTC (3 years, 6 months ago) by riastradh
Branches: 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
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +33 -14 lines
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.50.2.7: download - view: text, markup, annotated - select for diffs
Thu Oct 8 16:47:12 2020 UTC (4 years, 1 month ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Diff to: previous 1.50.2.6: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.2.6: +33 -2 lines
Pull up following revision(s) (requested by nia in ticket #1100):

	sys/dev/pckbport/synaptics.c: revision 1.69
	sys/dev/pckbport/synaptics.c: revision 1.70
	share/man/man4/pms.4: revision 1.38

erect a signpost for weary travellers

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.70: download - view: text, markup, annotated - select for diffs
Thu Oct 1 17:13:19 2020 UTC (4 years, 2 months ago) by nia
Branches: 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
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +29 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Oct 1 15:08:11 2020 UTC (4 years, 2 months ago) by nia
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +6 -2 lines
erect a signpost for weary travellers

Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Oct 1 14:33:26 2020 UTC (4 years, 2 months ago) by nia
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +5 -13 lines
comment was likely true in 2007 but no longer reflects the reality of hw

Revision 1.50.2.6: download - view: text, markup, annotated - select for diffs
Sat Jun 20 13:53:14 2020 UTC (4 years, 5 months ago) by martin
Branches: netbsd-9
Diff to: previous 1.50.2.5: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.2.5: +3 -3 lines
Pull up following revision(s) (requested by nia in ticket #954):

	sys/dev/pckbport/synaptics.c: revision 1.67

synaptics: Don't reset the device multiple times in succession
Cherrypicked from a patch from an anonymous contributor.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Thu May 14 18:06:58 2020 UTC (4 years, 6 months ago) by nia
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -3 lines
synaptics: Don't reset the device multiple times in succession

Cherrypicked from a patch from an anonymous contributor.

Revision 1.50.2.5: download - view: text, markup, annotated - select for diffs
Wed Apr 29 13:25:42 2020 UTC (4 years, 7 months ago) by martin
Branches: netbsd-9
Diff to: previous 1.50.2.4: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.2.4: +2 -4 lines
Pull up following revision(s) (requested by jmcneill in ticket #865):

	sys/dev/pckbport/synaptics.c: revision 1.66

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.66: download - view: text, markup, annotated - select for diffs
Tue Apr 28 19:22:58 2020 UTC (4 years, 7 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +2 -4 lines
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.50.2.4: download - view: text, markup, annotated - select for diffs
Tue Apr 28 16:22:15 2020 UTC (4 years, 7 months ago) by martin
Branches: netbsd-9
Diff to: previous 1.50.2.3: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.2.3: +24 -7 lines
Pull up following revision(s) (requested by jmcneill in ticket #863):

	sys/dev/pckbport/synaptics.c: revision 1.65
	sys/dev/pckbport/synapticsvar.h: revision 1.10

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

Revision 1.65: download - view: text, markup, annotated - select for diffs
Mon Apr 27 22:31:47 2020 UTC (4 years, 7 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +24 -7 lines
Extended buttons are reported separate from touchpad buttons, so track
button press / release state separate from touch events.

Revision 1.41.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:46 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.41.2.1: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.2.1: +50 -25 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.50.2.3: download - view: text, markup, annotated - select for diffs
Thu Apr 2 19:23:41 2020 UTC (4 years, 8 months ago) by martin
Branches: netbsd-9
Diff to: previous 1.50.2.2: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.2.2: +4 -4 lines
Pull up following revision(s) (requested by nia in ticket #818):

	sys/dev/pckbport/synaptics.c: revision 1.64

synaptics: Maintain the left/right buttons when up/down are remapped
Reported on current-users by Mandacarú Cascavel

Revision 1.64: download - view: text, markup, annotated - select for diffs
Tue Mar 31 19:08:19 2020 UTC (4 years, 8 months ago) by nia
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +4 -4 lines
synaptics: Maintain the left/right buttons when up/down are remapped

Reported on current-users by Mandacarú Cascavel

Revision 1.50.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 30 18:47:33 2020 UTC (4 years, 8 months ago) by martin
Branches: netbsd-9
Diff to: previous 1.50.2.1: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.2.1: +6 -3 lines
Pull up following revision(s) (requested by nia in ticket #810):

	sys/dev/pckbport/synaptics.c: revision 1.57
	sys/dev/pckbport/synaptics.c: revision 1.58

synaptics: Allow the max_speed sysctls to be set
synaptics: fix syntax

Revision 1.50.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 30 18:45:16 2020 UTC (4 years, 8 months ago) by martin
Branches: netbsd-9
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +28 -9 lines
Pull up following revision(s) (requested by nia in ticket #809):

	sys/dev/pckbport/synaptics.c: revision 1.55
	sys/dev/pckbport/synaptics.c: revision 1.56
	share/man/man4/pms.4: revision 1.35
	share/man/man4/pms.4: revision 1.36

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:

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.

synaptics: Set up_down_emulation=3 by default.

It's a less surprising default for modern hardware.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Mar 27 11:10:07 2020 UTC (4 years, 8 months ago) by nia
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +11 -13 lines
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 - view: text, markup, annotated - select for diffs
Mon Mar 16 11:13:19 2020 UTC (4 years, 8 months ago) by nia
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -3 lines
synaptics: Increase default scale_z for more precise scrolling

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun Mar 15 22:44:32 2020 UTC (4 years, 8 months ago) by nia
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -10 lines
synaptics: Check for single-finger event jitter in all cases.

I now have smooth two-finger scrolling.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sat Mar 14 22:23:17 2020 UTC (4 years, 8 months ago) by nia
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -9 lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 14 21:56:08 2020 UTC (4 years, 8 months ago) by nia
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +11 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 14 21:23:32 2020 UTC (4 years, 8 months ago) by nia
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3 lines
synaptics: fix syntax

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sat Mar 14 21:18:50 2020 UTC (4 years, 8 months ago) by nia
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +5 -2 lines
synaptics: Allow the max_speed sysctls to be set

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Mar 14 19:29:39 2020 UTC (4 years, 8 months ago) by nia
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -3 lines
synaptics: Set up_down_emulation=3 by default.

It's a less surprising default for modern hardware.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Sat Mar 14 13:08:18 2020 UTC (4 years, 8 months ago) by nia
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +27 -8 lines
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.50.4.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:19:15 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +9 -8 lines
Sync with head.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Feb 25 21:41:38 2020 UTC (4 years, 9 months ago) by ryoon
Branches: MAIN
CVS tags: is-mlppp-base, is-mlppp, ad-namecache-base3
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +4 -4 lines
Messages in pms_synaptics_input() should not start with "pms_input"

Use "pms_synaptics_input" instead for another 2 messages.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Tue Feb 25 21:38:42 2020 UTC (4 years, 9 months ago) by ryoon
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +4 -4 lines
Messages in pms_synaptics_input() should not start with "pms_input"

Use "pms_synaptics_input" instead.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Feb 25 21:36:13 2020 UTC (4 years, 9 months ago) by ryoon
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -3 lines
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 - view: text, markup, annotated - select for diffs
Tue Feb 25 16:24:47 2020 UTC (4 years, 9 months ago) by ryoon
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -3 lines
Remove a trailing tab.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Fri Jul 5 05:09:24 2019 UTC (5 years, 5 months ago) by mlelstv
Branches: 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
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +12 -3 lines
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.41.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:30 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +203 -65 lines
Sync with HEAD

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Jun 2 08:55:00 2019 UTC (5 years, 6 months ago) by blymn
Branches: MAIN
CVS tags: phil-wifi-20190609
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +34 -6 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 22 00:53:59 2019 UTC (5 years, 7 months ago) by blymn
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +11 -8 lines
Modify driver to use bits(3) to extract capabilities.  Thanks to
Anon Ymous for the fix.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Apr 21 02:40:35 2019 UTC (5 years, 7 months ago) by blymn
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3 lines
Fix minor comment nit.

Revision 1.36.2.4: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:02:01 2018 UTC (5 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.36.2.3: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.2.3: +14 -9 lines
Sync with HEAD, resolve a few conflicts

Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Dec 4 10:10:15 2018 UTC (6 years ago) by blymn
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, isaki-audio2-base, isaki-audio2
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +5 -4 lines
* 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 - view: text, markup, annotated - select for diffs
Wed Nov 28 09:14:03 2018 UTC (6 years ago) by blymn
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +11 -7 lines

* 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.36.2.3: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:47 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.36.2.2: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.2: +133 -25 lines
Sync with HEAD, resolve a couple of conflicts

Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Nov 6 09:13:17 2018 UTC (6 years, 1 month ago) by blymn
Branches: MAIN
CVS tags: pgoyette-compat-1126
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +127 -19 lines
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 - view: text, markup, annotated - select for diffs
Tue Nov 6 08:55:02 2018 UTC (6 years, 1 month ago) by blymn
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +6 -6 lines
Fix clamping of deltas so it works for both positive and negative deltas.

Revision 1.36.2.2: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:57 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.36.2.1: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.1: +25 -31 lines
Sync with HEAD

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Jul 14 00:47:33 2018 UTC (6 years, 4 months ago) by maya
Branches: MAIN
CVS tags: pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +25 -31 lines
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.36.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:26:01 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +54 -55 lines
Sync with HEAD

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Jun 3 15:10:12 2018 UTC (6 years, 6 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-0625
Branch point for: phil-wifi
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -2 lines
restore \n printing.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun Jun 3 14:41:05 2018 UTC (6 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +38 -85 lines
use a more data-driven :-) approach to avoid cut-n-pasted code.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Jun 3 07:24:18 2018 UTC (6 years, 6 months ago) by ryoon
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +47 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed May 30 13:20:39 2018 UTC (6 years, 6 months ago) by ryoon
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +6 -6 lines
Remove double and trailing whitespaces

Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue May 29 11:38:24 2018 UTC (6 years, 6 months ago) by ryoon
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
Remove trailing tab

Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Dec 5 18:04:21 2017 UTC (7 years ago) by jmcneill
Branches: 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
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +24 -6 lines
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.30.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:30 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.30.2.1: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.2.1: +350 -122 lines
update from HEAD

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Nov 7 12:39:07 2017 UTC (7 years, 1 month ago) by ryoon
Branches: MAIN
CVS tags: tls-maxphys-base-20171202
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -3 lines
Return res in non-synaptics case like before. Fix ALPS case

Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Nov 6 21:07:17 2017 UTC (7 years, 1 month ago) by blymn
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +319 -120 lines
Add two finger support and middle/right button emulation.

Revision 1.32.4.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:13 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +34 -6 lines
Sync with HEAD

Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 21 17:34:21 2015 UTC (9 years, 8 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +34 -6 lines
Pull up following revision(s) (requested by nonaka in ticket #629):
	sys/dev/pckbport/synaptics.c: revision 1.33
Fix clickpad button detection (From Rhialto)

Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Mar 4 22:58:35 2015 UTC (9 years, 9 months ago) by christos
Branches: 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-3-RELEASE, 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
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +34 -6 lines
Fix clickpad button detection (From Rhialto)

Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:49 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +149 -43 lines
Rebase to HEAD as of a few days ago.

Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:57 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +149 -38 lines
Rebase.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri May 23 01:11:29 2014 UTC (10 years, 6 months ago) by christos
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base, netbsd-7-base
Branch point for: nick-nhusb, netbsd-7
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +149 -38 lines
PR/48831: Jörg Grundmann: Synaptics Touch pad (ClickPad) and
Klick-by-tap-gestures do not work

Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:34 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +2 -7 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.30.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:45 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +2 -7 lines
sync with head

Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Feb 25 18:30:10 2014 UTC (10 years, 9 months ago) by pooka
Branches: 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
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -7 lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 3 13:52:46 2012 UTC (12 years, 6 months ago) by dsl
Branches: 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
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +4 -4 lines
Remove a couple of (void *) casts added in the previous commin.
They aren't needed here (script error).

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Jun 2 21:36:45 2012 UTC (12 years, 6 months ago) by dsl
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Sat Sep 10 18:38:20 2011 UTC (13 years, 3 months ago) by jakllsch
Branches: 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
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +6 -6 lines
Correct and improve some comments.  Collect unused variables.  Add a define.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Sep 9 14:29:47 2011 UTC (13 years, 3 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +6 -40 lines
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.25.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:08:30 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +8 -20 lines
Sync with HEAD.

Revision 1.21.22.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:54:01 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.21.22.1: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.22.1: +9 -20 lines
sync with head

Revision 1.25.4.1: download - view: text, markup, annotated - select for diffs
Tue Feb 8 16:19:54 2011 UTC (13 years, 10 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +8 -20 lines
Sync with HEAD

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Jan 29 20:37:24 2011 UTC (13 years, 10 months ago) by cegger
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +8 -20 lines
use aprint_debug_dev and get rid of SYNAPTICSDEBUG

Revision 1.21.10.1: download - view: text, markup, annotated - select for diffs
Sat Nov 20 01:19:01 2010 UTC (14 years ago) by riz
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, matt-nb5-pq3-base, matt-nb5-pq3
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +22 -5 lines
Pull up following revision(s) (requested by plunky in ticket #1383):
	sys/dev/pckbport/synapticsreg.h: revision 1.6
	sys/dev/pckbport/synaptics.c: revision 1.22
	sys/dev/pckbport/synaptics.c: revision 1.23
	sys/dev/pckbport/synaptics.c: revision 1.24
some definitions from the Linux driver (via PR kern/42853)
Extended capability probes can confuse the passthrough device,
reset the touchpad on enable to cure that.
send the SET_SCALE11 command before the 'sliced' command as per the
Linux driver (and elantech(4)), via PR kern/42853

Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Nov 15 05:58:18 2010 UTC (14 years ago) by uebayasi
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -2 lines
wakeup needs sys/proc.h.

Revision 1.20.4.2: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:54:07 2010 UTC (14 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.20.4.1: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.4.1: +22 -5 lines
sync with head.

Revision 1.21.22.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:41 2010 UTC (14 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +22 -5 lines
sync with head

Revision 1.21.20.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:45 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +22 -5 lines
Sync with HEAD.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Mar 21 20:04:43 2010 UTC (14 years, 8 months ago) by plunky
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +6 -3 lines
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 - view: text, markup, annotated - select for diffs
Sun Mar 21 19:57:05 2010 UTC (14 years, 8 months ago) by plunky
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +17 -3 lines
Extended capability probes can confuse the passthrough device,
reset the touchpad on enable to cure that.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Mar 21 19:53:52 2010 UTC (14 years, 8 months ago) by plunky
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3 lines
some definitions from the Linux driver (via PR kern/42853)

Revision 1.19.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:45 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.19.6.1: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.6.1: +1 -1 lines
Sync with HEAD.

Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:34:35 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +3 -3 lines
sync with head.

Revision 1.20.4.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:24:57 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3 lines
sync with head.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Apr 30 14:07:14 2008 UTC (16 years, 7 months ago) by ad
Branches: 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
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3 lines
Make various bits of debug code compile again.

Revision 1.19.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:54 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +29 -29 lines
Sync with HEAD.

Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:16:04 2008 UTC (16 years, 8 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +29 -29 lines
sync with head.

Revision 1.15.10.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:51 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.15.10.2: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.10.2: +29 -27 lines
sync with HEAD

Revision 1.6.2.7: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:15:22 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.6.2.6: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.2.6: +29 -29 lines
sync with head.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Mar 15 18:46:22 2008 UTC (16 years, 8 months ago) by cube
Branches: 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
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +29 -29 lines
Split device_t and softc for pckbd(4) and pms(4).

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:06:20 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +6 -3 lines
Sync with HEAD.

Revision 1.6.2.6: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:23:33 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.6.2.5: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.5: +6 -4 lines
sync with head.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Jan 28 22:30:27 2008 UTC (16 years, 10 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, hpcarm-cleanup-base
Branch point for: mjf-devfs2, keiichi-mipv6
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -3 lines
Change synaptics 'unusual delay' printf to aprint_debug. I'm tired of
seeing it over and over again.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Jan 28 22:28:32 2008 UTC (16 years, 10 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -3 lines
De-noisify resume handler.

Revision 1.6.2.5: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:44:26 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.6.2.4: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.4: +2 -1 lines
sync with head

Revision 1.15.10.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:54:13 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.15.10.1: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.10.1: +2 -1 lines
sync with HEAD

Revision 1.16.4.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:47:18 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +2 -1 lines
Sync with head.

Revision 1.16.8.1: download - view: text, markup, annotated - select for diffs
Thu Dec 13 21:56:04 2007 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +2 -1 lines
Sync with HEAD

Revision 1.16.6.1: download - view: text, markup, annotated - select for diffs
Tue Dec 11 15:37:18 2007 UTC (17 years ago) by yamt
Branches: yamt-kmem
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +2 -1 lines
sync with head.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Dec 11 11:28:46 2007 UTC (17 years ago) by lukem
Branches: 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
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -1 lines
use __KERNEL_RCSID()

Revision 1.15.10.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:29:39 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
sync with HEAD

Revision 1.6.2.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:33:40 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.6.2.3: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.3: +2 -2 lines
sync with head.

Revision 1.15.8.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:47:02 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +2 -2 lines
Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.15.14.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:39:24 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +2 -2 lines
Sync with HEAD.

Revision 1.13.8.2: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:09:23 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.13.8.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.8.1: +2 -2 lines
Sync with head.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:01:03 2007 UTC (17 years, 1 month ago) by ad
Branches: 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
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.6.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:38:02 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.6.2.2: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.2: +107 -59 lines
sync with head.

Revision 1.13.10.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:08:07 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +107 -59 lines
Sync with head.

Revision 1.13.4.1: download - view: text, markup, annotated - select for diffs
Sun Apr 15 16:03:30 2007 UTC (17 years, 7 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +107 -59 lines
sync with head.

Revision 1.13.8.1: download - view: text, markup, annotated - select for diffs
Tue Apr 10 13:24:33 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +107 -59 lines
Sync with head.

Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Sun Apr 1 16:05:13 2007 UTC (17 years, 8 months ago) by bouyer
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +107 -59 lines
Pull up following revision(s) (requested by mlelstv in ticket #550):
	sys/dev/pckbport/synaptics.c: revisions 1.14, 1.15
Handle events from passthrough devices like the Thinkpad
'Navistick'.
add missing W coordinate

Revision 1.13.12.1: download - view: text, markup, annotated - select for diffs
Thu Mar 29 19:27:53 2007 UTC (17 years, 8 months ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +107 -59 lines
Pullup to -current

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Mar 25 20:28:03 2007 UTC (17 years, 8 months ago) by mlelstv
Branches: 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
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
add missing W coordinate

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Mar 25 16:26:41 2007 UTC (17 years, 8 months ago) by mlelstv
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +107 -59 lines
Handle events from passthrough devices like the Thinkpad 'Navistick'.

Revision 1.6.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:49:17 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.6.2.1: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.1: +5 -3 lines
sync with head.

Revision 1.10.8.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:18:06 2006 UTC (18 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.10.8.1: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.8.1: +6 -4 lines
sync with head.

Revision 1.10.6.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:43 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +5 -3 lines
Sync with head.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:20 2006 UTC (18 years ago) by christos
Branches: 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
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
__unused removal on arguments; approved by core.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Nov 12 19:00:43 2006 UTC (18 years ago) by plunky
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +5 -3 lines
Tidy away wsmouse_input() abstractions and update
documentation to include the W direction.

Revision 1.10.8.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:06:38 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
sync with head

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:31:49 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.9.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:53:54 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +2 -5 lines
sync with head

Revision 1.9.8.1: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:52:26 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +2 -5 lines
sync with head.

Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:06:14 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +10 -13 lines
sync with head.

Revision 1.9.14.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 04:05:48 2006 UTC (18 years, 5 months ago) by chap
Branches: chap-midi
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +2 -5 lines
Sync with head.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Jun 7 22:33:37 2006 UTC (18 years, 6 months ago) by kardel
Branches: 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
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -5 lines
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.6.2: download - view: text, markup, annotated - select for diffs
Mon Apr 24 05:16:12 2006 UTC (18 years, 7 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.9.6.1: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.6.1: +1 -2 lines
remove int s; (for spl level) as time counter conversion makes
that obsolete.

Revision 1.9.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 4 14:03:58 2006 UTC (18 years, 10 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -4 lines
Adapt for timecounters: mostly use get*time() and use "time_second"
instead of "time.tv_sec".

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Dec 24 20:27:52 2005 UTC (18 years, 11 months ago) by perry
Branches: 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
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +8 -8 lines
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:23:22 2005 UTC (19 years ago) by christos
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -1 lines
merge ktrace-lwp.

Revision 1.3.4.5: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:07:24 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.3.4.4: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.4.4: +3 -3 lines
Sync with HEAD. Here we go again...

Revision 1.6.4.1: download - view: text, markup, annotated - select for diffs
Wed Nov 2 11:58:10 2005 UTC (19 years, 1 month ago) by yamt
Branches: yamt-vop
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +2 -2 lines
sync with head.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Oct 26 17:20:19 2005 UTC (19 years, 1 month ago) by rpaulo
Branches: 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
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
s/SYNAPTICS_DEBUG/SYNAPTICSDEBUG/ to keep consistency.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Jun 20 02:49:19 2005 UTC (19 years, 5 months ago) by atatat
Branches: MAIN
CVS tags: yamt-vop-base2, yamt-vop-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-vop, yamt-lazymbuf
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
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.3.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:13 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +5 -3 lines
sync with -current

Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:35:34 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +3 -3 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.3.4.4: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:49:38 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.3.4.3: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.4.3: +3 -3 lines
Sync with HEAD.

Hi Perry!

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:42 2005 UTC (19 years, 9 months ago) by perry
Branches: 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
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
nuke trailing whitespace

Revision 1.3.4.3: download - view: text, markup, annotated - select for diffs
Mon Jan 24 08:35:36 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.3.4.2: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.4.2: +3 -1 lines
Sync with HEAD.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Jan 18 10:22:51 2005 UTC (19 years, 10 months ago) by scw
Branches: MAIN
CVS tags: yamt-km-base2, yamt-km-base
Branch point for: yamt-km
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -1 lines
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.4.2: download - view: text, markup, annotated - select for diffs
Mon Jan 17 19:31:51 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.3.4.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.4.1: +1235 -0 lines
Sync with HEAD.

Revision 1.3.4.1
Sun Jan 2 22:37:12 2005 UTC (19 years, 11 months ago) by skrll
Branches: ktrace-lwp
FILE REMOVED
Changes since revision 1.3: +0 -1235 lines
file synaptics.c was added on branch ktrace-lwp on 2005-01-17 19:31:51 +0000

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Jan 2 22:37:12 2005 UTC (19 years, 11 months ago) by scw
Branches: MAIN
CVS tags: kent-audio1-beforemerge
Branch point for: ktrace-lwp, kent-audio2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +954 -357 lines
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 - view: text, markup, annotated - select for diffs
Tue Dec 28 20:47:18 2004 UTC (19 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +23 -21 lines
- cleanup some debugging stuff.
- don't create the sysctl nodes if we don't have a synaptics pad.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Dec 24 18:33:06 2004 UTC (19 years, 11 months ago) by christos
Branches: MAIN
PR/28774: Kentaro A. Kurahone: Add synaptics touchpad driver

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>