Comment 57 for bug 990129

Revision history for this message
Toby (g-toby) wrote :

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.