[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-09-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

--- Comment #36 from Juan Ramón Molina Menor  ---
I have a ThinkPad with Synaptics multi-touch trackpad (capReportsV: 1, see
above for details) and I’ve not found regressions with this new patch.
Softbuttons, tapping, two-finger scroll, three-finger paste, etc. work as
expected. Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-09-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

Raphael 'kena' Poss  changed:

   What|Removed |Added

  Flags||mfc-stable11?
Version|10.2-STABLE |CURRENT

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-09-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

Vladimir Kondratyev  changed:

   What|Removed |Added

 Attachment #172702|0   |1
is obsolete||

--- Comment #35 from Vladimir Kondratyev  ---
Created attachment 174447
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=174447=edit
elantech.diff (12-CURRENT)

Finally, I had got laptop with synaptics touchpad to play with and wrote
"Extended W mode" AKA "advanced gestures" packets parser to enable multitouch
functionality on synaptcs.

Changes are:

1. Multitouch support to synaptics psm driver.
2. Some minor fixes.
3. Resize clickpad softbuttons. Now they relative sizes should be 42%-16%-42%
(L-M-R). This change affects elans too.

Unfortunately, only semi-mt trackpads has been tested. Modern multitouch are
not. Multitouch trackpad can be recognized by presence of enabled (set to 1)
capReportsV property in "Continued capabilities" section of verbose boot log, i
think. Set debug.psm.loglevel=2 in /boot/loader.conf to obtain this log.

Enjoy :-)

P.S. Thanks all for previous versions testing

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-07-31 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

--- Comment #34 from Juan Ramón Molina Menor  ---
(In reply to Vladimir Kondratyev from comment #30)
>> Gest 1: Cursor jumps on p. 5. Scroll stops in p. 6. and cursor resumes 
>> moving.
>New version should eliminate cursor jump

Yes it does.

>>  Continued capabilities:
>>   capClickPad: 1
>Is it synaptics clickpad?
>If so, could you check proper softbuttons sizing? Pressing on to lower-right
>part of synaptics clickpad should produce middle or right mouse button events 
>rather than left button event. Zones are tuned via 
>hw.psm.synaptics.softbutton3_x, hw.psm.synaptics.softbutton2_x and 
>hw.psm.synaptics.softbuttons_y sysctls and their default values was taken to 
>match HP pavillion clickpad drawing. I wonder, if these values match your 
>touchpad geometry?

Thanks for pointing this, I didn’t know. Softbuttons are also working, but
require fine-tuning their position with the sysctl values. They also require an
actual click, tapping would not trigger them. All considered, I still prefer
double and triple tapping.

Best regards,
Juan

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-07-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

--- Comment #33 from Juan Ramón Molina Menor  ---
Hi Vladimir.

Sorry for not replying earlier.

Unfortunately, I’m having a graphics problem with the laptop with the Elantech
touchpad: I’m testing the DRM 4.6 support and something has broken Xorg in a
recent commit. I’m not seeing the 'jump' issues with the touchpad in the
console, but there is no two-finger scroll to be tested…

Well, I have tested your new path in my Haswell laptop with a Synaptics
touchpad and it works as before, so support do not seem to have regressed.

I’ll be back to you as soon as I have something. Thanks for your efforts.
Juan

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-07-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

--- Comment #32 from Ben Woods  ---
Hi Vladimir,

Please see below the same details for my touchpad.

# dmesg
...
skipped
...
psm0: current command byte:0065
psm: ENABLE_DEV return code:00fa
psm: DISABLE_DEV return code:00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 00 02 64
psm: SEND_DEV_ID return code:00fa
psm: device ID: 
psm: SET_RESOLUTION (0) 00fa
psm: SET_SCALING11 return code:00fa
psm: SET_SCALING11 return code:00fa
psm: SET_SCALING11 return code:00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 3c 03 00
psm: SET_RESOLUTION (3) 00fa
psm: SET_SCALING11 return code:00fa
psm: SET_SCALING11 return code:00fa
psm: SET_SCALING11 return code:00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 3c 03 00
psm: SET_RESOLUTION (3) 00fa
psm: SET_SCALING11 return code:00fa
psm: SET_SCALING11 return code:00fa
psm: SET_SCALING11 return code:00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 3c 03 00
psm: SET_SCALING11 return code:00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (2) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (2) 00fa
psm: SET_RESOLUTION (3) 00fa
psm: SEND_AUX_DEV_DATA return code:00fa
psm: data 00 00 
psm: SET_SAMPLING_RATE (200) 00fa
psm: SET_SAMPLING_RATE (100) 00fa
psm: SET_SAMPLING_RATE (80) 00fa
psm: SEND_DEV_ID return code:00fa
psm: device ID: 
psm: SET_SAMPLING_RATE (200) 00fa
psm: SET_SAMPLING_RATE (200) 00fa
psm: SET_SAMPLING_RATE (80) 00fa
psm: SEND_DEV_ID return code:00fa
psm: device ID: 
psm: SET_SAMPLING_RATE (200) 00fa
psm: SET_SAMPLING_RATE (100) 00fa
psm: SET_SAMPLING_RATE (80) 00fa
psm: SET_SAMPLING_RATE (60) 00fa
psm: SET_SAMPLING_RATE (40) 00fa
psm: SET_SAMPLING_RATE (20) 00fa
psm: SEND_DEV_ID return code:00fa
psm: device ID: 
psm: SEND_DEV_ID return code:00fa
psm: device ID: 
psm: SET_SCALING11 return code:00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 7a f0 1c
psm: SET_SCALING11 return code:00fa
psm: SET_SCALING11 return code:00fa
psm: SET_SCALING11 return code:00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 3c 03 00
psm: SET_SCALING11 return code:00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 46 1f 01
Elantech touchpad hardware v.4 firmware v.0x461f01
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 10 15 0e
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 06 66 04
psm: SET_SCALING11 return code:00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 7a f0 1c
  Model information:
   MaxX: 2800
   MaxY: 1820
   DpmmX:33
   DpmmY:33
   TracesX:  20
   TracesY:  13
   SemiMT:   0
   Clickpad: 1
   Trackpad: 0
   CRC:  0
   Pressure: 1
psm0: found Elantech Touchpad
psm: SET_RESOLUTION (2) 00fa
psm: SET_SAMPLING_RATE (100) 00fa
psm: SET_SCALING11 return code:00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 00 02 64
psm0:  irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Elantech Touchpad, device ID 0-00, 1 buttons
psm0: config:4000, flags:0008, packet size:6
psm0: syncmask:04, syncbits:00
...
skipped
...
psm: ENABLE_DEV return code:00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 20 02 64
psm: SET_SAMPLING_RATE (100) 00fa
psm: SET_RESOLUTION (2) 00fa
psm: SET_SCALING11 return code:00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 20 02 64


# sysctl hw.psm.elantech
hw.psm.elantech.softbutton3_x: 1400
hw.psm.elantech.softbutton2_x: 0
hw.psm.elantech.softbuttons_y: 455
hw.psm.elantech.touchpad_off: 0
hw.psm.elantech.vscroll_div_max: 50
hw.psm.elantech.vscroll_div_min: 30
hw.psm.elantech.vscroll_min_delta: 15
hw.psm.elantech.vscroll_ver_area: 0
hw.psm.elantech.vscroll_hor_area: 0
hw.psm.elantech.taphold_timeout: 125000
hw.psm.elantech.tap_min_queue: 2
hw.psm.elantech.tap_max_delta: 25
hw.psm.elantech.div_len: 30
hw.psm.elantech.div_max_na: 10
hw.psm.elantech.div_max: 6
hw.psm.elantech.div_min: 3
hw.psm.elantech.weight_len_squared: 200
hw.psm.elantech.weight_previous_na: 20
hw.psm.elantech.weight_previous: 6
hw.psm.elantech.weight_current: 3
hw.psm.elantech.multiplicator: 1
hw.psm.elantech.window_max: 10
hw.psm.elantech.window_min: 4
hw.psm.elantech.na_left: 0
hw.psm.elantech.na_bottom: 0
hw.psm.elantech.na_right: 0
hw.psm.elantech.na_top: 0
hw.psm.elantech.margin_left: 0
hw.psm.elantech.margin_bottom: 0
hw.psm.elantech.margin_right: 0
hw.psm.elantech.margin_top: 0
hw.psm.elantech.max_width: 10
hw.psm.elantech.max_pressure: 220
hw.psm.elantech.min_pressure: 1
hw.psm.elantech.two_finger_scroll: 1
hw.psm.elantech.directional_scrolls: 0


# grep -i psm /boot/loader.conf
hw.psm.elantech_support="1"

[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-07-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

Vladimir Kondratyev  changed:

   What|Removed |Added

 Attachment #172681|0   |1
is obsolete||

--- Comment #31 from Vladimir Kondratyev  ---
Created attachment 172702
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=172702=edit
elantech.diff (11-CURRENT)

Fix regression appeared in previous patch

Driver produced extra taps when used with Elan Hw v.4 TP

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-07-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

--- Comment #30 from Vladimir Kondratyev  ---
(In reply to Juan Ramón Molina Menor from comment #28)
> --- Elantech ---
> Gest 1: Cursor jumps on p. 5. Scroll stops in p. 6. and cursor resumes moving.
New version should eliminate cursor jump

> # sysctl hw.psm.synaptics
> 
> hw.psm.synaptics.na_right: 0
> hw.psm.synaptics.na_top: 1314
Ooops. I subtracted wrong axis here. Should be fixed now.

>  Continued capabilities:
>   capClickPad: 1
Is it synaptics clickpad?
If so, could you check proper softbuttons sizing? Pressing on to lower-right
part of synaptics clickpad should produce middle or right mouse button events
rather than left button event. Zones are tuned via
hw.psm.synaptics.softbutton3_x, hw.psm.synaptics.softbutton2_x and
hw.psm.synaptics.softbuttons_y sysctls and their default values was taken to
match HP pavillion clickpad drawing. I wonder, if these values match your
touchpad geometry?

Big thanx for testing, Juan!

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-07-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

Vladimir Kondratyev  changed:

   What|Removed |Added

 Attachment #171726|0   |1
is obsolete||

--- Comment #29 from Vladimir Kondratyev  ---
Created attachment 172681
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=172681=edit
elantech.diff (11-CURRENT)

Changes:
1. (Hopefully) fixes cursor jump after releasing of one finger in "2finger
scroll" on Hw v.3 touchpads
2. fixes staying in "2finger scroll" state after releasing of one finger on Hw
v.4 touchpads
3. (Hopefully) fixes incorrect noise area sizing for Synaptics touchpads

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-07-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

--- Comment #28 from Juan Ramón Molina Menor  ---
Hi again.

> Could you do following gestures and post results here:
>
> Gest 1.
> 1. Put first finger on e.g. left bottom corner of TP
> 2. Do a short move so cursor moves too
> 3. Put second finger on opposite corner
> 4. Move both fingers to trigger 2finger scroll
> 5. Release first (left) finger but leave second on TP
> 6. Move second finger across TP
>
> Gest 2.
> 1 - 4 is the same
> 5. Release second (right) finger but leave first on TP
> 6. Move first finger across TP

Results:

--- Synaptics ---
Gest 1 and 2: Cursor does not jump on p. 5. Scroll stops in p. 6 and cursor
resumes moving.

--- Elantech ---
Gest 1: Cursor jumps on p. 5. Scroll stops in p. 6. and cursor resumes moving.
Gest 2: Cursor does not jump on p. 5. Scroll stops in p. 6 and cursor resumes
moving.


> Could you post synaptics "dmesg" and "sysctl hw.psm." output here too?

# dmesg
...
Synaptics Touchpad v8.1
...
  Model information:
   infoRot180: 0
   infoPortrait: 0
   infoSensor: 1
   infoHardware: 113
   infoNewAbs: 1
   capPen: 0
   infoSimplC: 1
   infoGeometry: 1
...
  Extended capabilities:
   capExtended: 1
   capMiddle: 0
   nExtendedQueries: 5
   capPassthrough: 1
   capLowPower: 0
   capMultiFingerReport: 1
   capSleep: 0
   capFourButtons: 0
   capBallistics: 0
   capMultiFinger: 1
   capPalmDetect: 1
   infoXupmm: 45
   infoYupmm: 52
...
  Extended model ID:
   verticalScroll: 0
   horizontalScroll: 0
   verticalWheel: 0
   nExtendedButtons: 0
   capEWmode: 1
...
  Continued capabilities:
   capClickPad: 1
   capDeluxeLEDs: 0
   noAbsoluteFilter: 0
   capReportsV: 1
   capUniformClickPad: 0
   capReportsMin: 1
   capInterTouch: 1
   capReportsMax: 1
   capClearPad: 0
   capAdvancedGestures: 0
   capCoveredPad: 0
   maximumXCoord: 5674
   maximumYCoord: 4684
   minimumXCoord: 1266
   minimumYCoord: 1170
  Additional Buttons: 1
...
psm0: found Synaptics Touchpad
...
psm0:  irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Synaptics Touchpad, device ID 0-00, 4 buttons
psm0: config:4000, flags:0008, packet size:6
psm0: syncmask:c0, syncbits:00

# sysctl hw.psm.synaptics
hw.psm.synaptics.softbutton3_x: 4700
hw.psm.synaptics.softbutton2_x: 3600
hw.psm.synaptics.softbuttons_y: 1700
hw.psm.synaptics.touchpad_off: 0
hw.psm.synaptics.vscroll_div_max: 150
hw.psm.synaptics.vscroll_div_min: 100
hw.psm.synaptics.vscroll_min_delta: 50
hw.psm.synaptics.vscroll_ver_area: -400
hw.psm.synaptics.vscroll_hor_area: 0
hw.psm.synaptics.taphold_timeout: 125000
hw.psm.synaptics.tap_min_queue: 2
hw.psm.synaptics.tap_max_delta: 80
hw.psm.synaptics.div_len: 100
hw.psm.synaptics.div_max_na: 30
hw.psm.synaptics.div_max: 17
hw.psm.synaptics.div_min: 9
hw.psm.synaptics.weight_len_squared: 2000
hw.psm.synaptics.weight_previous_na: 20
hw.psm.synaptics.weight_previous: 6
hw.psm.synaptics.weight_current: 3
hw.psm.synaptics.multiplicator: 1
hw.psm.synaptics.window_max: 10
hw.psm.synaptics.window_min: 4
hw.psm.synaptics.na_left: 1600
hw.psm.synaptics.na_bottom: 1408
hw.psm.synaptics.na_right: 0
hw.psm.synaptics.na_top: 1314
hw.psm.synaptics.margin_left: 200
hw.psm.synaptics.margin_bottom: 200
hw.psm.synaptics.margin_right: 0
hw.psm.synaptics.margin_top: 0
hw.psm.synaptics.max_width: 10
hw.psm.synaptics.max_pressure: 220
hw.psm.synaptics.min_pressure: 16
hw.psm.synaptics.two_finger_scroll: 1
hw.psm.synaptics.directional_scrolls: 0

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-07-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

--- Comment #27 from Vladimir Kondratyev  ---
(In reply to Juan Ramón Molina Menor from comment #26)
> Elantech touchpad hardware v.3 firmware v.0x350f00

HW version 3 can be considered as basicaly working. Thanks

>   SemiMT:   1

Here is harmless bug in driver. HWv3 is multitouch TP not semi-multitouch. I
will fix that

Could you do following gestures and post results here:

Gest 1.
1. Put first finger on e.g. left bottom corner of TP
2. Do a short move so cursor moves too
3. Put second finger on opposite corner
4. Move both fingers to trigger 2finger scroll
5. Release first (left) finger but leave second on TP
6. Move second finger across TP

Gest 2.
1 - 4 is the same
5. Release second (right) finger but leave first on TP
6. Move first finger across TP


Does cursor jump on p.5?
What is happening on p.6? Cursor moving or scrolling?

Could you post synaptics "dmesg" and "sysctl hw.psm." output here too?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-07-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

--- Comment #26 from Juan Ramón Molina Menor  ---
# dmesg
...
Elantech touchpad hardware v.3 firmware v.0x350f00
...
  Model information:
   MaxX: 2436
   MaxY: 1044
   DpmmX:32
   DpmmY:32
   TracesX:  22
   TracesY:  10
   SemiMT:   1
   Clickpad: 0
   Trackpad: 0
   CRC:  0
   Pressure: 1
psm0: found Elantech Touchpad
...
psm0:  irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Elantech Touchpad, device ID 0-00, 3 buttons
psm0: config:4000, flags:0008, packet size:6
psm0: syncmask:04, syncbits:00

# sysctl hw.psm.elantech
hw.psm.elantech.touchpad_off: 0
hw.psm.elantech.vscroll_div_max: 50
hw.psm.elantech.vscroll_div_min: 30
hw.psm.elantech.vscroll_min_delta: 15
hw.psm.elantech.vscroll_ver_area: 0
hw.psm.elantech.vscroll_hor_area: 0
hw.psm.elantech.taphold_timeout: 125000
hw.psm.elantech.tap_min_queue: 2
hw.psm.elantech.tap_max_delta: 25
hw.psm.elantech.div_len: 30
hw.psm.elantech.div_max_na: 10
hw.psm.elantech.div_max: 6
hw.psm.elantech.div_min: 3
hw.psm.elantech.weight_len_squared: 200
hw.psm.elantech.weight_previous_na: 20
hw.psm.elantech.weight_previous: 6
hw.psm.elantech.weight_current: 3
hw.psm.elantech.multiplicator: 1
hw.psm.elantech.window_max: 10
hw.psm.elantech.window_min: 4
hw.psm.elantech.na_left: 0
hw.psm.elantech.na_bottom: 0
hw.psm.elantech.na_right: 0
hw.psm.elantech.na_top: 0
hw.psm.elantech.margin_left: 0
hw.psm.elantech.margin_bottom: 0
hw.psm.elantech.margin_right: 0
hw.psm.elantech.margin_top: 0
hw.psm.elantech.max_width: 10
hw.psm.elantech.max_pressure: 220
hw.psm.elantech.min_pressure: 1
hw.psm.elantech.two_finger_scroll: 1
hw.psm.elantech.directional_scrolls: 0

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-07-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

--- Comment #25 from Vladimir Kondratyev  ---
(In reply to Juan Ramón Molina Menor from comment #24)
Thank you, Juan!

Could you add debug.psm.loglevel=2 to /boot/loader.conf and provide us with
some info about your touchpad hardware from "dmesg" and "sysctl hw.psm."
commands output?

Following is what my laptop prints:

# dmesg
... skipped ...
Elantech touchpad hardware v.4 firmware v.0x461f02
... skipped ...
  Model information:
   MaxX: 2772
   MaxY: 1452
   DpmmX:32
   DpmmY:32
   TracesX:  21
   TracesY:  11
   SemiMT:   0
   Clickpad: 1
   Trackpad: 0
   CRC:  0
   Pressure: 1
psm0: found Elantech Touchpad

# sysctl hw.psm.elantech.
hw.psm.elantech.softbutton3_x: 1848
hw.psm.elantech.softbutton2_x: 924
hw.psm.elantech.softbuttons_y: 363
hw.psm.elantech.touchpad_off: 0
hw.psm.elantech.vscroll_div_max: 50
hw.psm.elantech.vscroll_div_min: 30
hw.psm.elantech.vscroll_min_delta: 15
hw.psm.elantech.vscroll_ver_area: 0
hw.psm.elantech.vscroll_hor_area: 0
hw.psm.elantech.taphold_timeout: 25
hw.psm.elantech.tap_min_queue: 2
hw.psm.elantech.tap_max_delta: 25
hw.psm.elantech.div_len: 30
hw.psm.elantech.div_max_na: 10
hw.psm.elantech.div_max: 6
hw.psm.elantech.div_min: 3
hw.psm.elantech.weight_len_squared: 200
hw.psm.elantech.weight_previous_na: 20
hw.psm.elantech.weight_previous: 6
hw.psm.elantech.weight_current: 3
hw.psm.elantech.multiplicator: 1
hw.psm.elantech.window_max: 10
hw.psm.elantech.window_min: 4
hw.psm.elantech.na_left: 0
hw.psm.elantech.na_bottom: 0
hw.psm.elantech.na_right: 0
hw.psm.elantech.na_top: 0
hw.psm.elantech.margin_left: 0
hw.psm.elantech.margin_bottom: 0
hw.psm.elantech.margin_right: 0
hw.psm.elantech.margin_top: 0
hw.psm.elantech.max_width: 10
hw.psm.elantech.max_pressure: 220
hw.psm.elantech.min_pressure: 1
hw.psm.elantech.two_finger_scroll: 1
hw.psm.elantech.directional_scrolls: 0

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-07-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

Juan Ramón Molina Menor  changed:

   What|Removed |Added

 CC||i...@juanmolina.eu

--- Comment #24 from Juan Ramón Molina Menor  ---
I have tested the patch on two Lenovo laptops which have Synaptics (ThinkPad
S440) and Elantech (S20-30) trackpads. I already had Synaptics support with the
psm(4) driver and the patch doesn’t seem to introduce regressions.

What I have tested, both on console and X:
 - Select / Copy / Paste with tap, drag and three-finger tap.
 - Two-finger scroll.
 - Normal button operation.

Hope it helps,
Juan

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-07-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

--- Comment #23 from Ben Woods  ---
(In reply to Anthony Jenkins from comment #21)
Hi Anthony, how has your testing gone with this driver installed on a system
with a synaptics touchpad for regression testing purposes?

Maybe we could now land this driver in 12-current?

Adrian: would you be willing to have a look, as previously mentioned?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-06-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

Anthony Jenkins  changed:

   What|Removed |Added

 CC||scoobi_...@yahoo.com

--- Comment #21 from Anthony Jenkins  ---
(In reply to Ben Woods from comment #20)

I've been running an early version of this patch on my laptop with a Synaptics
touchpad with no problem; I'll try the latest version.

Does the multitouch functionality extend to the Synaptics variant of psm(4)?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-06-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

--- Comment #20 from Ben Woods  ---
(In reply to Vladimir Kondratyev from comment #16)
> Multitouch version attached. I hope it works

Yep - this is working fine for me. This is the best version yet - I have two
finger scroll and click-and-drag both working, regardless of whether or not my
drag finger was on the touchpad before I click or not. Thank you!

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-06-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

--- Comment #18 from Ben Woods  ---
Not sure if it helps to say that the majority of this code only take effect if
the following sysctl is set at boot time:
hw.psm.elantech_support="1"

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-06-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

Ben Woods  changed:

   What|Removed |Added

 CC||adr...@freebsd.org

--- Comment #17 from Ben Woods  ---
Adrian / Vladimir: what are your thoughts about whether this could make it into
FreeBSD 11? Is it too late now that we are in code/ABI freeze?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-06-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

--- Comment #16 from Vladimir Kondratyev  ---
Multitouch version attached. I hope it works

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-06-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

Vladimir Kondratyev  changed:

   What|Removed |Added

 Attachment #171573|0   |1
is obsolete||

--- Comment #15 from Vladimir Kondratyev  ---
Created attachment 171726
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=171726=edit
elantech.diff (11-CURRENT)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-06-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

--- Comment #14 from Vladimir Kondratyev  ---
(In reply to Ben Woods from comment #13)
This behaviour is expected. Gesture processor is single-touch only, so driver
tries to predict which finger will move and sometimes does it wrong.
I tried to split current code on separate movement smoother and gesture
processor parts to be able to use 2 instances of smoother and track both
fingers at one time but some regressions appeared. I will post updated patch
here if I fix them but can say nothing about timeframe

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-06-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

--- Comment #13 from Ben Woods  ---
(In reply to Vladimir Kondratyev from comment #11)
> Try updated patch. It forbids entering 2 finger scroll mode when any button 
> is pressed

Hi Vladimir,
Thanks for that - it works very nicely! It works as long as I click before
touching my other finger to the touchpad. However, if I happen to have my other
finger already resting on the touchpad then it still doesn't work, and
sometimes tries to scroll. Is it possible to make the click take precedence and
cancel any current multitouch action?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-06-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

Ben Woods  changed:

   What|Removed |Added

 Attachment #164815|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-06-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

Ben Woods  changed:

   What|Removed |Added

 Attachment #171478|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-06-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

Vladimir Kondratyev  changed:

   What|Removed |Added

 Attachment #171570|0   |1
is obsolete||

--- Comment #12 from Vladimir Kondratyev  ---
Created attachment 171573
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=171573=edit
elantech.diff (11-CURRENT)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-06-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

--- Comment #11 from Vladimir Kondratyev  ---
(In reply to Ben Woods from comment #9)

Try updated patch. It forbids entering 2 finger scroll mode when any button is
pressed

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-06-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

Vladimir Kondratyev  changed:

   What|Removed |Added

 Attachment #171497|0   |1
is obsolete||

--- Comment #10 from Vladimir Kondratyev  ---
Created attachment 171570
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=171570=edit
elantech.diff (11-CURRENT)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-06-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

--- Comment #9 from Ben Woods  ---
Hi Vladimir,
I am not convinced that click and drag only needs support in X, and therefore
doesn't need to be in the psm(4) driver. In fact, if I disable the elantech
support with this patch, click and drag is support with the moused generic 3
button mouse support. Enabling the elantech support breaks click and drag, but
it would be handy to use in both the console and in X (for copying).

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-06-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

--- Comment #8 from Vladimir Kondratyev  ---
(In reply to Ben Woods from comment #7)
Thanks for testing, Ben!

Click and drag is not supported. It is a restriction of single-touch gesture
processor dated back to 2008 and r183888. Single-double-triple tap and drag
only.

It`s possible to add a hack to simulate this but i think it is a wrong way. IMO
the right way is to move gesture processing to one of already existing userland
library and leave current code path in its current state to vt & sc mouses
only.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-06-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

--- Comment #7 from Ben Woods  ---
(In reply to Vladimir Kondratyev from comment #6)
Hi Vladimir,

Thanks for the update. I have tested it and confirm that it still allows me to
have working two-finger scrolling, even without the evdev work. I do still have
a problem with click-and-drag.

Thanks for your work on this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-06-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

--- Comment #6 from Vladimir Kondratyev  ---
Hi, all

Here is up to date version of patch from my private repository. It is
simplified version of previous patch as I changed direction of development and
now use evdev interface for direct reporting of absolute fingers position to
libinput or xf86-synaptics driver (evdev part is not included here). So for
most people this patch will not make life better as compared with previous
version :-(

Most notable changes are:
1. Dirty "Multitouch" hack has been removed. For now only first finger position
is accounted for 2 finger scroll
2. (Unested) Ver 2. Hardware initialization sequence changed to match OpenBSD
not Linux (linux guys did not commit that part for unknown reason)
3. HW Ver 3 2finger touch is processed as single 12-byte packet not as 2
6-bytes packets. (Libinput wants this)
4. diff size has been reduced
5. Something else that I cant remember.

Not all of these changes  has been tested due to lack of hardware so
regressions are possible.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-06-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

Vladimir Kondratyev  changed:

   What|Removed |Added

 CC||w...@cicgroup.ru

--- Comment #5 from Vladimir Kondratyev  ---
Created attachment 171497
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=171497=edit
elantech.diff (11-CURRENT)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-06-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

Ben Woods  changed:

   What|Removed |Added

 Attachment #171472|0   |1
is obsolete||

--- Comment #4 from Ben Woods  ---
Created attachment 171478
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=171478=edit
Patch updated to apply cleanly against 11-current (r301929)

Updated patch to match original patch from Vladimir Kondratiev
.

The only differences to Vladimir's original patch are those required to make it
apply cleanly to 11-current (r301929).

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-06-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

--- Comment #3 from Ben Woods  ---
I can confirm that this patch against 11-current compiles and allows my
Elantech trackpad to work if I add the following line to /boot/loader.conf and
reboot:
hw.psm.elantech_support="1"

Two-finger scrolling works perfectly by default.

One interesting behaviour is click+drag does not work as expected. If I click
in the bottom left of the trackpad with one finger, and use a different finger
to drag on the track pad, I expect it to select the text from the start to
finish of the drag motion. Instead the cursor remains still on the screen and
it enables scroll action as I drag. I can still click+drag successfully using
another technique: double tap (touch) and drag with the one finger.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-06-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

Ben Woods  changed:

   What|Removed |Added

 Attachment #164815|1   |0
is obsolete||
 Attachment #164815|Combined back-port from |Patch to add Elantech
description|11-CURRENT psm + Elantech   |support to 10-STABLE
   |support patch   |(r292841)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-06-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

Ben Woods  changed:

   What|Removed |Added

 Attachment #164815|0   |1
is obsolete||

--- Comment #2 from Ben Woods  ---
Created attachment 171472
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=171472=edit
Patch updated to apply cleanly against 11-current (r301929)

Hi Raphael, thank you very much for your work on this!

I have gone through this patch line by line and modified it to apply cleanly to
11-current as of r301929.

I will rebuild my kernel+world now and do some testing.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2016-06-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

Renic Gunderson  changed:

   What|Removed |Added

 CC||thatguyre...@gmail.com

--- Comment #1 from Renic Gunderson  ---
I implemented this patch against releng/10.3 so that I could use it on my
laptop.  It seems to work without incident.

I don't know how to make a unified diff, so I will link the github repo where I
stored the changes.

https://github.com/renic/freebsd-elantech

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2015-12-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

Kubilay Kocak  changed:

   What|Removed |Added

   Keywords||feature, needs-qa
 CC||freebsd-mob...@freebsd.org
  Flags||mfc-stable10?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205690] [psm] [patch]: support for Elantech trackpads

2015-12-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

Bug ID: 205690
   Summary: [psm] [patch]: support for Elantech trackpads
   Product: Base System
   Version: 10.2-STABLE
  Hardware: amd64
OS: Any
Status: New
  Keywords: patch
  Severity: Affects Many People
  Priority: ---
 Component: kern
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: k...@thaumogen.net
CC: freebsd-am...@freebsd.org
CC: freebsd-am...@freebsd.org
  Keywords: patch

Created attachment 164815
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=164815=edit
Combined back-port from 11-CURRENT psm + Elantech support patch

Elantech trackpads are found in some laptops like the Asus UX31E. They are
"synaptics compatible" but use a slightly different protocol. They are well
supported on OpenBSD and NetBSD, but not in FreeBSD.

See previous discussions of issues:

https://lists.freebsd.org/pipermail/freebsd-x11/2012-August/012326.html

https://forums.freebsd.org/threads/touchpad-not-recognized-generic-ps-2-mouse-instead.50318/

A patch to support Elantech trackpads was proposed against 11-CURRENT by
Vladimir Kondratyev in September 2015 on the freebsd-mobile mailing list:

https://lists.freebsd.org/pipermail/freebsd-mobile/2015-September/013327.html

I hereby confirm as independent observer that this patch indeed works as
intended; moreover the Elantech trackpad is supported in 10-STABLE as well by
back-porting the patched psm driver from 11-CURRENT.

The attachment provides a combined patch against 10-STABLE revision 292841.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"