[patch] apm support
Richard Hughes
ee21rh at surrey.ac.uk
Tue Feb 1 15:29:23 PST 2005
Just quickly wrote some code before bed:
http://hughsie.com/write/hal/hal-add-apm.patch
I know many people won't be using APM, but it's dead simple, and some
legacy machines might be using it. I took some of the code from:
http://battstat.sourceforge.net/
and just used the existing acpi code as a template. I've tested it
lightly (it worked with acpi=off on my laptop...), and it compiles cleanly.
Richard.
N.B. no polling support, as it's all in flux. Values are correct only on
execution of hald and will not update.
--
http://www.hughsie.com/PUBLIC-KEY
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list