You are not logged in.

#1 2008-07-01 19:26:44

visbits
Member
Registered: 2008-07-01
Posts: 7

S2Ram works, but it will not resume from standby.

Hi, I have a compaq evo n600c, S2Ram works perfectly, there are no errors in the log, but when I try to resume the laptops turns on, the screen stays dark, the hd light flickers twice and then nothing happiens.

Please let me know what I need to post to help.

Thank you!

Offline

#2 2008-07-06 19:07:45

visbits
Member
Registered: 2008-07-01
Posts: 7

Re: S2Ram works, but it will not resume from standby.

Same deal, goes to sleep, and won't start back up.

Offline

#3 2008-07-06 19:55:51

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: S2Ram works, but it will not resume from standby.

In some cases a laptop resumes but the display stays powered off (is that the case?). If it's not, and your laptop freezes: in most cases some module is causing problems you need to find which one(s) (i.e. on some Acer series "psmouse" causes freeze while resuming).

I would boot to single user, remove most modules and then try to suspend a few times with diffrent quirks. See if it resumes then.
http://en.opensuse.org/S2ram#My_machine … an_i_do.3F

Next step is to find the responsible module(s), you can try manually but it could be a pain, for that reason TRACE_RESUME exists. However Arch doesn't have suspend debuging (PM_DEBUG and PM_TRACE) enabled in kernel (I asked on Flyspray once but it didn't go trough).
http://lxr.linux.no/linux/Documentation/power/s2ram.txt
https://wiki.ubuntu.com/DebuggingKernelSuspend

Good luck.


You need to install an RTFM interface.

Offline

#4 2008-07-07 17:01:19

chuckychuck
Member
From: Paris, France
Registered: 2008-07-01
Posts: 25
Website

Re: S2Ram works, but it will not resume from standby.

i had the same problem with my laptop, it was wifi related, i switched from the default connection handling to network manager ( which has built-in support for suspendings/hibernating )
you may try networkmanager to check if it's wifi related or not

( in most cases it is ), then check for your video card and then all the remaining modules ...

Offline

#5 2008-07-08 00:02:24

visbits
Member
Registered: 2008-07-01
Posts: 7

Re: S2Ram works, but it will not resume from standby.

ATI Graphics Chipsets

Lately many machines i came across with ATI Radeon graphics chipsets did not work with any framebuffer (usually they hung inside the BIOS, not even capslock did work after trying to resume). They often worked fine with "vga=0" and "s2ram -f -p -m" or "s2ram -f -p -s".

adding vga=0 cured my suspend problems, Is there any way I can run a pretty console with suspend?

I was reading and apparently theres been some luck with modprobe radeonfb at startup, This apparently sets the console to native resolution. Ideas?

Thanks for all your efforts, Thanks you very much. smile

Last edited by visbits (2008-07-08 00:08:23)

Offline

#6 2008-07-08 00:31:04

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: S2Ram works, but it will not resume from standby.

@visbits: have you thought about trying the normal kernel suspend options?
"echo "mem" > /sys/power/state" or "echo "standby" > /sys/power/state" works with the 2.6.25.x kernel out of the box and (at least for me) faster and more reliable than s2ram/s2disk used to.

Offline

#7 2008-07-08 07:23:15

signor_rossi
Member
Registered: 2007-08-24
Posts: 257

Re: S2Ram works, but it will not resume from standby.

visbits wrote:

I was reading and apparently theres been some luck with modprobe radeonfb at startup, This apparently sets the console to native resolution. Ideas?

radeonfb=certain lockup when X starts for me for ages
vesa works for me, it doesn't do my widescreen resolution of 1680x1050 though.

Bye, signor_Rossi.

Offline

#8 2008-07-08 09:46:34

robmaloy
Member
From: Germany
Registered: 2008-05-14
Posts: 263

Re: S2Ram works, but it will not resume from standby.

does this happen if you stop X before you suspend?

i have a compaq laptop too (armada m700) and most of the time, the display stays dark after resume if i leave X running

when i turn off X and use pm-suspend everything works fine


☃ Snowman ☃

Offline

#9 2008-07-09 02:56:23

visbits
Member
Registered: 2008-07-01
Posts: 7

Re: S2Ram works, but it will not resume from standby.

Okay, "echo "mem" > /sys/power/state" Suspends fine,
Is there a way I can modprobe radeonfb to make my text pretty, but automatically unload the module before suspending and reload it after suspending?

Could it be done with a batch script?

Offline

#10 2008-07-09 15:38:07

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: S2Ram works, but it will not resume from standby.

visbits wrote:

Okay, "echo "mem" > /sys/power/state" Suspends fine,
Is there a way I can modprobe radeonfb to make my text pretty, but automatically unload the module before suspending and reload it after suspending?

Could it be done with a batch script?

sure, try smth like:

#!/bin/bash
modprobe -r radeonfb
echo "mem" > /sys/power/state

modprobe radeonfb

Offline

#11 2008-07-09 15:48:45

visbits
Member
Registered: 2008-07-01
Posts: 7

Re: S2Ram works, but it will not resume from standby.

modprobe -r radeonfb, complains its in use, any ideas?

Offline

#12 2008-07-09 18:36:40

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: S2Ram works, but it will not resume from standby.

There appears to be a solution in the fbcon kernel docs: http://www.mjmwired.net/kernel/Document … /fbcon.txt
To be more precise, the procedure described under "C. Attaching, Detaching and Unloading" allows radeonfb to be unloaded and the console restored to regular VGA text. Subsequently reloading radeonfb restores the high-res framebuffer.

Shouldn't be too hard to make this into a radeonfb suspend hook - I'll do it later this evening.

Offline

#13 2008-07-09 18:38:50

visbits
Member
Registered: 2008-07-01
Posts: 7

Re: S2Ram works, but it will not resume from standby.

Thanks Tomk, I truely appreciate it!

Offline

#14 2008-07-10 13:32:27

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: S2Ram works, but it will not resume from standby.

Well.. I think you might be cancelling that appreciation. It turns out that, although it is possible to disable the framebuffer and then unload the radeonfb module as described in the docs, this can only be done when X is not running. If it's done while X is running both get screwed up, and the system needs a hard reset. So if you're OK with shutting down X before you suspend (!) you can use this... except of course that if you shut down X before you suspend, then you don't need to use this. smile

In short, no progress. sad I'm not abandoning the idea altogether, but I'm moving it off my "must-have" list for now. I'll just use X, forget about framebuffers, suspend at will, and be happy.

Offline

#15 2008-07-10 17:47:48

visbits
Member
Registered: 2008-07-01
Posts: 7

Re: S2Ram works, but it will not resume from standby.

haha, Yeah, but when I bootup my laptop in linux at college i feel lame with blurry text lol.

Offline

#16 2010-04-16 08:40:04

lukrop
Member
From: /at/vienna
Registered: 2008-01-30
Posts: 27
Website

Re: S2Ram works, but it will not resume from standby.

Just to have it mentioned. I had the same problem with my Acer Travelmate 8371. The HDD module didn't wake up the disk correctly.

i8042.reset=1

boot paramter cured the problem for me.

Offline

Board footer

Powered by FluxBB