I have a Toshiba notebook(Toshiba c50d a-133) and problems after waking up.
When I close the lid Ubuntu go to sleep mode. After opening, it wakes up, but sometimes mouse and keyboard don't work. Then I close and open again and it works.
Which scripts are run after opening the lid?
Is there a command to reset mouse and keyboard that I can add to such a script?
cat /proc/acpi/button/lid/LID0/state
. This file stores the current state of your LID state(I think the value is: open and closed) so go ahead and write your script when you open the LID – αғsнιη Oct 26 '14 at 13:09