Hi,
I'm running Ubuntu 8.04 on an AMD (x86_64) platform, have have been able to get suspend working, which is really great.
However, I've been trying to get my machine to wake up after a suspend, without having to use the computer's power button. From reading http://www.uluga.ubuntuforums.org/sh...70&postcount=4 I know I need to set up my /proc/acpi/wakeup correctly, but I don't understand exactly what I am doing.
I would like to enable WOL (ethernet "Wake On Lan"), PS2 keyboard and mouse and USB device to wake up the machine after a suspend. The contents of my /proc/acpi/wakeup are:
Code:
jon@black:/etc/acpi$ cat /proc/acpi/wakeup
Device S-state Status Sysfs node
HUB0 S5 disabled pci:0000:00:06.0
XVR0 S5 disabled pci:0000:00:0f.0
XVR1 S5 disabled pci:0000:00:0e.0
XVR2 S5 disabled pci:0000:00:0d.0
XVR3 S5 disabled pci:0000:00:0c.0
XVR4 S5 disabled pci:0000:00:0b.0
XVR5 S5 disabled pci:0000:00:0a.0
UAR1 S5 disabled pnp:00:07
PS2M S4 disabled pnp:00:09
USB0 S4 disabled pci:0000:00:02.0
USB2 S4 disabled pci:0000:00:02.1
AZAD S5 disabled pci:0000:00:06.1
MMAC S5 disabled pci:0000:00:08.0
MAC1 S5 disabled pci:0000:00:09.0
Obviously I can do the following to enable USB:
Code:
root#black> echo UCH1 > /proc/acpi/wakeup
and this works. But, what are the other devices? Is there a way to work out what, for example, XVR2 actually is? How do you go from the device "code" and the "system node" to knowing exactly what is what? What would be the difference between the USB0 an USB2 devices? And, finally, what would I "activate" in order to enable the ethernet WOL to wake up the machine after a suspend?
Many thanks for any help you can give.
Cheers,
Jon
(And, just in case anyone asks, yes, I have enabled WOL by using ethtool.)
Code:
jon@black:/etc/acpi$ sudo ethtool eth0:
Settings for eth0::
Supported ports: [ MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 1
Transceiver: external
Auto-negotiation: on
Supports Wake-on: g
Wake-on: g
Link detected: yes