You are not logged in.

#1 2008-02-28 13:38:48

mbkamble
Member
Registered: 2004-11-02
Posts: 2

Need help to get WOL working on Thinkpad A31p

I have Archlinux running on an A31p Thinkpad. I am able to perform STR using s2ram and STD using hibernate. I can also wakeup the system using the power button. However, I am unable to wake it up using WOL.

I have checked that WOL on the same hardware works as expected under Window XP. So there is no issue with BIOS setting or magic packet delivery to the unit.

Here are some of the relevant details:

# uname -a
Linux jeeves 2.6.23-ARCH #1 SMP PREEMPT Tue Jan 15 06:34:36 UTC 2008 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz GenuineIntel GNU/Linux

# ethtool eth0
Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x00000007 (7)
        Link detected: yes

# lspci
00:00.0 Host bridge: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge (rev 04)
00:01.0 PCI bridge: Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801CA/CAM USB Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801CA/CAM USB Controller #3 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 42)
00:1f.0 ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801CA/CAM SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 Audio Controller (rev 02)
00:1f.6 Modem: Intel Corporation 82801CA/CAM AC'97 Modem Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV200 LX [Mobility FireGL 7800 M7]
02:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a8)
02:00.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a8)
02:00.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller
02:02.0 Network controller: Intersil Corporation Prism 2.5 Wavelan chipset (rev 01)
02:08.0 Ethernet controller: Intel Corporation 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller (rev 42)

When I check /proc/acpi/wakeup, I noticed that the PCI1 wakeup was not enabled. So I went ahead and enabled it.

# cat /proc/acpi/wakeup
Device  S-state   Status   Sysfs node
LID       S3    *enabled
SLPB      S3    *enabled
PCI0      S4     disabled  no-bus:pci0000:00
UART      S3     disabled  pnp:00:0a
PCI1      S4     enabled   pci:0000:00:1e.0
USB0      S3     disabled  pci:0000:00:1d.0
USB1      S3     disabled  pci:0000:00:1d.1
USB2      S3     disabled  pci:0000:00:1d.2
AC97      S4     disabled  pci:0000:00:1f.6

# echo -n PCI1 >> /proc/acpi/wakeup

However that  didn't help either.

On probing under /sys I observed that ...eth0/power/wakeup returns empty string. I was unable to toggle it to enabled

# cat /sys/devices/pci0000\:00/0000\:00\:1e.0/0000\:02\:08.0/net/eth0/power/wakeup

# echo -n enabled > /sys/devices/pci0000:00/0000:00:1e.0/0000:02:08.0/net/eth0/power/wakeup
-bash: echo: write error: Invalid argument

Should the /sys/devices...../eth0/power/wakeup return an enabled value for WOL to work?

Any help will be greatly appreciated.

Offline

Board footer

Powered by FluxBB