You are not logged in.

#1 2010-06-16 18:26:45

davidbe
Member
From: Belgium
Registered: 2009-09-08
Posts: 22

No resume after suspend/hibernation on ASUS K52J notebook

I'm trying to get suspend/hibernation & resume to work, but no succes.
When I suspend the notebook, I get a black screen in console with a blinking cursor. There's no way how I can resume the notebook again.

I followed the steps on http://wiki.archlinux.org/index.php/Pm-utils:
* I installed pm-utils
* I added "resume=/dev/sda6" in /boot/grub/menu.lst to the "kernel /vmlinuz26 ..." line.
* I also changed /etc/mkinitcpio.conf according to http://wiki.archlinux.org/index.php/Pm- … esume_Hook and http://wiki.archlinux.org/index.php/Pm- … reen_issue: inserted resume before filesystems and removed autodetect from the list in HOOKS.

My /var/log/pm-suspend.log is:

Initial commandline parameters: 
Wed Jun 16 15:11:20 CEST 2010: Running hooks for hibernate.
/usr/lib/pm-utils/sleep.d/00logging hibernate hibernate:Linux postrof 2.6.33-ARCH #1 SMP PREEMPT Thu May 13 12:06:25 CEST 2010 i686 Intel(R) Core(TM) i3 CPU M 350 @ 2.27GHz GenuineIntel GNU/Linux
Module                  Size  Used by
ipv6                  236668  22 
fuse                   51814  4 
ext2                   55924  1 
arc4                    1058  2 
uvcvideo               54388  0 
videodev               34611  1 uvcvideo
v4l1_compat            13478  2 uvcvideo,videodev
ecb                     1545  2 
snd_hda_codec_atihdmi     2083  1 
ath9k                  63111  0 
ath9k_common            2089  1 ath9k
snd_hda_intel          19249  4 
snd_hda_codec          59723  2 snd_hda_codec_atihdmi,snd_hda_intel
mac80211              151387  2 ath9k,ath9k_common
snd_seq_dummy           1067  0 
snd_seq_oss            24984  0 
snd_seq_midi_event      4484  1 snd_seq_oss
snd_seq                41656  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          4349  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_hwdep               4752  2 snd_hda_codec
snd_pcm_oss            33442  0 
cpufreq_powersave        646  0 
snd_mixer_oss          14356  1 snd_pcm_oss
snd_pcm                57767  4 snd_hda_intel,snd_hda_codec,snd_pcm_oss
cpufreq_conservative     7416  0 
snd_timer              15629  3 snd_seq,snd_pcm
ath9k_hw              205627  2 ath9k,ath9k_common
snd                    42562  15 snd_hda_intel,snd_hda_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
sdhci_pci               5466  0 
ath                     6790  2 ath9k,ath9k_hw
cpufreq_ondemand        6542  0 
soundcore               5017  1 snd
fglrx                2060806  32 
sdhci                  13959  1 sdhci_pci
snd_page_alloc          5873  2 snd_hda_intel,snd_pcm
i2c_i801                7058  0 
iTCO_wdt                8537  0 
jme                    26115  0 
ehci_hcd               31420  0 
intel_agp              22681  0 
jmb38x_ms               6818  0 
psmouse                50729  0 
cfg80211              108137  4 ath9k,ath9k_common,mac80211,ath
mmc_core               45599  1 sdhci
acpi_cpufreq            5639  1 
rfkill                 12198  1 cfg80211
asus_laptop            12926  0 
pcspkr                  1347  0 
i2c_core               14855  2 videodev,i2c_i801
iTCO_vendor_support     1453  1 iTCO_wdt
mii                     3186  1 jme
serio_raw               3618  0 
agpgart                23119  2 fglrx,intel_agp
evdev                   6716  17 
memstick                5298  1 jmb38x_ms
usbcore               119796  3 uvcvideo,ehci_hcd
button                  3702  0 
ac                      2317  0 
battery                 7451  0 
video                  15449  0 
output                  1436  1 video
led_class               1997  3 ath9k,sdhci,asus_laptop
thermal                 9614  0 
freq_table              1987  2 cpufreq_ondemand,acpi_cpufreq
processor              25806  5 acpi_cpufreq
rtc_cmos                7546  0 
rtc_core               11851  1 rtc_cmos
rtc_lib                 1482  1 rtc_core
ext4                  302709  2 
mbcache                 4278  2 ext2,ext4
jbd2                   63651  1 ext4
crc16                   1041  1 ext4
sg                     20820  0 
sr_mod                 13097  0 
sd_mod                 25215  6 
cdrom                  31305  1 sr_mod
ahci                   29826  5 
libata                138071  1 ahci
scsi_mod               79436  4 sg,sr_mod,sd_mod,libata
             total       used       free     shared    buffers     cached
Mem:       3079628     647992    2431636          0      38736     312920
-/+ buffers/cache:     296336    2783292
Swap:      7815580          0    7815580
success.
/usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/01grub hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/01laptop-mode hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/11netcfg hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/55NetworkManager hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/75modules hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/90clock hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/95led hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/99video hibernate hibernate:success.
Wed Jun 16 15:11:22 CEST 2010: performing hibernate

When I perform a suspend, I get the same result in the log-file. Any ideas how I can solve this issue?

Thanks in advance!
- david

Offline

#2 2010-09-10 17:19:05

cnlions
Member
Registered: 2010-09-10
Posts: 2

Re: No resume after suspend/hibernation on ASUS K52J notebook

I have the same problem as above. After the operation of suspension or hibernate, the fan of laptop is not off. There is a freezed cursor in the black screen.

Offline

#3 2010-09-10 17:50:40

cnlions
Member
Registered: 2010-09-10
Posts: 2

Re: No resume after suspend/hibernation on ASUS K52J notebook

I have found a solution:

1. create a file in /etc/pm/sleep.d/ as below and [make it executable.

 
#!/bin/sh
# File: "/etc/pm/sleep.d/20_custom-ehci_hcd".
TMPLIST=/tmp/ehci-dev-list

case "${1}" in
        hibernate|suspend)
    echo -n '' > $TMPLIST
          for i in `ls /sys/bus/pci/drivers/ehci_hcd/ | egrep '[0-9a-z]+\:[0-9a-z]+\:.*$'`; do
              # Unbind ehci_hcd for first device XXXX:XX:XX.X:
               echo -n "$i" | tee /sys/bus/pci/drivers/ehci_hcd/unbind
           echo "$i" >> $TMPLIST
          done
        ;;
        resume|thaw)
    for i in `cat $TMPLIST`; do
              # Bind ehci_hcd for first device XXXX:XX:XX.X:
              echo -n "$i" | tee /sys/bus/pci/drivers/ehci_hcd/bind
    done
    rm $TMPLIST
        ;;
esac

2. create a config file in /etc/pm/config.d/ as below

 
#File: "/etc/pm/config.d/usb3-suspend-workaround".
SUSPEND_MODULES="xhci"

For the reason and the original solution, see the following page:
Cannot suspend or hibernate Asus N61J Laptop-ubuntu forums

Last edited by cnlions (2010-09-10 17:52:40)

Offline

#4 2010-11-03 14:54:47

gauteh
Member
Registered: 2008-03-17
Posts: 18
Website

Re: No resume after suspend/hibernation on ASUS K52J notebook

Thanks - Seems to work good. Are you still using any different hooks in mkinitcpio.conf ?

- gaute

Offline

Board footer

Powered by FluxBB