Is it possible to get the reason of system wake-up (Wake-on-LAN, Power button, wake from USB) on Linux? I'm using Ubuntu, kernel Linux homeless 2.6.37-12-generic #26~lucid1-Ubuntu SMP Wed Jan 5 21:52:06 UTC 2011 i686 GNU/Linux
Linux – How to get the reason for wakeup
linuxwake-on-lanwake-up
Best Answer
Depending on your hardware, you can find this using dmidecode:
There is lots of other useful hardware info from dmidecode, like the make/model/serial number of your motherboard/DIMMs/CPUs
In ubuntu it comes with the package dmidecode, should be available even in Lucid.