Re: AC Power handling broken for desktops
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2005-08-25 05:36:07
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2005-08-25 05:36:07
On Thu, 2005-08-25 at 07:15 +0200, Olaf Hering wrote:
On Thu, Aug 25, Benjamin Herrenschmidt wrote:quoted
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. Ben