Two-Finger Scroll Doesn't Work After Suspend
Summary
After suspend, two-finger scrolling and other settings on my touchpad no longer work.
- Logging out and logging back in does not resolve the issue
- Restarting gdm using systemctl does not resolve the issue
- Restarting laptop is the only thing that restores functionality
Steps to reproduce
Close laptop lid / suspend laptop. Might be device and/or OS specific.
OS Information: Pop!_OS 20.04 LTS
Required information
-
Libinput version: 1.15.5. Upgraded to 1.20.0 and problem still persists.
-
Hardware information: Dell Inspiron 5515 1.6.0
Logs and Remarks
I have seen a similar issue reported over the past couple of years for Ubuntu. The typical advice is to:
sudo modprobe -r psmouse
sudo modprobe psmouse
However, this solution doesn't work for me. There is a proposed solution involving grub, but I don't have it installed and I doubt that it will work. Consequently, I took logs using libinput debug-events --verbose
and libinput record
. Attached is a zip file with the relevant logs, device list, and libinput config file.
Debug events is probably the most informative. Event13 is my touchpad whereas event8 is 'PS/2 Generic Mouse'. The log is taken before and after closing my laptop lid and suspending the laptop. It appears that after suspending, my touchpad (event13) is no longer being recorded. The two-finger scroll motion corresponds to "event13 POINTER_AXIS" whereas moving the cursor is "event13 POINTER_MOTION". After suspend, the only thing logged when operating my touchpad is "event8 POINTER_MOTION".
The "record" logs reveal the same thing after suspend. When logging event13, nothing is logged. However, when logging event8, events are logged. For whatever reason, restarting my laptop fixes this issue. My touchpad is logged as normal and full functionality based on my touchpad settings is restored.