You are not logged in.
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
Same deal, goes to sleep, and won't start back up.
Offline
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
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
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.
Last edited by visbits (2008-07-08 00:08:23)
Offline
@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
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
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
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
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
modprobe -r radeonfb, complains its in use, any ideas?
Offline
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
Thanks Tomk, I truely appreciate it!
Offline
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.
In short, no progress. 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
haha, Yeah, but when I bootup my laptop in linux at college i feel lame with blurry text lol.
Offline
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