I just got a HP EliteBook 1040 G1 and installed FreeBSD 12-CURRENT. Unlike EliteBooks with a pointing stick (2570p/8470p/840/etc), the Synaptics were detected out of the box. However, the 1040 G1 has a 'ForcePad', which instead of clicking on the trackpad, you put pressure on it. However, if I try to do two finger scrolling, sometimes I get a click, which gets annoying when browsing websites. Some research shows that Linux has fixed this problem in 2014. The URL for the commit is: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5715fc764f7753d464dbe094b5ef9cffa6e479a4 I will attach a dmesg log shortly.
Created attachment 187652 [details] dmesg output from EliteBook 1040 G1
Could you post output of next command here? devinfo -rv | grep psmcpnp0
The output is as follows: root@xb2:~ # devinfo -rv | grep psmcpnp0 psmcpnp0 pnpinfo _HID=SYN300D _UID=0 at handle=\_SB_.PCI0.LPCB.PS2M root@xb2:~ #
Created attachment 187732 [details] Add forcepad support Try attached patch
Thank you so much! Works perfectly (or at least for now).
Created attachment 187772 [details] Add forcepad support Patch updated. Previous version broke "Click and drag" gesture
Thank you. It works well.
A commit references this bug: Author: wulf Date: Wed Jan 31 21:14:59 UTC 2018 New revision: 328636 URL: https://svnweb.freebsd.org/changeset/base/328636 Log: psm(4): Add support for HP EliteBook 1040 ForcePads. ForcePads do not have any physical buttons, instead they detect click based on finger pressure. Forcepads erroneously report button click if there are 2 or more fingers on the touchpad breaking multifinger gestures. To workaround this start reporting a click only after 4 consecutive single touch packets has been received. Skip these packets in case more contacts appear. PR: 223369 Reported by: Neel Chauhan <neel@neelc.org> Tested by: Neel Chauhan <neel@neelc.org> Reviewed by: gonzo Approved by: gonzo Changes: head/sys/dev/atkbdc/psm.c head/sys/sys/mouse.h
A commit references this bug: Author: eadler Date: Mon Mar 19 03:46:13 UTC 2018 New revision: 331170 URL: https://svnweb.freebsd.org/changeset/base/331170 Log: MFC r328636: psm(4): Add support for HP EliteBook 1040 ForcePads. ForcePads do not have any physical buttons, instead they detect click based on finger pressure. Forcepads erroneously report button click if there are 2 or more fingers on the touchpad breaking multifinger gestures. To workaround this start reporting a click only after 4 consecutive single touch packets has been received. Skip these packets in case more contacts appear. PR: 223369 Changes: _U stable/11/ stable/11/sys/dev/atkbdc/psm.c stable/11/sys/sys/mouse.h