Created
March 13, 2026 21:35
-
-
Save sumonst21/c63f5fc0cc093443e771612ceb2495d9 to your computer and use it in GitHub Desktop.
Reset RMI4 Driver - Ubuntu Desktop Touchpad. On Ubuntu 22.04, this fails to re-initialize after the screen blanks or the laptop suspends.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo modprobe -r rmi_smbus && sudo modprobe rmi_smbus | |
| sudo modprobe -r hid_rmi && sudo modprobe hid_rmi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # /lib/systemd/system-sleep/touchpad-fix | |
| case $1/$2 in | |
| post/*) | |
| echo "Reloading Synaptics RMI drivers..." | |
| modprobe -r hid_rmi rmi_smbus | |
| modprobe rmi_smbus hid_rmi | |
| ;; | |
| esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment