[Pm-utils] Who sleeps me? Who wakes me?

Wirawan Purwanto wirawan0 at gmail.com
Thu Feb 13 01:56:10 CET 2014


Hi,

Given a typical linux desktop setup, I want to know which hardware or
software event
causes (triggers) suspend or resume of a laptop. For example, in
Lenovo T400 laptop, an external USB keyboard (already plugged into a
laptop prior to suspending) keypress will cause the laptop to wake up.
is there a way to know that this "wake up" is caused by this keypress?
Or maybe it was caused by lid event (lid being closed or opened). I
know this is a complicated chain.
But occasionally I am facing a mysterious laptop waking up itself from
sleep (sleep-to-RAM) and I don't know what causing it. My OS is Debian
7 (stable, wheezy) x86-64.

--
Wirawan Purwanto
Research Scientist
College of William and Mary
Physics Department
Williamsburg, VA 23187


More information about the Pm-utils mailing list