Linux – Where is the log for ACPI events

acpilinux-mintlogssuspend

Running Mint 14. Sometimes I can suspend fine, but after my computer is on for a while, it no longer suspends. It wakes up after a second or so without any external inputs.

My guess is that I'm monitoring something I don't need to monitor:

>cat /proc/acpi/wakeup
Device  S-state   Status   Sysfs node
LID       S4    *enabled   
SLPB      S3    *enabled   
IGBE      S4    *enabled   pci:0000:00:19.0
EXP3      S4    *disabled  
XHCI      S3    *enabled   pci:0000:00:14.0
EHC1      S3    *enabled   pci:0000:00:1d.0
EHC2      S3    *enabled   pci:0000:00:1a.0
HDEF      S4    *disabled  pci:0000:00:1b.0

These devices are rather cryptic. Although it might be interesting to know what the devices are, all I really care about is the one that is causing my computer to wake up (so I can disable monitoring of that device). Is there a log file somewhere that keeps track of ACPI events that would tell me which device woke up my computer?

Best Answer

All the log record during the ACPI events will be recorded at

 /var/log/acpid.log

Open your terminal and type as

tail -f /var/log/acpi.log

that will lists you content of ACPI log file.

hope that helps.

Related Question