You are not logged in.

#1 2010-06-20 21:17:55

kierank01
Member
From: Here
Registered: 2009-04-25
Posts: 45

problem with suspend to RAM on IBM X31

i am having a problem with suspend to ram.

I have used pm-utils, and  uswsusp/s2ram.

suspending with s2ram works ok
suspending with pm-utils leaves the backlight on (haven't looked into this yet (how do you make make pm-utils use vbetool) )

The real problem is that when I attempt to resume, the screen stays blank.

I have used used so many workarounds from the archwiki, and the thinkwiki, I am not sure where to go next.

This is my latest pm-suspend.log:

Initial commandline parameters: 
Sun Jun 20 21:54:34 IST 2010: Running hooks for suspend.
/usr/lib/pm-utils/sleep.d/00logging suspend suspend:Linux x31-arch 2.6.33-ARCH #1 SMP PREEMPT Thu May 13 12:06:25 CEST 2010 i686 Intel(R) Pentium(R) M processor 1600MHz GenuineIntel GNU/Linux
Module                  Size  Used by
ipv6                  236668  10 
snd_seq_dummy           1067  0 
snd_seq_oss            24984  0 
snd_seq_midi_event      4484  1 snd_seq_oss
arc4                    1058  2 
snd_seq                41656  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_intel8x0m           9323  0 
snd_intel8x0           22200  3 
snd_seq_device          4349  3 snd_seq_dummy,snd_seq_oss,snd_seq
ecb                     1545  2 
snd_ac97_codec         87943  2 snd_intel8x0m,snd_intel8x0
radeon                653413  2 
snd_pcm_oss            33442  0 
snd_mixer_oss          14356  1 snd_pcm_oss
uhci_hcd               19244  0 
ttm                    39017  1 radeon
ac97_bus                 750  1 snd_ac97_codec
irtty_sir               3385  0 
drm_kms_helper         21732  1 radeon
snd_pcm                57767  5 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
thinkpad_acpi          53859  0 
pcmcia                 26354  0 
sir_dev                 8117  1 irtty_sir
snd_timer              15629  3 snd_seq,snd_pcm
ehci_hcd               31420  0 
ath5k                 119632  0 
drm                   130130  4 radeon,ttm,drm_kms_helper
snd                    42562  15 snd_seq_oss,snd_seq,snd_intel8x0m,snd_intel8x0,snd_seq_device,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,thinkpad_acpi,snd_timer
usbcore               119796  3 uhci_hcd,ehci_hcd
yenta_socket           18843  2 
i2c_i801                7058  0 
i2c_algo_bit            4283  1 radeon
intel_agp              22681  1 
rsrc_nonstatic          8738  1 yenta_socket
soundcore               5017  1 snd
i2c_core               14855  5 radeon,drm_kms_helper,drm,i2c_i801,i2c_algo_bit
agpgart                23119  3 ttm,drm,intel_agp
pcmcia_core            25699  3 pcmcia,yenta_socket,rsrc_nonstatic
irda                   90564  1 sir_dev
e1000                  89992  0 
mac80211              151387  1 ath5k
ath                     6790  1 ath5k
cfg80211              108137  3 ath5k,mac80211,ath
iTCO_wdt                8537  0 
firewire_ohci          20072  0 
rfkill                 12198  2 thinkpad_acpi,cfg80211
iTCO_vendor_support     1453  1 iTCO_wdt
firewire_core          38297  1 firewire_ohci
crc_itu_t               1041  1 firewire_core
crc_ccitt               1067  1 irda
ppdev                   4850  0 
led_class               1997  2 thinkpad_acpi,ath5k
nvram                   4705  1 thinkpad_acpi
battery                 7451  0 
psmouse                50729  0 
ac                      2317  0 
parport_pc             27735  1 
shpchp                 26528  0 
thermal                 9614  0 
button                  3702  0 
video                  15449  0 
output                  1436  1 video
snd_page_alloc          5873  3 snd_intel8x0m,snd_intel8x0,snd_pcm
lp                      6652  0 
evdev                   6716  13 
serio_raw               3618  0 
pci_hotplug            23303  1 shpchp
processor              25806  1 
pcspkr                  1347  0 
parport                25371  3 ppdev,parport_pc,lp
rtc_cmos                7546  0 
rtc_core               11851  1 rtc_cmos
rtc_lib                 1482  1 rtc_core
ext4                  302709  2 
mbcache                 4278  1 ext4
jbd2                   63651  1 ext4
crc16                   1041  1 ext4
sg                     20820  0 
sd_mod                 25215  4 
ata_generic             2171  0 
pata_acpi               2296  0 
ata_piix               17884  3 
libata                138071  3 ata_generic,pata_acpi,ata_piix
floppy                 47264  0 
scsi_mod               79436  3 sg,sd_mod,libata
             total       used       free     shared    buffers     cached
Mem:        510992     494420      16572          0      15304     174072
-/+ buffers/cache:     305044     205948
Swap:      2096440       3768    2092672
success.
/usr/lib/pm-utils/sleep.d/00powersave suspend suspend:success.
/usr/lib/pm-utils/sleep.d/01grub suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/11netcfg suspend suspend:success.
/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:success.
/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:success.
/usr/lib/pm-utils/sleep.d/75modules suspend suspend:success.
/usr/lib/pm-utils/sleep.d/90clock suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:success.
/usr/lib/pm-utils/sleep.d/95led suspend suspend:success.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:success.
/usr/lib/pm-utils/sleep.d/99video suspend suspend:kernel.acpi_video_flags = 0
success.
Sun Jun 20 21:54:36 IST 2010: performing suspend

So it seems that the laptop does nothing after I attempt to resume

Last edited by kierank01 (2010-06-20 21:26:20)

Offline

#2 2010-06-23 09:19:32

kierank01
Member
From: Here
Registered: 2009-04-25
Posts: 45

Re: problem with suspend to RAM on IBM X31

anybody?

Offline

#3 2010-06-23 12:39:14

a1ex
Member
From: Germany
Registered: 2007-02-16
Posts: 91

Re: problem with suspend to RAM on IBM X31

I used the following script executed on acpi lid close event before the last update (xorg 1.8, kernel .34)

Now my screen stays black on resume as well. echo -n "mem" > /sys/power/state fails itself btw, so the problem seems to be somwhere inside X, the kernel or the driver. Not pm-utils or script related hmm

Any ideas?

#! /bin/sh

## prepare
/etc/rc.d/mpd stop
/etc/rc.d/wicd stop
sync

FGCONSOLE=`fgconsole`
chvt 6
radeontool light off

## go to sleep
sleep 2 && echo -n "mem" > /sys/power/state

## wake up
radeontool light on
chvt $FGCONSOLE

/etc/rc.local
/etc/rc.d/mpd start
/etc/rc.d/wicd start

//e Just had a look at the freedesktop Bugtracker but couldnt find anything useful.

Last edited by a1ex (2010-06-23 12:46:26)

Offline

#4 2010-06-25 16:19:10

rttommy
Member
Registered: 2007-12-27
Posts: 19

Re: problem with suspend to RAM on IBM X31

Just to be sure, have you tried those instructions: [wiki]IBM ThinkPad X31#Hibernation[/wiki]

Offline

#5 2010-06-25 18:20:12

kierank01
Member
From: Here
Registered: 2009-04-25
Posts: 45

Re: problem with suspend to RAM on IBM X31

rttommy wrote:

Just to be sure, have you tried those instructions: [wiki]IBM ThinkPad X31#Hibernation[/wiki]

I have, the script puts the laprop to sleep ok, but it will not resume.

Offline

Board footer

Powered by FluxBB