I installed Debian a few weeks ago on my laptop.
When I close the lid and re open it, my touchpad does not respond. If I connect a usb mouse it works great but the touchpad does not. I tried to create /etc/pm/sleep.d/00_trackpad
:
#!/bin/sh
case "$1" in
suspend|hibernate)
modprobe -r psmouse ;;
resume|thaw)
modprobe psmouse ;;
synclient TouchpadOff=0 ;;
esac
or
#!/bin/sh
case "$1" in
resume)
DISPLAY=:0.0 su USER -c '/usr/bin/synclient TouchpadOff=0' ;;
esac
But neither works.
Computer : Asus 455L
OS :Debian GNU/Linux 8(Jessie) 64 bit. Gnome v 3014.1
Weird things can happen when you close and open your lid on a laptop that did not have Debian originally installed. I've seen a bunch of those.
It is not Debian's fault -- some of those laptops have a hardware switch for the screen that (sometimes) does not only informs the OS about the closing screen but also executes "commands" via firmware (not controlled by the OS), some of which "commands" could be turning off the mousepad, etc.
Two workarounds that I can think off:
1) "Do nothing" when lid is closed: I don't know what desktop you are using, but most desktops give you the option of controlling which action to take when you close your lid; choose "do nothing" if possible (don't even blank the screen),
reboot
the computer and try again. If it works, then this could be the workaround itself, or you can start building up from this point (ex: try "blank the screen" next) until it stops working.2) Disable the hardware switch: this one is the "dirty", last ditch approach. Disassemble your laptop, find the hardware switch that is triggered when closing the lid and "defeat" it. Sometimes only this option works.
Sorry if there's no better answer. I hope this helps.
Edit: some more things come to mind, which can be worth trying:
1) Make sure that you have an encompassing repository list
/etc/apt/sources.list
such as the one shown here, runapt-get update
, install the packagefirmware-linux
, reboot and see if the problem still exists.2) Update your BIOS to the latest version, reboot and see if the problem persists.
3) Log in to your BIOS and change all settings of "energy saving" stuff to "off" (or enable maximum performance), reboot and check it again.
4) Find out your touchpad brand and model and search for issues related or drives available for Linux.