Subject: Re: iBook Powermanagement status query
To: Michael Lorenz <macallan@netbsd.org>
From: Cherry G. Mathew <cherry.g.mathew@gmail.com>
List: port-macppc
Date: 03/07/2006 20:59:48
On 3/7/06, Michael Lorenz <macallan@netbsd.org> wrote:


>
> I'd suggest this - look at macppc/dev/apm.c and fill in the
> APM_IOC_STANDBY and APM_IOC_SUSPEND cases in apmioctl(), look what i386
> does there - basically it runs the powerhooks, then tells the APM BIOS


Yes, that looks more do-able.... I was looking at the ACPI code.....
its a very complicated set of APIs.


> to go into standby or suspend. Lots of macppc-specific drivers don't
> support powerhooks yet, that's where the real work lurks.
> With the ioctl()s in place you can just use zzz or apm to call them.
>

Great, thanks! I could at least report what I see, and it could be a start.

--
~Cherry