Thread (10 messages) 10 messages, 3 authors, 2005-10-10

Re: AC Power handling broken for desktops

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2005-08-25 05:09:38

On Thu, 2005-08-25 at 06:51 +0200, Olaf Hering wrote:
 On Thu, Aug 25, Benjamin Herrenschmidt wrote:
quoted
On Wed, 2005-08-24 at 13:54 +0200, Olaf Hering wrote:
quoted
My G4/450 runs without AC Power, according to /proc/pmu/info:

PMU driver version     : 2
PMU firmware version   : 0c
AC Power               : 0
Battery count          : 0

It should report 1. Where is the best place to get the
PMU_PWR_AC_PRESENT into ac_line_status?
Do we get the bit set from the PMU ? If not, maybe we should hard code
that value on non-laptops
Appearently not, how do I check it?
Not sure :) I don't fully know how to decode those power things in the
device-tree... There are bits in darwin tho.

Ben
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help