simple problem:
Touchpad stops working after suspend in Ubuntu 11.10. It is an annoying problem as I like to use my touchpad together with my mouse for convenience (unless I must use my touchpad because the mouse isn't available).
Can anyone help?
I also posted a comment under this unsolved question for a similar problem in 10.10: Touchpad stopped working after suspend on a Toshiba L650
Laptop make and model: CLEVO M55N.
xinput list in terminal gives:
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Genius 2.4G Wireless Mouse and Keyboard id=11 [slave pointer (2)]
⎜ ↳ ImPS/2 Elantech Touchpad id=13 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Power Button id=8 [slave keyboard (3)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ Genius 2.4G Wireless Mouse and Keyboard id=10 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]
Thanks beforehand.
I also have this bug on 10.04 (at me same Elantech touchpad)! I create script
/etc/pm/sleep.d/66my-sleep-resume
(66 - a start priority)and now all works.
Try this in terminal after resume:
If it works, you can write a script containing this command, and put the script in
/etc/pm/sleep.d/
.Unfortunately, there are a lot of reasons why this could happen. A work-around that helped me in some cases is reloading the kernel module responsible for the mouse events:
You should also check if using the Fn-Keys makes any difference.
for me on xenial xubuntu xfce and Elantech touchpad this was not working:
modprobe -rv psmouse ;; modprobe -v psmouse proto=imps ;;
Problem described here
Only Strg + Alt + F1 and back Alt + F7 brings me the cursor back.
The Power Manager (
dpkg -L pm-utils
) is invoked at the beginning and end of your Suspend/Resume. Readman pm-powersave
andman pm-suspend
. Also read/usr/share/doc/pm-utils/README{,.debugging}
.Some helpful Power Manager script is probably causing your touchpad problem. Either it's not saving/restoring the touchpad state or not reloading a needed module.
Look at
dmesg
after a reboot, and try to see how your touchpad is initialized. Compare the output oflsmod
both post-boot-pre-suspend (when it works) and post-suspend (when it doesn't). If a module is missing from the latter, you're on your way to a solution.Another debugging technique is to begin in the post-boot-pre-suspend state, and do:
touch /tmp/before-time-date
find /var/logs -type f -anewer /tmp/before-time-date
less
, and have my favorite settings in an environment variable,$LESS=-XMersj3
. so I can do:sudo -v;find /var/logs -type f -anewer /tmp/before-date-time -print | xargs sudo less $LESS
then use less's
G
(uppercase ) command to get to the end of each file.Had a similar problem with my wireless USB mouse/ keyboard (Logitech) on (L)ubuntu 12.04 LTS. Mouse cursor was stuck after pm-suspend. unplugging and re-plugging the USB fixed the issue.
Above workaround, creating a script in
/etc/pm/sleep.d
, sorta worked. had to change thepsmouse
to hid_logitech.With different hardware you will have to change the script accordingly, depending on what kernel modules you will need to reload.
/etc/pm/sleep.d/99_fixmouse
don't forget to do a
chmod +x
on the above file.