apmd and other archs
Benjamin Herrenschmidt
bh40 at calva.net
Tue Nov 28 01:53:49 EST 2000
>My contribution to kernel bloat ... untested except on Lombard, the 3400
>code needs testing and perhaps some work. Overall the code looks pretty
>ugly, take it as a proof of concept only and improve as desired. Patch is
>against 2.2.18-stable, the proc_register probably needs changing for 2.4.
>
>Result: The vanilla gnome battery_applet now works for me (TM).
A better way would be to have the via-pmu driver asynchronously (via
a timer) poll for state change and update some static status datas.
This way, on core99, we can just disable the polling timer and rely
on automatic notifications done by the hw. The /proc interface would
then just output the last status.
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list