pbbuttons, need some help

Joseph P. Garcia jpgarcia at execpc.com
Fri Mar 8 06:41:40 EST 2002


Greetings.

The best way to get battery info now is to use to use /proc/pmu/ in newer
(2.4) kernels.  My gkrellm-pmu plugin used to use adb directly, then PMUD,
now /proc/pmu/.  I had to poke and prod at Paul Mackerras' Batmon to figure
out O'Hare.  But /proc/pmu is transparent to what kind of system its on.
Divide and conquer.  Nice that another conduit thats system independant
exists.

Along those same lines, I have a sugesstion for the gtk client for
pbbuttons.  The program should use the X keycodes rather than associate
with the daemon that controls the hardware.  This serves two purposes: X
handles any client/server mess, and the GUI will be the system independant
figurehead it should be (IMO).  Bastien wrote a similar program that uses
the keycodes, so it could be used on any system with the keys, even an x86.
(hadess.net)

Thanks for working to improve the Linux user expirience. (and anyone else
listening for keeping in touch with such ventures :)

Hope this helps.

--
Joseph P. Garcia    http://www.lycestra.com/    http://lidar.ssec.wisc.edu/
CS Undergraduate                      Student Employee - Systems Programmer
University of Wisconsin - Madison                            UW Lidar Group

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list