lkml.org 
[lkml]   [2001]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: WOL failure after shutdown
Tobias Ringstrom wrote:
>
> On Sun, 11 Feb 2001, James Brents wrote:
>
> > Sorry, I wrote that in a hurry. Its a 3Com PCI 3c905C Tornado. I can
> > successfully use wakeonlan if I power off the machine immeadiatly after
> > turning it on. Using the shutdown command, which it will when I need it
> > to power back up, it will not work.
> > Im using a wakeonlan cable to my motherboard as well, not using wake
> > through PCI bus.
> > Kernel is 2.4.1
> > I appologize for not providing all required the specs in the original
> > message.
>
> Try this patch. It is against the zero-copy version of the driver, but
> I'm sure you can apply it, at least manually, to any 2.4 version.
>
> Andrew, when can we expect to have WOL working in 2.4?
>
> +/* Change from D3 (sleep) to D0 (active).
> + Problem: The Cyclone forgets all PCI config info during the transition! */
> +static void acpi_wake(struct pci_dev *pdev)
[...]

Compare this code with pci_set_power_state() function in
drivers/pci/pci.c.

Jeff



--
Jeff Garzik | "You see, in this world there's two kinds of
Building 1024 | people, my friend: Those with loaded guns
MandrakeSoft | and those who dig. You dig." --Blondie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:13    [W:0.067 / U:5.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site