Juanito
Group: Members
Posts: 1601
Joined: Sep. 2005 |
|
Posted: 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...
|