ACPI/PMU procfs HAL test program. Version 003.
Richard Hughes
ee21rh at surrey.ac.uk
Tue Jan 25 15:32:18 PST 2005
Changes from 002:
* More glib support with standard function calls.
* Make procfs_getvalue accept "value: hello" and "value : hello"
for PMU use. (Thanks Sjoerd...)
* ibm kernel extension support. (Thanks Paul...)
* /proc/* files are now cached into a linked list, and only read once,
plus multiple files can be read into the linked list too.
* All the applicable functions now accept a linked-list.
* files are now broken apart into procfs.c (loader), procfs_acpi.c,
procfs_pmu.c and procfs_common.c - this means patches should be simpler.
* Pauls patch for short-circuiting reading the battery values.
* Sjoerd's new code for buffering and the beginnings of proper PMU
support.
To-Do:
* Ideas for merging into the HAL head codebase are welcome.
* Polling frequency variables, and whether to poll at all. WiP.
* SmartBattery support. Does anyone have such a thing on their laptop?
* Make code modules more generic. WiP
Files are at here:
http://hughsie.no-ip.com/write/hal/procfs-hal-003/
Comments as usual please.
Richard
--
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