How to determine which interface/device initiated a wake
I am having problems with spurious wakes from S5. They are infrequent so testing any one theory can take hours or days.
Clearly, what I need is the ability probe the system logs to see what initiated the wake. However, I cannot find anything recorded via syslog, dmesg or journalctl. In fact, if I deliberately wake the system (e.g. with WOL) I cannot find any reflection of that event in any of the logs either.
Since I'm starting from S5, it seems that some hardware must be waking the kernel via a Power Management Event(PME). Later, the kernel may or may not interrogate the device to obtain further data about the event and its causation. If these events are recorded anywhere, I can't find them.
My problem may be very specific to my particular hardware or configuration but it's clear from my research that many others have struggled with tracking down unwanted/unexpected wakes and it seems to me there's a strong need for something along the lines of Windows "powercfg -lastwake".
I'm interested in addressing the general case more than my specific problem (although a solution to the latter would obviously be very welcome).
Machine: Intel NUC (Broadwell) NUC515RYH with latest BIOS
OS: Lubuntu 15.04 beta
Kernel: X64 3.19.0-9-generic
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: