Hello, On Tue, 24 Apr 2012 03:27:22 +0200 Pierre Pronchery <khorben%defora.org@localhost> wrote: > Next, I guess it would be nice to report a sysmon/pmf event when > pressing the sleep button You may want to look at sys/dev/adb/adb_kbd.c for some simple prior art. have fun Michael