Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Apr 2022 20:01:41 +0000
From:      jbo@insane.engineer
To:        "stable@freebsd.org" <stable@freebsd.org>
Subject:   Touchpad not working properly after suspend-resume
Message-ID:  <jLu1vfkyGtPJxTV2AizTvTWxaH9Ln5t2TBOmTK1MXTHj3azLfRj5tkinJ8KTmHW3FAQ5WHBMFKbMswRprV6aQL4PlS4JA6dNFzxNbeZXY7Q=@insane.engineer>
In-Reply-To: <Cl1s1OJKbfD8X_HkD3ue9Px8u9Pk81IdpHzRaPKKdEDfqp1-DF0vQVBeBV0Dc6wjaGDN6Ko5Xopdfb6H7oMLqm-YIZOtUlISLPsylw5AmD8=@insane.engineer>
References:  <Cl1s1OJKbfD8X_HkD3ue9Px8u9Pk81IdpHzRaPKKdEDfqp1-DF0vQVBeBV0Dc6wjaGDN6Ko5Xopdfb6H7oMLqm-YIZOtUlISLPsylw5AmD8=@insane.engineer>

next in thread | previous in thread | raw e-mail | index | archive | help
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 zz=
z(8) to suspend the system and resume afterwards, the touchpad is behaving =
weirdly:
  - Regular cursor movements (one finger) are very, very laggy. It feels li=
ke the system is updating the cursor's position only once ever 800ms (or th=
ere about).
  - Anything multi-touch related such as two-finger scrolling is not workin=
g at all.

The keyboard and the trackpoint (joystick-thingy) continue to work as expec=
ted 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.


Best regards,
~ Joel



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