← Back to team overview

ubuntuforums-unanswered team mailing list archive

Re: [Question #76849]: Keyboard and Mouse freeze after waking up from sleep mode

 

Question #76849 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/76849

    Status: Open => Answered

actionparsnip proposed the following answer:
Try this:

gksudo gedit /etc/pm/sleep.d/00hal

and add these lines:

#
# Restart HAL after suspension
#

case "$1" in
        resume|thaw)
                /etc/init.d/hal stop
                /etc/init.d/hal start
        ;;
        *)
        ;;
esac

exit $?

save the new file then run:

sudo chmod u+x /etc/pm/sleep.d/00hal

If you now reboot the system, the 00hal script will run when the system
"wakes up" and will hopefully kick hal and wake up the keyboard and
mouse.

Let me know how you go.

-- 
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.