After
asking for testers of a
libacpi snapshot I got a fair amount of test mails.
Thanks to all the people who tried it and helped me!!
Now I finished with coding, testing and documenting everything and happy to release version 0.1 of
libacpi.
It is a general purpose shared library for programs gathering
ACPI information. It fully implements information about
fans, batteries, ac states and thermal zones (apart from trap points).
Try it out on:
http://www.ngolde.de/download/libacpi-0.1.tar.gz.
There is also an online documentation (well doxygen generated) on
http://www.ngolde.de/libacpi/doc/html/.
test-libacpi.c is an example on how to write programs using
libacpi.
For more information download the tarball, have a look into the manual, test-libacpi.c, README and the doxygen documentation.
The next step for me is to port
yacpi to libacpi which was also the reason for libacpi since I first wanted to rewrite it and thought it might be useful to have the functionality in a library. There are not yet
Debian packages for it because I am really busy at the moment so if you want to maintain it, feel free to do so.