Skip to contentSkip to conversation

ACPI wakeup device detection

DISCUSSION Josh Friesen 1 participant 1 message Jan 19, 2005 ACPI

lore
Share & tools
lore
#0 lore raw

Hi,

I'd like to know if there is any way to determine what device woke up my computer. I'm creating a media pc (mythtv) and if the pc is woken up by the ACPI timer then it doesn't need to start the GUI, but if it was woken up by the power button, keyboard, the USB remote it needs to start the GUI. If the ethernet connection received a WOL packet then I might want to start apache and/or samba.

I know that the ACPI specification allows the OS to determine which device woke it up, but is that information currently extracted and, if so, where can it be viewed?

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt