Most linux boxes I have used cannot wol unless their /proc/acpi entries
are fixed-up in addition of correct Bios and ethtool settings. On this
box:

Code:
--------------------
    cat /proc/acpi/wakeup 
  Device        S-state   Status   Sysfs node
  P0P2    S4     enabled   
  PS2K    S4     disabled  pnp:00:0b
  USB0    S4     disabled  pci:0000:00:1d.0
  USB1    S4     disabled  pci:0000:00:1d.1
  USB2    S4     disabled  pci:0000:00:1d.2
  USB3    S4     disabled  pci:0000:00:1d.3
  EUSB    S4     disabled  pci:0000:00:1d.7
  MC97    S4     disabled  
  P0P4    S4     enabled   pci:0000:00:1c.0
  P0P5    S4     enabled   
  P0P6    S4     enabled   pci:0000:00:1c.2
  P0P7    S4     enabled   pci:0000:00:1c.3
  P0P8    S4     enabled   
  P0P9    S4     enabled   
  P0P3    S4     disabled  pci:0000:00:1e.0
--------------------
 See the "enabled" devices ? This is because... 
Code:
--------------------
    lspci -tv | grep -B5 -i ether
  -[0000:00]-+-00.0  Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 
945GT Express Memory Controller Hub
  +-02.0  Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated 
Graphics Controller
  +-1c.0-[0000:03]--
  +-1c.2-[0000:02]--+-00.0  JMicron Technologies, Inc. JMicron 20360/20363 AHCI 
Controller
  |                 \-00.1  JMicron Technologies, Inc. JMicron 20360/20363 AHCI 
Controller
  +-1c.3-[0000:01]----00.0  Intel Corporation 82573L Gigabit Ethernet Controller
--------------------
... the integrated NIC is connected to the PCI 0 bus. Its ACPI name is
P0P7 (totally hardware dependant!)
Hence in my boot scripts (rc.local for example) I have added the
following code snippet:
Code:
--------------------
    # Enable PME events (Wake-on-PCI) if they are disabled
  # Correct BIOS setting needed. Ethtool needed too 
  if (/bin/grep P0P7 /proc/acpi/wakeup | /bin/grep disabled 2>&1 >> /dev/null) 
; then
  /bin/echo -n P0P7 > /proc/acpi/wakeup
  fi
--------------------
And in the BIOS I have "WOL"  as well as "wake from PCI devices"
selected.
HTH


-- 
epoch1970
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=52108

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to