Trackpad mouse stops working on wake

After suspend (shutting lid or sleep), the trackpad mouse no longer works. If I reboot it works fine.

Is there a command I can run to re-initialize the trackpad mouse?

Lenovo Slim 7 laptop.

In general: rmmod and modprobe

sudo modprobe -r psmouse && sleep 5 && sudo modprobe psmouse

while psmouse is the module. that can differ.

And please no double posts. If you are working on Arch, then stick to that forum: trackpad mouse stops working on wake / Kernel & Hardware / Arch Linux Forums

That doesn’t work. I get an error.

Then try sudo rmmod i2c_hid && sudo modprobe i2c_hid. And if you get an error, post what it says.