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:
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/shsleep.d/20_custom-ehci_hcd"./tmp/ehci-dev-list
# File: "/etc/pm/
TMPLIST=
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. :-)