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

Re: ioreg for linux

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?

Bye, Jörg.
Nicht was du bist, ist es was dich ehrt, wie du bist bestimmt den Wert.
Wünsche hat man oft und viel, nur wer lernt erreicht sein Ziel.

Reply to: