Created
January 1, 2026 10:37
-
-
Save kekneus373/b78b181002f6abebc847f49cb14ef0ed to your computer and use it in GitHub Desktop.
Fix touchpad not working after suspend (temporarily)
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
| #!/usr/bin/env bash | |
| echo "Disabling touchpad..." | |
| sudo modprobe -r psmouse | |
| echo "Enabling touchpad..." | |
| sudo modprobe psmouse | |
| echo "Should work now. Otherwise, check 'dmesg' or reboot" | |
| # SOURCE: https://askubuntu.com/q/671910 |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
it's done check it out:
https://github.com/kekneus373/sus-stuff/blob/46d21c15b78a3eb4c1878d78a41b0c8b6a62c25a/nixos/hp840g2/configuration.nix#L316