AC Power handling broken for desktops

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Aug 25 08:32:51 EST 2005


On Wed, 2005-08-24 at 13:54 +0200, Olaf Hering wrote:
> 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

Ben.





More information about the Linuxppc-dev mailing list