i'm trying to get my acpi sleep states working, but i'm not sure exactly how they're supposed to behave, so i dont know if what happens when i do an "echo "disk" > /sys/power/state", for example. so, i'm going to list the states that i have available, what happens when i try to use them. i'm hoping somebody can tell me if it's working and what is supposed
to happen when i enter these states.
i've heard you can do this: "xset +dpms and then $ xset dpms force off" to turn a laptop's backlight off, but mine doesnt seem to actually go off. the screen goes blank, but i can kind of tell that there's a light on behind it. there's definitely a difference between this and when it's been shutdown.
S1: I "echo "standby" > /sys/power/state".
if i'm in X, the screen goes black and then goes right back to normal.
if i'm in the console, nothing happens, shouldnt something happen?
S3: I "echo "mem" > /sys/power/state".
It goes to the console, says some stuff about saving state, then the the screen goes blank. sometimes the "power" led light sometimes it stays on, sometimes it goes off and comes back on when i press a button. it's not supposed to shut it down, right? so why is my light going off? also, it doesn't actually wake up. i'm not sure how
i would wake it up though. would pressing a keyboard button, the mouse buttons, or the power button do it? none of that has worked.
S4: I "echo "disk" > /sys/power/state".
It goes to console, saves the state to disk, then shuts down. my power led actually goes off and it's totally shut down. when i resume, i have to hit the power button and it goes through the startup process again. is that supposed to happen? from the description of S4, it's supposed to be pretty much like S3 except it saves the state to disk, right? "hibernation" in windows never turned my power led off. if this is what S4 is supposed to do, whats the difference between S4 and "Software Suspend"?
S5 - "Soft Off"
System is shut down, however some power may be supplied to certain devices to generate a wake event, for example to support automatic startup from a LAN or USB device. In Microsoft Windows, the "Shut down" command is associated with this state. Mechanical power can usually be removed or restored with no ill effects.
My computer doesn't seem to support it, but it sounds very similar to what happens when i try to use S4. When you use S5, do you have to go thru the whole startup process(lilo and stuff) when you resume? would it be possible to wake my computer up from S4 remotely over my lan? that would be so cool.