ACPI/APM Suspend?


Forum: Laptops
Topic: ACPI/APM Suspend?
started by: sfabius

Posted by sfabius on Feb. 26 2007,02:30
I am trying to get this laptop to suspend to ram, and then it will be ideal. I have searched the forums and googled and tried numerous things which don't work.
ACPI works except for suspend. I read on one of the pages that the 2.4 kermel doesn't support S3 state. I tried anyway and, no it doesn't. I did "modprobe toshiba_acpi" and "modprobe ac" etc.
OK, so I'll try APM, I think, which is reported to work on a site putting Debian on < this very machine >. So I add "noacpi" to grub. ACPI seems to load. I try "acpi=off" and the machine hangs on boot (just after reporting  the CPU speed).
I know the machine can do it; if I hit the power button while in grub, it suspends. Is there a way to turn it over to bios?
I would like a suggestion on what to try next, if anyone can think of enything!

Posted by Juanito on Feb. 26 2007,03:35
I've tried ACPI "suspend to ram" with a Dell laptop and DSL-N - one thing I found is that waking your machine up sucessfully may depend on how you booted DSL in the first place.

I have seen several reports stating that you need to unload the USB modules prior to suspend and load them again on resume - I boot DSL from USB so it is unlikely to work for me.

Also, on my Dell machine I need to add extra commands to wake the screen up after a "lid" event which would presumeably be needed after a "suspend to ram".

I'd like to get "suspend to ram" working on my machine too - let me know how you get on.

Posted by sfabius on Feb. 26 2007,16:26
I'll deal with waking if I ever get to sleep  :)
I was look at < this site > and it said to do the following to get ACPI suspend to ram to work:
Code Sample
echo mem > /sys/power/state
but there is no file of this name in my (frugal) installation. I see that CONFIG_ACPI_SLEEP is compiled into the kernel, so it seems like it should be there. In fact, there is nothing in /sys.

Posted by Juanito on Feb. 26 2007,17:18
This is the command for the 2.6.x kernel (i.e. DSL-N) - 'works for me except that my laptop goes into a coma...

You have to do something different (as far as I remember) in the 2.4.x kernel.

Posted by sfabius on Feb. 26 2007,18:00
Ok. So a search for kernel 2.4 ACPI suspend turns up < this very informative page > (refreshing in its straightforwardness). It is here that it says "S3 is currently _not_ supported by the 2.4.x kernel series in Linux." That would be my main problem.
But still, then, why can't I boot with ACPI=off?
I didn't realize we could get a 2.6 kernel with DSL. I will have to investigate how to do that. If you have any howto suggestions, please let me know!

Posted by ^thehatsrule^ on Feb. 26 2007,18:24
See DSL-N: < http://damnsmalllinux.org/dsl-n/ >
Posted by sfabius on Feb. 26 2007,18:53
Looks great, and might solve my problem. Two questions:
1. Will it run on my Toshiba Laptop (~300 Mhz PIII, 96MbRAM, no CD boot, no USB boot)?
2. How hard will it be to install/upgrade from my existing DSL system?

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.