Re: WOL stops working on halt

Andrew Morton (akpm@zip.com.au)
Thu, 08 Nov 2001 09:50:26 -0800


Matt wrote:
>
> Hi list,
>
> I have a 3c980 NIC plugged into an Abit KT7-RAID and connected together
> with a WOL cable. I can't seem to get WOL to work using the ether-wake
> utility if I power the box down with shutdown(8). The only way I can
> currently get WOL to work is if I reboot the box, then physically press
> the power button to turn it off.

As far as the driver is concerned, a shutdown and a reboot are identical,
so we need to look at external causes. Presumably Linux APM or BIOS.

> I'm loading the 3c59x.o driver using the enable_wol option, but I'm not
> currently using ACPI. Looking through the 3c59x.c code, I notice it relies
> on the box being put into a certain ACPI state. Will the ACPI code do this
> on shutdown?

The driver has no dependency on the kernel's ACPI code. It
uses a function called `acpi_set_WOL' for historical reasons.

Sorry - that wasn't a lot of help :(
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/