Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Bug 228668] [psm] Alps GlidePoint on HP EliteBook 1040 G3: No two

2 views
Skip to first unread message

bugzilla...@freebsd.org

unread,
Jun 1, 2018, 9:35:38 PM6/1/18
to
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: bu...@FreeBSD.org
Reporter: ne...@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.
_______________________________________________
freebs...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs...@freebsd.org"

bugzilla...@freebsd.org

unread,
Jun 1, 2018, 9:38:47 PM6/1/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228668

--- Comment #1 from Neel Chauhan <ne...@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.

bugzilla...@freebsd.org

unread,
Jun 1, 2018, 9:46:36 PM6/1/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228668

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

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

--- Comment #2 from Neel Chauhan <ne...@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.

bugzilla...@freebsd.org

unread,
Jun 11, 2018, 10:33:31 AM6/11/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228668

--- Comment #3 from Neel Chauhan <ne...@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

bugzilla...@freebsd.org

unread,
Jun 11, 2018, 1:28:52 PM6/11/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228668

--- Comment #4 from Neel Chauhan <ne...@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

bugzilla...@freebsd.org

unread,
Jun 11, 2018, 2:10:32 PM6/11/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228668

Neel Chauhan <ne...@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)

bugzilla...@freebsd.org

unread,
Jun 15, 2018, 9:16:24 AM6/15/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228668

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

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

--- Comment #5 from Vladimir Kondratyev <wu...@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.

bugzilla...@freebsd.org

unread,
Jun 22, 2018, 1:08:07 PM6/22/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228668

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

What |Removed |Added
----------------------------------------------------------------------------
CC| |0...@FreeBSD.org
Keywords| |needs-patch
Severity|Affects Only Me |Affects Some People
0 new messages