AC Power handling broken for desktops
benh at kernel.crashing.org
Thu Aug 25 15:34:31 EST 2005
On Thu, 2005-08-25 at 07:15 +0200, Olaf Hering wrote:
> On Thu, Aug 25, Benjamin Herrenschmidt wrote:
> > Not sure :) I don't fully know how to decode those power things in the
> > device-tree... There are bits in darwin tho.
> Maybe just check for !PowerBook and force PMU_PWR_AC_PRESENT in this case.
Yah, you can check that with pmac_feature, there is a "mobile" flag.
More information about the Linuxppc-dev