You are not logged in.

#1 2011-01-27 19:54:00

phaebz
Member
Registered: 2011-01-25
Posts: 13

suspend2ram via pm-utils in gnome not working

Hello Everyone,

I am new to Arch, and all signs indicate that it is finally my long-after-searched distro. Specifically, I switched from a very short dip into gentoo (gnome compilation...) and now really like arch docs and experience so far.

I managed easily to get through installation, helped by the excellent docs. After getting gnome to work, I now want to enable suspend to ram and suspend to disk. Suspend to ram (from gnome power applet) does not work, it blanks my screen, computer still runs normally and I can not get gnome back. Always need to do a hard reset.

I installed pm-utils, acpi, gnome-extra etc. as pointed out on the pm-utils and gnome wiki.

I understood that gnome uses hal for suspend by default, so this is a starting point I guess. The output of suspend in /var/log/pm-suspend.log is not helpful, since all hooks are run and it reads "performing suspend"

Thu Jan 27 21:34:52 CET 2011: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux anvil 2.6.36-ARCH #1 SMP PREEMPT Mon Jan 24 18:34:55 UTC 2011 i686 AMD Athlon(tm) AuthenticAMD GNU/Linux
Module                  Size  Used by
ipv6                  244945  10 
ext2                   55656  1 
snd_seq_dummy           1079  0 
usbhid                 32169  0 
hid                    60432  1 usbhid
radeon                814837  2 
snd_seq_oss            25040  0 
snd_seq_midi_event      4528  1 snd_seq_oss
snd_intel8x0           22230  0 
snd_seq                41688  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_wavefront          28237  0 
ttm                    43438  1 radeon
snd_cs4236             21996  0 
snd_ac97_codec         87943  1 snd_intel8x0
drm_kms_helper         23055  1 radeon
snd_wss_lib            17822  2 snd_wavefront,snd_cs4236
snd_pcm_oss            33694  0 
snd_opl3_lib            7266  2 snd_wavefront,snd_cs4236
drm                   142807  4 radeon,ttm,drm_kms_helper
snd_hwdep               4764  2 snd_wavefront,snd_opl3_lib
snd_mixer_oss          14654  1 snd_pcm_oss
ac97_bus                 762  1 snd_ac97_codec
analog                  7715  0 
lp                      6652  0 
snd_mpu401              3800  0 
snd_mpu401_uart         4927  3 snd_wavefront,snd_cs4236,snd_mpu401
snd_pcm                59136  5 snd_intel8x0,snd_cs4236,snd_ac97_codec,snd_wss_lib,snd_pcm_oss
i2c_algo_bit            4183  1 radeon
snd_rawmidi            15288  2 snd_wavefront,snd_mpu401_uart
ohci_hcd               19051  0 
usblp                   9636  0 
ppdev                   4862  0 
snd_timer              15583  4 snd_seq,snd_wss_lib,snd_opl3_lib,snd_pcm
parport_pc             27832  1 
ehci_hcd               32908  0 
snd_seq_device          4369  5 snd_seq_dummy,snd_seq_oss,snd_seq,snd_opl3_lib,snd_rawmidi
i2c_nforce2             4408  0 
ns558                   2007  0 
usbcore               115866  5 usbhid,ohci_hcd,usblp,ehci_hcd
snd                    43219  17 snd_seq_oss,snd_intel8x0,snd_seq,snd_wavefront,snd_cs4236,snd_ac97_codec,snd_wss_lib,snd_pcm_oss,snd_opl3_lib,snd_hwdep,snd_mixer_oss,snd_mpu401,snd_mpu401_uart,snd_pcm,snd_rawmidi,snd_timer,snd_seq_device
gameport                6917  3 analog,ns558
parport                25499  3 lp,ppdev,parport_pc
nvidia_agp              4112  1 
i2c_core               15762  5 radeon,drm_kms_helper,drm,i2c_algo_bit,i2c_nforce2
tpm_tis                 6132  0 
fuse                   56816  3 
processor              22776  0 
sg                     21028  0 
button                  3746  0 
shpchp                 23037  0 
forcedeth              47178  0 
soundcore               4929  1 snd
tpm                     9505  1 tpm_tis
evdev                   6692  7 
thermal                 9690  0 
agpgart                22816  3 ttm,drm,nvidia_agp
pci_hotplug            21523  1 shpchp
snd_page_alloc          5981  3 snd_intel8x0,snd_wss_lib,snd_pcm
pcspkr                  1359  0 
tpm_bios                4661  1 tpm
ext4                  288261  2 
mbcache                 4298  2 ext2,ext4
jbd2                   58404  1 ext4
crc16                   1053  1 ext4
sd_mod                 24384  5 
sr_mod                 13217  0 
cdrom                  31378  1 sr_mod
pata_acpi               2308  0 
pata_amd                7988  4 
libata                140436  2 pata_acpi,pata_amd
scsi_mod              106955  4 sg,sd_mod,sr_mod,libata
floppy                 48264  0 
             total       used       free     shared    buffers     cached
Mem:        769776     247124     522652          0      27036      92212
-/+ buffers/cache:     127876     641900
Swap:      1052252          0    1052252

/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 /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:
Kernel modesetting video driver 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:
kernel.acpi_video_flags = 0

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Thu Jan 27 21:34:52 CET 2011: performing suspend

Any ideas or hints on this?

Thanks in advance

edit: After some time trying to get it to run with UPower, HAL and User Permission Method, I will end my attempts before I get mad. Fortunately, this machine was set up just to play with arch, and that was really fun. The stinging itch remains: If I could just pin down the error with debugging...

Last edited by phaebz (2011-01-27 21:48:33)

Offline

#2 2011-01-29 08:24:12

MadTux
Member
Registered: 2009-09-20
Posts: 553

Re: suspend2ram via pm-utils in gnome not working

What graphics card do you have and what graphics driver are you using? From the module list I guess it is an ATI card. You could try to disable KMS:

https://wiki.archlinux.org/index.php/Ati

Another option would be to see if the proprietary ATI drivers work better, if you don't have them already installed.

Offline

#3 2011-01-29 14:01:34

phaebz
Member
Registered: 2011-01-25
Posts: 13

Re: suspend2ram via pm-utils in gnome not working

Thanks for your reply MadTux!

I have a radeon 7500 with RV200 QW VGA controller.

I use the open driver xf86-video-ati.

I tried both the proprietary and the open driver. To no avail.

One thing though: Through experimenting with both, pc now suspends (drives and cpu down). After resume, drives and cpu start up again, but screen remains black - no control.

I read on the wiki somewhere about vbetool - tried it also with that installed...

I am lost

edit: Will try with KMS disabled...

Last edited by phaebz (2011-01-29 14:02:46)

Offline

Board footer

Powered by FluxBB