Suspend not working on ASUS u30SD

Bug #945246 reported by Laurent Dinclaux
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux
Incomplete
High
acpid
Invalid
Undecided
Unassigned
linux (Ubuntu)
Incomplete
Medium
Unassigned

Bug Description

Hello,

I just installed the 12.04 beta1 and suspend is not working anymore. When I installed it I choosed "replace the ubuntu 11.10 install" option.

The screen goes black but the LCD backlight is still on. Then, there is no way to bring it back, tried CTRL+ALT+F1 to bring the console, tried the syst req magic keys to reboot. No way.

Hard shutdown is the only thing to do ...

But it was working very good on 11.10.

WORKAROUND: Create and edit the file /etc/pm/sleep.d/20_custom-ehci_hcd and paste in this content:
#!/bin/sh
#inspired by http://art.ubuntuforums.org/showpost.php?p=9744970&postcount=19
#...and http://thecodecentral.com/2011/01/18/fix-ubuntu-10-10-suspendhibernate-not-working-bug
# tidied by tqzzaa :)

VERSION=1.1
DEV_LIST=/tmp/usb-dev-list
DRIVERS_DIR=/sys/bus/pci/drivers
DRIVERS="ehci xhci" # ehci_hcd, xhci_hcd
HEX="[[:xdigit:]]"
MAX_BIND_ATTEMPTS=2
BIND_WAIT=0.1

unbindDev() {
  echo -n > $DEV_LIST 2>/dev/null
  for driver in $DRIVERS; do
    DDIR=$DRIVERS_DIR/${driver}_hcd
    for dev in `ls $DDIR 2>/dev/null | egrep "^$HEX+:$HEX+:$HEX"`; do
      echo -n "$dev" > $DDIR/unbind
      echo "$driver $dev" >> $DEV_LIST
    done
  done
}

bindDev() {
  if [ -s $DEV_LIST ]; then
    while read driver dev; do
      DDIR=$DRIVERS_DIR/${driver}_hcd
      while [ $((MAX_BIND_ATTEMPTS)) -gt 0 ]; do
          echo -n "$dev" > $DDIR/bind
          if [ ! -L "$DDIR/$dev" ]; then
            sleep $BIND_WAIT
          else
            break
          fi
          MAX_BIND_ATTEMPTS=$((MAX_BIND_ATTEMPTS-1))
      done
    done < $DEV_LIST
  fi
  rm $DEV_LIST 2>/dev/null
}

case "$1" in
  hibernate|suspend) unbindDev;;
  resume|thaw) bindDev;;
esac

and make the file executable.
Original Source: https://gist.github.com/2212526

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: acpi-support 0.138
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
ApportVersion: 1.94-0ubuntu1
Architecture: amd64
Date: Sat Mar 3 10:37:11 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: acpi-support
UpgradeStatus: No upgrade log present (probably fresh install)
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.94-0ubuntu1
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: PCH [HDA Intel PCH], device 0: VT1802 Analog [VT1802 Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: lox 2215 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'PCH'/'HDA Intel PCH at 0xdf600000 irq 44'
   Mixer name : 'Intel CougarPoint HDMI'
   Components : 'HDA:11068446,10431053,00100000 HDA:80862805,80860101,00100000'
   Controls : 37
   Simple ctrls : 19
DistroRelease: Ubuntu 12.04
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
MachineType: ASUSTeK Computer Inc. U30Sd
Package: linux (not installed)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-17-generic root=UUID=30a646df-2e56-4842-b0ae-3c78db7c0b05 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-17-generic N/A
 linux-backports-modules-3.2.0-17-generic N/A
 linux-firmware 1.71
StagingDrivers: mei
Tags: precise staging
Uname: Linux 3.2.0-17-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 07/06/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: U30Sd.211
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: U30Sd
dmi.board.vendor: ASUSTeK Computer Inc.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer Inc.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrU30Sd.211:bd07/06/2011:svnASUSTeKComputerInc.:pnU30Sd:pvr1.0:rvnASUSTeKComputerInc.:rnU30Sd:rvr1.0:cvnASUSTeKComputerInc.:ct10:cvr1.0:
dmi.product.name: U30Sd
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK Computer Inc.

Revision history for this message
Laurent Dinclaux (dreadlox) wrote :
description: updated
Steve Langasek (vorlon)
affects: acpi-support (Ubuntu) → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 945246

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Laurent Dinclaux (dreadlox) wrote : AcpiTables.txt

apport information

tags: added: apport-collected staging
description: updated
Revision history for this message
Laurent Dinclaux (dreadlox) wrote : AlsaDevices.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : AplayDevices.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : BootDmesg.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : CRDA.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : Card0.Codecs.codec.3.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : IwConfig.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : Lspci.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : Lsusb.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : PciMultimedia.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : ProcModules.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : PulseSinks.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : PulseSources.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : RfKill.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : UdevDb.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : UdevLog.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : WifiSyslog.txt

apport information

description: updated
Revision history for this message
Laurent Dinclaux (dreadlox) wrote : AcpiTables.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : AlsaDevices.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : AplayDevices.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : BootDmesg.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : CRDA.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : Card0.Codecs.codec.3.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : IwConfig.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : Lspci.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote : Lsusb.txt

apport information

Revision history for this message
Laurent Dinclaux (dreadlox) wrote :

Sorry if any duplicate or missing files, I am facing that issue: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/945269

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Brad Figg (brad-figg) wrote : Test with newer development kernel (3.2.0-18.28)

Thank you for taking the time to file a bug report on this issue.

However, given the number of bugs that the Kernel Team receives during any development cycle it is impossible for us to review them all. Therefore, we occasionally resort to using automated bots to request further testing. This is such a request.

We have noted that there is a newer version of the development kernel than the one you last tested when this issue was found. Please test again with the newer kernel and indicate in the bug if this issue still exists or not.

You can update to the latest development kernel by simply running the following commands in a terminal window:

    sudo apt-get update
    sudo apt-get upgrade

If the bug still exists, change the bug status from Incomplete to Confirmed. If the bug no longer exists, change the bug status from Incomplete to Fix Released.

If you want this bot to quit automatically requesting kernel tests, add a tag named: bot-stop-nagging.

 Thank you for your help, we really do appreciate it.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: kernel-request-3.2.0-18.28
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.3 kernel[1] (Not a kernel in the daily directory). Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag(Only that one tag, please leave the other tags). This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed by the mainline kernel, please add the following tag 'kernel-fixed-upstream-KERNEL-VERSION'. For example, if kernel version 3.3-rc6 fixed the issue, the tag would be: 'kernel-fixed-upstream-v3.3-rc6'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[1] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3-rc6-precise/

tags: added: needs-upstream-testing
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Laurent Dinclaux (dreadlox) wrote :

Confirmed, exact same issue on 3.3 RC6

tags: added: kernel-bug-exists-upstream
removed: needs-upstream-testing
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Brad Figg (brad-figg) wrote : Test with newer development kernel (3.2.0-18.29)

Thank you for taking the time to file a bug report on this issue.

However, given the number of bugs that the Kernel Team receives during any development cycle it is impossible for us to review them all. Therefore, we occasionally resort to using automated bots to request further testing. This is such a request.

We have noted that there is a newer version of the development kernel than the one you last tested when this issue was found. Please test again with the newer kernel and indicate in the bug if this issue still exists or not.

You can update to the latest development kernel by simply running the following commands in a terminal window:

    sudo apt-get update
    sudo apt-get upgrade

If the bug still exists, change the bug status from Incomplete to Confirmed. If the bug no longer exists, change the bug status from Incomplete to Fix Released.

If you want this bot to quit automatically requesting kernel tests, add a tag named: bot-stop-nagging.

 Thank you for your help, we really do appreciate it.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: kernel-request-3.2.0-18.29
Revision history for this message
Laurent Dinclaux (dreadlox) wrote :

Bug still there. I also tested using 3.3.0-rc7.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

This issue appears to be an upstream bug, since you tested the latest upstream kernel. Would it be possible for you to open an upstream bug report at bugzilla.kernel.org [1]? That will allow the upstream Developers to examine the issue, and may provide a quicker resolution to the bug.

If you are comfortable with opening a bug upstream, It would be great if you can report back the upstream bug number in this bug report. That will allow us to link this bug to the upstream report.

[1] https://wiki.ubuntu.com/Bugs/Upstream/kernel

Changed in linux (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Laurent Dinclaux (dreadlox) wrote :

Done

Changed in linux:
importance: Unknown → Medium
status: Unknown → Confirmed
Changed in linux:
status: Confirmed → Incomplete
Revision history for this message
Laurent Dinclaux (dreadlox) wrote :

I found a workaround. I think that will help 12.04 support that Asus laptop suspend/hibernate feature. Just create and edit the file /etc/pm/sleep.d/20_custom-ehci_hcd and paste in thsi content: https://gist.github.com/2212526 and make the file executable.

Suspend then works like a charm.

Changed in acpid (Ubuntu):
status: New → Confirmed
Changed in linux (Ubuntu):
status: Triaged → Confirmed
Changed in linux:
importance: Medium → High
status: Incomplete → Fix Released
Revision history for this message
Laurent Dinclaux (dreadlox) wrote :

The workaround stopped working since latest update.

Removing it doesn't solve the problem.

Changed in linux:
status: Fix Released → Confirmed
Revision history for this message
Laurent Dinclaux (dreadlox) wrote :

Will that annoying regression get fixed for the 12.04 release?

Revision history for this message
Laurent Dinclaux (dreadlox) wrote :

The workaround works again, this may have been messed up by a specific update.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Do you have this issue without using the workaround?

penalvch (penalvch)
no longer affects: acpid (Ubuntu)
Changed in acpid:
status: New → Invalid
tags: added: bot-stop-nagging regression-release
removed: kernel-request-3.2.0-18.28 kernel-request-3.2.0-18.29
description: updated
description: updated
tags: added: needs-upstream-testing
removed: kernel-bug-exists-upstream
Revision history for this message
penalvch (penalvch) wrote :

Laurent Dinclaux, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please provide the information following https://wiki.ubuntu.com/DebuggingKernelSuspend ?

Also, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the kernel in the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested and remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream-VERSION-NUMBER', where VERSION-NUMBER is the version number of the kernel you tested.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream-VERSION-NUMBER', where VERSION-NUMBER is the version number of the kernel you tested.

If you are unable to test the mainline kernel, please comment as to why specifically you were unable to test it and add the tag: 'kernel-unable-to-test-upstream'.

Please let us know your results. Thank you for your understanding.

Helpful Bug Reporting Links:
https://help.ubuntu.com/community/ReportingBugs#Bug_Reporting_Etiquette
https://help.ubuntu.com/community/ReportingBugs#A3._Make_sure_the_bug_hasn.27t_already_been_reported
https://help.ubuntu.com/community/ReportingBugs#Adding_Apport_Debug_Information_to_an_Existing_Launchpad_Bug
https://help.ubuntu.com/community/ReportingBugs#Adding_Additional_Attachments_to_an_Existing_Launchpad_Bug

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Changed in linux:
status: Confirmed → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.