Re: ACPI sleep states on Tyan Thunder K8W S2885

From: Adam Belay
Date: Sun May 01 2005 - 18:00:33 EST


On Fri, Apr 29, 2005 at 12:36:23PM -0400, Kyle Rose wrote:
> I can't seem to get my Tyan board (AMD 81x1 chipset) to go to sleep such
> that wake-on-LAN will wake it back up. On my other machines, when I
> shutdown -h, it (presumably) puts the machine into S5 state
> automatically, and WOL works like a charm; on this machine, shutdown -h
> puts the machine into an actual "off" state in which WOL won't wake it
> back up.

The "off" state is always considered S5. Adding wake devices does not make
the state S5.

>
> Moreover, if I try to echo 5 > /proc/acpi/sleep with full debugging, I
> get absolutely nothing in dmesg.

-->snip

> Furthermore, if I shut down from Windows, it *does* go into what I
> presume is the S5 state, so this is a software problem, not hardware.
>
> Any suggestions on debugging?
>
> Cheers,
> Kyle

S5 wake devices can be a very fuzzy area. In general, the ACPI spec
recommends that wake capabilities are enabled before halting the system.
Therefore, your network card driver may need to specifically handle this.

For starters, we should probably look at "lspci -vv". I'm assuming your
network card is PCI. This will allow us to see if it's capable of waking
from D3-cold, the state it will most likely be in during S5.

I would also check your BIOS configuration and see if it's possible to
specifically enable wake-on-lan. Let me know if this helps.

Finally, what kernel version are you using?

Thanks,
Adam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/