ACPI hibernate


Forum: HD Install
Topic: ACPI hibernate
started by: nrune

Posted by nrune on Nov. 24 2006,19:48
Could use some help

DSl is installed and working great. Want to use the desktop machine as a file server, But as it will be only used only occastionly, I want to have it hibernate/suspend and then wake on lan when being used.

bios is set to acpi and the time outs for suspend/hybernate are also set.   boot line is apm=off acpi=force. acpid is installed and seems to be working. So my question is, how can I get this thing to  go to sleep until needed?  Any help apprecated, thanks for the great distro.

Posted by Juanito on Nov. 25 2006,05:54
I've done some playing around with acpi - thought mostly on DSL-N and only on a laptop.

I guess the first thing is to check if sleep or suspend are supported on your system - eg, from my system:

# cat /proc/acpi/sleep gives S0 S1 S3 S4 S4Bios S5

"S3" = "sleep" (suspend to RAM) so in theory "echo 3 > /proc/acpi/sleep" will put a machine to sleep.

In practice (see Google) you may need to unload USB modules, bring down the network, save the screen state, etc before you put the machine to sleep and then reverse the process when the machine wakes.

I've tried the above in DSL-N but have never managed to get my machine to wake-up again...

Posted by nrune on Nov. 27 2006,00:26
Okay need some futher pointing.

Using APM rather than ACPI due to the idea of KISS. so...

Sleep states supported are s0, s1, and s5.

When using
Code Sample
apm standby

the screen blanks, the machine pauses, looks like it's going to work and then pops back to life.

When looking at /etc/suspend.d  /etc/resume.d and /etc/event.d there is nothing there. Any idea where I can find the scripts needed to make it work?

Thanks in advance.

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