Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: ACPI hibernate, hiberbate desktop pc< Next Oldest | Next Newest >
nrune Offline





Group: Members
Posts: 2
Joined: Nov. 2006
Posted: Nov. 24 2006,19:48 QUOTE

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.
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Nov. 25 2006,05:54 QUOTE

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...
Back to top
Profile PM 
nrune Offline





Group: Members
Posts: 2
Joined: Nov. 2006
Posted: Nov. 27 2006,00:26 QUOTE

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.
Back to top
Profile PM 
2 replies since Nov. 24 2006,19:48 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: ACPI hibernate

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code