23.1.14

Ubuntu touchpad issue after screensaver

In these day I encounter an annoying issue in Ubuntu 13.08 on my Dell.
After restore from screensaver, touchpad doesn't working, or working partially (only scroll).
I searched a solution and I didn't find the cause of this problem but only a workaround to partially solve it, or at least to continue to work without an external mouse.
So, the command to type are the following:
sudo modprobe -r psmouse       #that remove psmouse kernel module
sudo modprobe psmouse           #that reinsert psmouse module
After this, touchpad restart to work properly.

I also found on Ubuntu forum a script to to this after every resume, but I don't test it.
#!/bin/sh
case "${1}" in
        hibernate)
        # nothing   
                ;;
        resume|thaw)
        modprobe -r psmouse && modprobe psmouse
                ;;
esac
Save it in: /etc/pm/sleep.d/66my-sleep-resume

Nessun commento:

Posta un commento