<br><br><div class="gmail_quote">On 13 September 2010 18:10, Ljubomir Ljubojevic <span dir="ltr"><<a href="mailto:office@plnet.rs">office@plnet.rs</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
If you suspend-to-disk, there is no power on the MB, and there is no way to wake it up without power button. Only way this would be possible is if NIC would have battery to stay active and respond to WOL packet by shorting power button pin's. That leaves only STR as valid option for instant wake-up<br>
</blockquote><div><br>When a poweroff a machine, it's not completely without power. There's a
low current 5V rail that the power supply makes available. You may
have noticed on a motherboard that the power switch on the front of the
machine is actually nothing of the kind: it just closes a small contact
on the motherboard that actually asks the system to come up. WOL works
in exactly the same way: there's enough power for the magic packet to
actually start the machine. You may also have noticed that the LED on a
PS/2 optical mouse sometimes stays on even though the machine has
powered down.<br>
<br>Some BIOS implementations allow you to "turn the power on" by
hitting the space bar on a PS/2 keyboard or, although I don't recall
seeing this, clicking a mouse button.<br><br>My machine at home
supposedly will do WOL from S4 (suspend to disk) -- there's a setting in
the BIOS for it. (It doesn't work because the NIC has other problems
and also suspend to disk doesn't actually work either.) Machines that
have working WOL are supposed to work from power off. It's very spooky seeing a machine suddenly spring into life :-)<br>
<br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
And even more, wake-up from suspend-to-disk is much slower then wake-up from STR.<br><br></blockquote><div><br>It's a tradeoff. It takes my laptop about 30s to fully come back from STR, about 30s longer to come back from suspend to disk plus the time taken to re-load the cache that was discarded. Your mileage will vary: it depends very much on the workload and the machine. My laptop has a fair amount of memory and a slow disk so it takes quite a while. Lightly used desktop systems are quicker, but resume is also quicker. <br>
<br>It all depends how much power you want to save over night. You could have an acpid script that does STD at night and STR during the day.<br><br>jch <br></div></div>