Sometimes, when I wake my laptop from sleep, the touchpad acts funny. The mouse pointer jump on the screen and it is really hard to control the mouse. I tried to turn of and on the touchpad in ubuntu control center, hoping this will unload and load the module and it didn't help. Restarting the machine solve this.
Restarting the driver helps:
Just Ctrl+alt+T, and run:
On a Macbook I think you may need to use "appletouch" instead of psmouse.
It is an old topic, but I want to answer my solution, because it seems that pointer devices does not really like other power states.
BTW this is a good way for module "reset" if you have problems with a device after suspend/hibernate etc, not just for touchpad.
My problem was exactly the same:
- After hibernate, my touch pad was hard to use,
- but my connected USB mouse was OK.
Following the answer from NoBugs I realized with
that my device name is "hid_multitouch"
... and my touch pad worked well again.
I wrote a script to a file in /etc/pm/sleep.d
with the following content:
case "${1}" in thaw) rmmod hid_multitouch modprobe hid_multitouch ;; esac
... and made it executable with
This snippet makes exactly the same as the above mentioned commands, but
- automatically
- run only after hibernation
from now on
working nicely.
BUT pm-tools are not used by decent Ubuntu (Debian), so we need to install a service for systemd.
For this I created I created a service file:
with the following text:
[Unit] Description=Reset multitouch device after hibernate After=hibernate.target After=hybrid-sleep.target [Service] ExecStart=/bin/bash /etc/pm/sleep.d/20_touchpad_reset thaw [Install] WantedBy=hibernate.target WantedBy=hybrid-sleep.target
... then I acivated my new service:You can check if everything worked well with:
I have the same problem with synaptics touchpad on my HP Probook G6 after sleep on ubuntu 18.04. The solution is the same as V-Mark suggested, but reloading i2c_hid module instead of hid_multitouch.
And it starts to work smooth.
Running 17.04 on an HP ENVY 15 360 with the same issue. I tried the solutions provided to no avail.
Started just powering off instead of sleep every time. Super annoying.
Then it happened again, from fresh boot. So not power management at all.
Check to see if you are using the Synaptics driver, that may be the issue:
The details and solution here worked for me: Ubuntu touchpad issues - mouse pointer jumps around