Re: Re: remote shutdown
Donald Becker <[email protected]> Thu, 14 Aug 2003 16:17:42 -0400 (EDT)
| Newsgroups | gmane.linux.drivers.vortex.devel |
|---|---|
| Message-ID | <Pine.LNX.4.44.0308141525010.2729-100000@beohost> |
On Thu, 14 Aug 2003, Erik Thiele wrote:
> right now i tried the ftp://ftp.scyld.com/pub/network/3c59x.c
> with it's pci-scan.[ch] and kern-compat.h
OK, you seem to be actually interested in solving what is now evident as
a hard problem.
The tool I used to develop and test WoL is 'pci-config'
You can get it from
ftp://ftp.scyld.com/pub/diag/pci-config.c
[[ Hmmm, there is actually a newer version, but the only changes are for
the Operton. ]]
This code allows reading the PCI configuration space registers.
I use it to monitoring if the card is trying to raise a wake-up sign.
It has an extra piece of code expecially for the 3Com chips enabled by
--set-WOL
With this you can
Find the board index by running 'pci-config'
Run 'pci-config -#<INDEX>' to see the current board state
Test that ether-wake triggers the PME (Power Management Event) bit
load, start, stop and unload the driver
pci-config -#<N> --set-WOL
test again to see if ether-wake triggers the PME bit.
--
Donald Becker [email protected]
Scyld Computing Corporation http://www.scyld.com
914 Bay Ridge Road, Suite 220 Scyld Beowulf cluster system
Annapolis MD 21403 410-990-9993
_______________________________________________
vortex mailing list
[email protected]
http://www.scyld.com/mailman/listinfo/vortex