ASUS G51JX Does Not Suspend or hibernate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
Binary package hint: pm-utils
When doing the ubuntu system testing and also in my daily use of this laptop I cannot get it to suspend. It goes like it is about to suspend but then it gets to a blank backlit screen and stays there, requiring a forced shutdown. I'm running 10.10 RC 64bit and have have also run 10.04 64 but wit no avail. Any and all help looking into this would be appreciated.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: pm-utils 1.4.1-3
ProcVersionSign
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelMo
Architecture: amd64
CheckboxCommand: sleep_test -d
CheckboxDescrip
Power management Suspend and Resume test
Click test and your system will suspend for about 30 - 60 seconds. If your system does not wake itself up after 60 seconds, please press the power button momentarily to wake the system manually.
CheckboxTest: sleep_state_test
Date: Thu Sep 30 10:08:23 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
PackageArchitec
ProcEnviron:
SHELL=/bin/bash
LANG=en_US.utf8
SourcePackage: pm-utils
got into same problem and successfully solved it using a how-to found somewhere (i can't find it again, sadly).
The problem is with usb3 drivers, all you need to do is unbind those and rebind after resume.
0000:00:1a.0 and 0000:00:1d.0 are files found with something like ls /sys/bus/ pci/drivers/ ehci_hcd/ 0* adjust the file /etc/pm/ sleep.d/ 20_custom- ehci_hcd with yours devices and suspend/resume should work.
There is still some minor flaw, the keyboard keeps blinking while the computer is suspended, but not a big deal.
cat /etc/pm/ sleep.d/ 20_custom- ehci_hcd
hibernate| suspend) pci/drivers/ ehci_hcd/ unbind pci/drivers/ ehci_hcd/ unbind
resume| thaw) pci/drivers/ ehci_hcd/ bind pci/drivers/ ehci_hcd/ bind
#!/bin/sh
case "${1}" in
# Unbind ehci_hcd for first device XXXX:XX:XX.X:
echo -n "0000:00:1a.0" | tee /sys/bus/
# Unbind ehci_hcd for second device XXXX:XX:XX.X:
echo -n "0000:00:1d.0" | tee /sys/bus/
;;
# Bind ehci_hcd for first device XXXX:XX:XX.X:
echo -n "0000:00:1a.0" | tee /sys/bus/
# Bind ehci_hcd for second device XXXX:XX:XX.X:
echo -n "0000:00:1d.0" | tee /sys/bus/
;;
esac