On Wed, 22 Jun 2005 09:58:11 +0200 (CEST)
Michael Schmitz <[EMAIL PROTECTED]> wrote:

> > > It is nice having the gnome-battery applet display the time until the
> > > battery is fully charged - isn't it ?
> >
> > Why not use /proc/pmu/ for this? Do the real apm has this facility? Maybe
> > it is not implemented, because it couldn't be there.
> 
> Most userland code is written for /proc/apm (hence the emulation hack). If
> you can get the gnome-battery etc. authors convinced to try /proc/pmu/
> before /proc/apm we would indeed not need apm-emu. /proc/pmu/ would even
> know about multiple batteries, voltage, current, to name a few.
> 

that's right, but pmu there's only on ppc... so read /proc/apm is more portable 
solution, by now, IMHO


thanx Soeren, for the patch, i don't know anyway to whom you should send it to 
make it defaulted on kernel, sorry....
maybe to ben herrenschmidt or repost to the list, as apparently he did't view 
this patch... (didn't answered)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to