On Fri, Dec 31, 2010 at 11:29:23AM +0100, Jean-Yves Migeon wrote: > Seems reasonable to me. We could have a more featureful binary later, > and just alias zzz(8) to it.
We have ready ioctl-facilities in sysmon's "sysmon_power.c". I believe it was originally intended by the author that MD code should use the sysmon_power_settype() function to register a "power-backend" (ACPI, APM, Xen, PowerBook, and so on). Extending this idea seems like a plausible route. - Jukka.