[Bug 990129] Re: Suspend/Resume hangs and fails - Ubuntu 12.04LTS

Toby toby at gettheitguy.com
Wed Jul 16 16:08:23 UTC 2014


For those of you looking for a workaround until this bug gets a proper
fix...

The following has worked for me on Ubuntu 14.04 x64 running on an intel
based motherboard (Core i3 2nd gen) with Realtek onboard ethernet

Step 1: Open up a terminal and create a script file as follows:

~~~
gksudo gedit /etc/pm/sleep.d/20_custom-ehci_hcd
~~~

Step 2: copy and paste the following code into the file:

~~~
#!/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
~~~

NOTE 1: This script was found from this thread:-
http://ubuntuforums.org/showthread.php?t=1978290&p=12014988#post12014988
All credit to the original author

NOTE 2: Do not copy and paste the ~~'s, they are there purely to
demarcate code blocks from the rest of the text.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to pm-utils in Ubuntu.
https://bugs.launchpad.net/bugs/990129

Title:
  Suspend/Resume hangs and fails - Ubuntu 12.04LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/990129/+subscriptions



More information about the Ubuntu-server-bugs mailing list