Subject: Re: iBook Powermanagement status query
To: Cherry G. Mathew <cherry.g.mathew@gmail.com>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: port-macppc
Date: 02/07/2006 10:37:23
"Cherry G. Mathew" <cherry.g.mathew@gmail.com> writes:

> On 25 Jan 2006 03:24:11 -0500, Nathan J. Williams
> <nathanw@wasabisystems.com> wrote:
> 
> [...]
> 
> > The mechanics of telling the PMU to shut down aren't the hard part -
> > I've fiddled around and written code that does that. However, it's not
> 
> Could you tell me where I could have a look at this code ?

I don't have the actual code any more. Look in
src/sys/arch/macppc/dev/pm_direct.c; I think I made a routine that was
a clone of pm_adb_poweroff(), but passing PMU_SLEEP instead of
PMU_POWER_OFF.

        - Nathan