← Back to team overview

touch-packages team mailing list archive

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

 

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
Touch seeded packages, which is subscribed to pm-utils in Ubuntu.
https://bugs.launchpad.net/bugs/990129

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

Status in “pm-utils” package in Ubuntu:
  Confirmed

Bug description:
  Suspend/Resume hangs on a black screen and a hard reset is needed to
  start system.

  System76 laptop
  Ubuntu 12.04LTS 64bit

  Hardware Profile:
  pst007x@pst007x-Serval-Professional:~$ lspci
  00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
  00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
  00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
  00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
  00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
  00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
  00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
  00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b5)
  00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5)
  00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
  00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 05)
  00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
  00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
  01:00.0 VGA compatible controller: NVIDIA Corporation Device 1211 (rev a1)
  01:00.1 Audio device: NVIDIA Corporation GF110 High Definition Audio Controller (rev a1)
  02:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
  03:00.0 Ethernet controller: JMicron Technology Corp. JMC250 PCI Express Gigabit Ethernet Controller (rev 05)
  03:00.1 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 90)
  03:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 90)
  03:00.3 System peripheral: JMicron Technology Corp. MS Host Controller (rev 90)
  04:00.0 Network controller: Intel Corporation Centrino Advanced-N 6230 (rev 34)
  05:00.0 FireWire (IEEE 1394): JMicron Technology Corp. IEEE 1394 Host Controller (rev 30)
  pst007x@pst007x-Serval-Professional:~$

  Linux pst007x-Serval-Professional 3.2.0-24-generic #37-Ubuntu SMP Wed
  Apr 25 08:43:22 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

  
  May have something to do with the gnome-power-manager and pm-utils

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