[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ioreg for linux



On Fri, 2005-09-30 at 16:34 +0000, Joerg Sommer wrote:
> Hello Benjamin,
> 
> Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
> > On Thu, 2005-09-29 at 16:15 +0200, Michael Schmitz wrote:
> >> > In linux, however, you can get battery infos in /proc/pmu
> >> 
> >> Which doesn't show the battery temperature - do you know if that info
> >> hides in some unused bits in the smart battery request, or what we'd need
> >> to tickle the PMU with ?
> >
> > I don't know the proper PMU command unfortunately. We'd have to
> > disassemble through the Darwin PMU driver to figure it out I suppose,
> > unless it's somewhere in OF too...
> 
> Do you have a paper that explains how to do this?

Not really ...

Ben.




Reply to: