I don't usually use a laptop, but my wife does. Her machine is on Kubuntu 13.04. Being a cheap and under-supported Dell Vostro V13 it has a couple issues. I've been holding on to the idea that some kernel update will correct the problems, but not so far. Now one of these issues is bugging her enough that it's bugging me - I'm sure you catch my drift...
After the lid is closed, upon re-opening the mouse interferes with the keyboard. This causes run-on key strokes or some keypresses being skipped. The work-around is to open the terminal and rmmod the mouse driver, wait a tic, and then reload the psmouse driver and all is well.
The problem is, I don't know the best place to put these commands. Basically it's just;
sudo rmmod psmouse && sleep 5 && modprobe psmouse
I've found under /etc/acpi two scripts there: lid.sh and sleep.sh. I don't know for sure if one of those is correct or some other place. I saw the options in System Settings but it looks like script running happens after the action - when suspend is activated, not when wake-up starts - which is when I need it.
Any ideas?
After the lid is closed, upon re-opening the mouse interferes with the keyboard. This causes run-on key strokes or some keypresses being skipped. The work-around is to open the terminal and rmmod the mouse driver, wait a tic, and then reload the psmouse driver and all is well.
The problem is, I don't know the best place to put these commands. Basically it's just;
sudo rmmod psmouse && sleep 5 && modprobe psmouse
I've found under /etc/acpi two scripts there: lid.sh and sleep.sh. I don't know for sure if one of those is correct or some other place. I saw the options in System Settings but it looks like script running happens after the action - when suspend is activated, not when wake-up starts - which is when I need it.
Any ideas?
Comment