Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2021 23:43:41 GMT
From:      Vladimir Kondratyev <wulf@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: b966556125c8 - stable/13 - psm: Enable touch-tracking for late Synaptics PS/2 touchpads.
Message-ID:  <202109212343.18LNhfTZ047941@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by wulf:

URL: https://cgit.FreeBSD.org/src/commit/?id=b966556125c8dec3f680cfa62dd8746e71fad955

commit b966556125c8dec3f680cfa62dd8746e71fad955
Author:     Vladimir Kondratyev <wulf@FreeBSD.org>
AuthorDate: 2021-09-02 19:29:49 +0000
Commit:     Vladimir Kondratyev <wulf@FreeBSD.org>
CommitDate: 2021-09-21 23:38:55 +0000

    psm: Enable touch-tracking for late Synaptics PS/2 touchpads.
    
    They are true multitouch internally but Synaptics PS/2 protocol
    limitations do not all allow to export touch identificators.
    
    (cherry picked from commit c21171af687e20173b6b39e33db55999ba8d715e)
---
 sys/dev/atkbdc/psm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/dev/atkbdc/psm.c b/sys/dev/atkbdc/psm.c
index f6276ae847aa..78955bf1b228 100644
--- a/sys/dev/atkbdc/psm.c
+++ b/sys/dev/atkbdc/psm.c
@@ -1845,6 +1845,8 @@ psm_register_synaptics(device_t dev)
 	evdev_set_id(evdev_a, BUS_I8042, PS2_MOUSE_VENDOR,
 	    PS2_MOUSE_SYNAPTICS_PRODUCT, 0);
 	evdev_set_methods(evdev_a, sc, &psm_ev_methods_a);
+	if (sc->synhw.capReportsV)
+		evdev_set_flag(evdev_a, EVDEV_FLAG_MT_TRACK);
 
 	evdev_support_event(evdev_a, EV_SYN);
 	evdev_support_event(evdev_a, EV_KEY);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109212343.18LNhfTZ047941>