Now although I have tested the latest kernel 3.4 ppa release and I must say it 
does run quite well and fixes some of the major bugs in Ubuntu 12.04 including 
of course the bug mentioned here regarding standby/suspend, it is still not a 
release version and I am still using kernel 3.2.0-24-generic release version.
Now since this version many of you probably noticed that the script I have 
posted before providing a quick fix for this bug no longer works. At least for 
me it no longer works. If for you it still works then don't touch it. It seems 
for me however some issues may have been attempted to fix regarding sleep and 
wake up driver issues. As a result the previous script no longer works, however 
I have written a simplified version which takes in consideration these fixes 
and this seems to work like a charm for me.

As previously...
Step 1: Open up a terminal and create a scrip file as follows:

sudo gedit /etc/pm/sleep.d/20_custom-ehci_hcd

Step 2: If and only if you have problems with your current script and
your machine refuses to sleep or wake up on kernel 3.2.0-24-generic then
replace the entire code with the following:

#!/bin/sh
# File: "/etc/pm/sleep.d/20_custom-ehci_hcd".
TMPLIST=/tmp/ehci-dev-list

case "${1}" in
        hibernate|suspend)

        ;;
        resume|thaw)

        chvt 1
        chvt 7
        ;;
esac

Step 3:
Give the script permission to run by typing the following in the terminal:

sudo chmod 755 /etc/pm/sleep.d/20_custom-ehci_hcd

Hope that helps and it works for me nicely. :-)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/989674

Title:
  Ubuntu 12.04 i386 does not reboot back Unity from suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/989674/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to