Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Apr 2022 18:38:59 +0200
From:      Bengt Ahlgren <bengt.ahlgren@ri.se>
To:        jbo@insane.engineer
Cc:        "stable@freebsd.org" <stable@freebsd.org>
Subject:   Re: Touchpad not working properly after suspend-resume
Message-ID:  <uh7ee27bkd8.fsf@P142.sics.se>
In-Reply-To: <jLu1vfkyGtPJxTV2AizTvTWxaH9Ln5t2TBOmTK1MXTHj3azLfRj5tkinJ8KTmHW3FAQ5WHBMFKbMswRprV6aQL4PlS4JA6dNFzxNbeZXY7Q=@insane.engineer> (jbo@insane.engineer's message of "Wed, 06 Apr 2022 20:01:41 %2B0000")
References:  <Cl1s1OJKbfD8X_HkD3ue9Px8u9Pk81IdpHzRaPKKdEDfqp1-DF0vQVBeBV0Dc6wjaGDN6Ko5Xopdfb6H7oMLqm-YIZOtUlISLPsylw5AmD8=@insane.engineer> <jLu1vfkyGtPJxTV2AizTvTWxaH9Ln5t2TBOmTK1MXTHj3azLfRj5tkinJ8KTmHW3FAQ5WHBMFKbMswRprV6aQL4PlS4JA6dNFzxNbeZXY7Q=@insane.engineer>

next in thread | previous in thread | raw e-mail | index | archive | help
jbo@insane.engineer writes:

> Hello folks,
>
> I'm experiencing issues with the touchpad after resuming from suspend.
>
> System:
>   - Lenovo ThinkPad X1 Carbon Gen9
>   - FreeBSD 13.1-STABLE (March 27 2022)
>
> After a regular boot, the touchpad is working as expected. If I then use zzz(8) to suspend the system and resume afterwards, the touchpad is behaving weirdly:
>   - Regular cursor movements (one finger) are very, very laggy. It feels like the system is updating the cursor's position only once ever 800ms (or there about).
>   - Anything multi-touch related such as two-finger scrolling is not working at all.
>
> The keyboard and the trackpoint (joystick-thingy) continue to work as expected after resuming from suspend.
>
> I'm using libinput as the input driver. Here's the relevant part of my Xorg config:
>
>   Section "InputClass"
>     Identifier "libinput touchpad catchall"
>     Driver "libinput"
>     MatchIsTouchpad "on"
>     MatchDevicePath "/dev/input/event*"
>     Option "AccelSpeed" "0.5"
>     Option "ClickMethod" "clickfinger"
>     Option "DisableWhileTyping" "on"
>     Option "HorizontalScrolling" "on"
>     Option "LeftHanded" "off"
>     Option "NaturalScrolling" "on"
>     Option "ScrollMethod" "twofinger"
>     Option "Tapping" "on"
>     Option "TappingDrag" "on"
>     Option "TappingDragLock" "off"
>   EndSection
>
> Any idea how to track down the problem, what the problem could be or how to fix this?
> I could not spot anything obviously in Xorg's log.

I seem to remember that some Thinkpads required tweaking the flags for
the psm device for the pointer to work after resume.  Could be worth a
try, even though you write that the trackpoint is ok.  See the manual
page for psm(4).

Bengt



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