You are not logged in.

#1 2010-12-29 19:58:45

toflames
Member
Registered: 2009-07-20
Posts: 21

Suspend to RAM works but awakes immediately (pm-suspend)

Hello,

After after years of being unable to make suspend to RAM works on my lenovo Y530, I have finally found people who can do it. The trick is simply to add a new rule in /etc/pm/sleep.d/. I will edit the arch wiki page concerning the Y530 if I get it to work, but right now my problem is that the laptop immediately awakes after what seems to be a fully working suspend to RAM. Here is the log of pm-suspend :

Initial commandline parameters:
Wed Dec 29 19:24:32 CET 2010: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux inflames 2.6.36-ARCH #1 SMP PREEMPT Fri Dec 10 20:32:37 CET 2010 x86_64 Intel(R) Core(TM)2 Duo CPU P7350 @ 2.00GHz GenuineIntel GNU/Linux
Module                  Size  Used by
iwlagn                304281  0
cryptd                  6262  0
aes_x86_64              7412  2
aes_generic            26170  1 aes_x86_64
loop                   15194  2
ipv6                  281833  12
usbhid                 36325  0
hid                    76168  1 usbhid
uvcvideo               61404  0
videodev               64318  1 uvcvideo
v4l1_compat            15578  2 uvcvideo,videodev
v4l2_compat_ioctl32    10212  1 videodev
arc4                    1378  2
ecb                     2041  2
snd_hda_codec_nvhdmi    14827  1
snd_hda_codec_si3054     3822  1
snd_hda_codec_realtek   275887  1
joydev                 10055  0
iwlcore               110506  1 iwlagn
mac80211              196159  2 iwlagn,iwlcore
snd_hda_intel          22285  2
snd_hda_codec          79384  4 snd_hda_codec_nvhdmi,snd_hda_codec_si3054,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               6110  1 snd_hda_codec
snd_pcm                71921  3 snd_hda_codec_si3054,snd_hda_intel,snd_hda_codec
snd_timer              19265  1 snd_pcm
snd                    57562  11 snd_hda_codec_si3054,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               5969  1 snd
snd_page_alloc          7249  2 snd_hda_intel,snd_pcm
cfg80211              143110  3 iwlagn,iwlcore,mac80211
asus_laptop            14243  0
sparse_keymap           2563  1 asus_laptop
ideapad_acpi            3504  0
rfkill                 15882  3 cfg80211,asus_laptop,ideapad_acpi
uhci_hcd               21926  0
sdhci_pci               6664  0
sdhci                  16638  1 sdhci_pci
ehci_hcd               36988  0
psmouse                52592  0
mmc_core               59333  1 sdhci
led_class               2331  2 asus_laptop,sdhci
tg3                   121889  0
video                  19305  0
libphy                 17083  1 tg3
output                  1940  1 video
usbcore               137570  5 usbhid,uvcvideo,uhci_hcd,ehci_hcd
iTCO_wdt               10669  0
iTCO_vendor_support     1801  1 iTCO_wdt
firewire_ohci          26841  0
firewire_core          49430  1 firewire_ohci
crc_itu_t               1297  1 firewire_core
sg                     25652  0
serio_raw               4486  0
pcspkr                  1819  0
evdev                   8519  14
ext2                   63599  2
thermal                12242  0
fan                     3274  0
button                  4834  0
battery                10231  0
ac                      3105  0
cpufreq_conservative     8676  0
cpufreq_userspace       2112  0
cpufreq_powersave        958  0
cpufreq_ondemand        8215  0
acpi_cpufreq            5865  1
freq_table              2323  2 cpufreq_ondemand,acpi_cpufreq
processor              25936  3 acpi_cpufreq
mperf                   1243  1 acpi_cpufreq
vboxnetadp              4889  0
vboxnetflt             18948  0
vboxdrv              1760035  2 vboxnetadp,vboxnetflt
fuse                   64259  3
nvidia              10081406  41
i2c_core               18726  2 videodev,nvidia
sr_mod                 14954  0
cdrom                  35851  1 sr_mod
ext4                  313574  1
mbcache                 5722  2 ext2,ext4
jbd2                   69002  1 ext4
crc16                   1297  1 ext4
sd_mod                 25856  4
ahci                   20353  3
libahci                17982  1 ahci
libata                156316  2 ahci,libahci
scsi_mod              124891  4 sg,sr_mod,sd_mod,libata
             total       used       free     shared    buffers     cached
Mem:       2986404    1515468    1470936          0     179156     646152
-/+ buffers/cache:     690160    2296244
Swap:      8755388          0    8755388

/usr/lib/pm-utils/sleep.d/00logging suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:

/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01grub suspend suspend:

/usr/lib/pm-utils/sleep.d/01grub suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/11netcfg suspend suspend:

/usr/lib/pm-utils/sleep.d/11netcfg suspend suspend: success.
Running hook /etc/pm/sleep.d/20_custom-ehci_hcd suspend suspend:
0000:00:1a.70000:00:1d.7
/etc/pm/sleep.d/20_custom-ehci_hcd suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:

/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:

/usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:

/usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:

/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:

/usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
nVidia binary video drive detected, not using quirks.

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Wed Dec 29 19:24:33 CET 2010: performing suspend
Switching from vt7 to vt1
switching back to vt7
Wed Dec 29 19:24:40 CET 2010: Awake.
Wed Dec 29 19:24:40 CET 2010: Running hooks for resume
Running hook /usr/lib/pm-utils/sleep.d/99video resume suspend:

/usr/lib/pm-utils/sleep.d/99video resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95led resume suspend:

/usr/lib/pm-utils/sleep.d/95led resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq resume suspend:

/usr/lib/pm-utils/sleep.d/94cpufreq resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock resume suspend:

/usr/lib/pm-utils/sleep.d/90clock resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules resume suspend:
Reloaded unloaded modules.

/usr/lib/pm-utils/sleep.d/75modules resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth resume suspend:

/usr/lib/pm-utils/sleep.d/49bluetooth resume suspend: success.
Running hook /etc/pm/sleep.d/20_custom-ehci_hcd resume suspend:
0000:00:1a.70000:00:1d.7
/etc/pm/sleep.d/20_custom-ehci_hcd resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/11netcfg resume suspend:

/usr/lib/pm-utils/sleep.d/11netcfg resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01grub resume suspend:

/usr/lib/pm-utils/sleep.d/01grub resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave resume suspend:

/usr/lib/pm-utils/sleep.d/00powersave resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00logging resume suspend:

/usr/lib/pm-utils/sleep.d/00logging resume suspend: success.
Wed Dec 29 19:24:40 CET 2010: Finished.

As you can see, everything works fine, except the fact that the computer awakes 7 seconds after going to sleep... Of course I'm not touching it when it goes to sleep. I've also tried to disconnect everything I could (USB device and wifi).
Is there anyone who have already seen this kind of thing?

Offline

#2 2011-01-09 08:55:15

admiralspark
Member
From: Alaska, USA
Registered: 2011-01-07
Posts: 87

Re: Suspend to RAM works but awakes immediately (pm-suspend)

Just out of curiosity, are you wired in to a network? I've heard that data transfer over ethernet will trigger the wake-on-lan settings in the BIOS, which would wake it from sleep.


Team Ignition Kernel Developer
linux-ideapad developer/maintainer
Flame Kernel developer for Galaxy Nexus and Galaxy S3
Want a cheap, reliable VPS with AWESOME customer service?

Offline

#3 2012-04-21 14:08:24

geckon
Member
Registered: 2010-07-04
Posts: 4

Re: Suspend to RAM works but awakes immediately (pm-suspend)

Offline

Board footer

Powered by FluxBB