Discussion:
[Bug 228668] [psm] Alps GlidePoint on HP EliteBook 1040 G3: No two
(too old to reply)
b***@freebsd.org
2018-06-02 01:28:52 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228668

Bug ID: 228668
Summary: [psm] Alps GlidePoint on HP EliteBook 1040 G3: No two
finger scroll
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: ***@FreeBSD.org
Reporter: ***@neelc.org

Created attachment 193905
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=193905&action=edit
HP EliteBook 1040 G3 psm snippets

I just got a HP EliteBook 1040 G3 to replace an older 1040 G1, and am not able
to do two finger scroll. I tried this with enabling Synaptics and Elantech
support in /boot/loader.conf, and tried both with and without moused. If I put
two fingers on the touchpad, the cursor does not move, but the page does not
scroll.

Unlike the 1040 G1 or G2 which used a Synaptics "ForcePad" (pressure sensitive
touchpad like Apple's "Force Touch"), the 1040 G3 uses a ClickPad, but one
backed by an Alps GlidePoint instead of Synaptics or Elantech. Looking at
psm.c, I did not see any code for two finger scrolling on Alps touchpads (It
seems Dell Latitudes and E-series ThinkPads also use GlidePoints, and both
**probably** have this issue).

There is an Hackintosh touchpad driver which seems interesting:
https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller

They even have a driver for multiple trackpads, including Alps units:
https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller/tree/master/VoodooPS2Trackpad
(maybe at the files VoodooPS2ALPSGlidePoint.cpp and VoodooPS2ALPSGlidePoint.h?)

I have attached psm snippets, and will attach my full dmesg log.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2018-06-02 01:29:31 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228668

--- Comment #1 from Neel Chauhan <***@neelc.org> ---
Created attachment 193906
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=193906&action=edit
Full dmesg log

Also, here is my dmesg log.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2018-06-02 01:34:27 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228668

Neel Chauhan <***@neelc.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #193906|0 |1
is obsolete| |

--- Comment #2 from Neel Chauhan <***@neelc.org> ---
Created attachment 193907
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=193907&action=edit
Full dmesg log

Oops, accidentally uploaded psm snippet again.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2018-06-11 14:32:21 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228668

--- Comment #3 from Neel Chauhan <***@neelc.org> ---
I haven't done any coding yet, but I decided that I will port the driver from
OpenBSD. My GitHub tree is here:
https://github.com/neelchauhan/freebsd-glidepiint
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2018-06-11 17:27:45 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228668

--- Comment #4 from Neel Chauhan <***@neelc.org> ---
(In reply to Neel Chauhan from comment #3)
I ultimately decided not to do the coding, but I saw GlidePoint support in
OpenBSD (which is probably a better source than Linux or Hackintosh drivers).
The files are here:

https://github.com/openbsd/src/blob/master/sys/dev/pckbc/pms.c
https://github.com/openbsd/src/blob/master/sys/dev/pckbc/pmsreg.h
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2018-06-11 18:09:25 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228668

Neel Chauhan <***@neelc.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Summary|[psm] Alps GlidePoint on HP |[psm] Alps GlidePoint on HP
|EliteBook 1040 G3: No two |EliteBook 1040 G3: No two
|finger scroll |finger scroll (OpenBSD has
| |driver)
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2018-06-15 13:15:18 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228668

Vladimir Kondratyev <***@freebsd.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@freebsd.org

--- Comment #5 from Vladimir Kondratyev <***@freebsd.org> ---
(In reply to Neel Chauhan from comment #4)
Hi Neel,

Did you try Voodoo or OpenBSD drivers on your laptop?

Your touchpad version query result (psm: status 73 03 0a)
is marked as "non supported" in OpenBSD driver
https://github.com/openbsd/src/blob/a79c7f9f2481c7393d42d9874e9d932378944610/sys/dev/pckbc/pms.c#L229
and is missed in Voodoo driver
https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller/blob/36ae070f752a6cdd1f1aa8d2baa5d099284939b3/VoodooPS2Trackpad/VoodooPS2ALPSGlidePoint.cpp#L146

So, most probably, Linux driver is the only available source.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2018-06-22 17:06:57 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228668

Mateusz Piotrowski <***@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@FreeBSD.org
Keywords| |needs-patch
Severity|Affects Only Me |Affects Some People
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...