You are not logged in.

#1 2009-01-10 23:10:19

SLKDK
Member
Registered: 2008-08-11
Posts: 61

Get suspend and hibernate working

Hi. Did not know were to put this..

I have Arch installed on my laptop, and at the moment I am setting up laptop-mode-tools.
I wan't my laptop to hibernate when battery level gets critical low.

But I can't get Arch to hibernate, even manually.

I have a swap partition 1500MB.
I have pm-utils installed.

Calling pm-hibernate doesnt do anything, I can Control^C out of it again.
I use LXDE and when I click "Hibernate" in the Log Out screen, the computer seems to go to hibernate, everything spins down, but at very last a white cursor is blinking in the top left of the black screen.


Hope someone can guide me.

Offline

#2 2009-01-10 23:14:34

pointone
Wiki Admin
From: Waterloo, ON
Registered: 2008-02-21
Posts: 379

Re: Get suspend and hibernate working

Check/post your /var/log/pm-suspend or /var/log/pm-hibernate logs for clues.


M*cr*s*ft: Who needs quality when you have marketing?

Offline

#3 2009-01-10 23:38:42

SLKDK
Member
Registered: 2008-08-11
Posts: 61

Re: Get suspend and hibernate working

Thanks for your reply.

That gives me:


Initial commandline parameters: --quirk-dpms-suspend
--quirk-dpms-on
--quirk-vbestate-restore
--quirk-vbemode-restore
--quirk-vga-mode3
--quirk-vbe-post
Sat Jan 10 17:35:41 CET 2009: Running hooks for hibernate.
/usr/lib/pm-utils/sleep.d/00auto-quirk hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/00logging hibernate hibernate: Linux myhost 2.6.27-ARCH #1 SMP PREEMPT Sun Dec 21 09:31:10 UTC 2008 i686 Intel(R) Celeron(R) CPU 530 @ 1.73GHz GenuineIntel GNU/Linux
Module                  Size  Used by
i915                   31232  2 
drm                    74280  3 i915
joydev                 11584  0 
arc4                    3712  2 
ecb                     4608  2 
crypto_blkcipher       17540  1 ecb
snd_pcsp               11040  0 
psmouse                38288  0 
serio_raw               7172  0 
iTCO_wdt               12196  0 
iTCO_vendor_support     4996  1 iTCO_wdt
usbhid                 46016  0 
sg                     28852  0 
hid                    41856  1 usbhid
rtl8187                46592  0 
ff_memless              6664  1 usbhid
mac80211              158876  1 rtl8187
eeprom_93cx6            3840  1 rtl8187
cfg80211               25224  2 rtl8187,mac80211
video                  18064  0 
output                  4608  1 video
led_class               5508  0 
asus_acpi              15772  0 
intel_agp              27068  1 
agpgart                30804  3 drm,intel_agp
thermal                17052  0 
processor              34732  2 thermal
evdev                  11296  6 
fan                     6148  0 
button                  7824  0 
battery                12036  0 
ac                      6020  0 
snd_seq_oss            31872  0 
snd_seq_midi_event      8192  1 snd_seq_oss
snd_seq                49968  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          8332  2 snd_seq_oss,snd_seq
snd_hda_intel         370736  1 
snd_hwdep               8964  1 snd_hda_intel
snd_pcm_oss            40192  0 
snd_pcm                69636  3 snd_pcsp,snd_hda_intel,snd_pcm_oss
snd_timer              21384  2 snd_seq,snd_pcm
snd_page_alloc          9224  2 snd_hda_intel,snd_pcm
snd_mixer_oss          16512  1 snd_pcm_oss
snd                    50724  12 snd_pcsp,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               8160  1 snd
8139too                24964  0 
8139cp                 21248  0 
mii                     6528  2 8139too,8139cp
rtc_cmos               11424  0 
rtc_core               17564  1 rtc_cmos
rtc_lib                 4480  1 rtc_core
ext3                  126344  2 
jbd                    46484  1 ext3
mbcache                 8708  1 ext3
sd_mod                 27160  4 
sr_mod                 16708  0 
cdrom                  35360  1 sr_mod
ehci_hcd               36236  0 
uhci_hcd               24080  0 
usbcore               134384  5 usbhid,rtl8187,ehci_hcd,uhci_hcd
ata_piix               18308  0 
ahci                   30348  3 
ata_generic             6788  0 
pata_acpi               6016  0 
libata                153888  4 ata_piix,ahci,ata_generic,pata_acpi
scsi_mod               96460  4 sg,sd_mod,sr_mod,libata
dock                    9616  1 libata
             total       used       free     shared    buffers     cached
Mem:       1026628     800512     226116          0      57728     569008
-/+ buffers/cache:     173776     852852
Swap:      1536984          0    1536984
success.
/usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate: success.
/etc/pm/sleep.d/00sleep.sh hibernate hibernate: not executable.
/usr/lib/pm-utils/sleep.d/01grub hibernate hibernate: not applicable.
/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/55wicd hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/75modules hibernate hibernate: not applicable.
/usr/lib/pm-utils/sleep.d/90chvt hibernate hibernate: success.
/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/98smart-kernel-video hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/99video hibernate hibernate: success.
Sat Jan 10 17:36:13 CET 2009: performing hibernate

How to use that info to get suspend/hibernate working?

Offline

#4 2009-01-11 12:39:04

SLKDK
Member
Registered: 2008-08-11
Posts: 61

Re: Get suspend and hibernate working

Anyone? I tried out Ubuntu a year ago, and suspend/hibernate worked out of the box.
So it must be possible on my laptop.

I don't find the wiki helpful cause I have done everything in it.

Offline

#5 2009-01-11 13:38:09

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: Get suspend and hibernate working

In my laptop I had similar problem. This issue had been resolved after setting hal policy correctly. I hope this thread may help you http://bbs.archlinux.org/viewtopic.php?id=58047

Offline

Board footer

Powered by FluxBB