On Wed, 30 Mar 2005, Brad Boyer wrote:

> On Wed, Mar 30, 2005 at 07:49:06PM +0300, Martin-?ric Racine wrote:
> > On Wed, 30 Mar 2005, Johannes Berg wrote:
> > > Maybe I'm misunderstanding, but how should it then get at the relevant
> > > data to emulate APM?
> > 
> > There are power management architectures predating PMU.
> 
> While that is true, the current version of apm_emu.c is heavily
> dependent on via-pmu.c. It would be nice to make it a little
> more generic so that the features that can be used on other
> models could be exposed. That's a fair amount of work.

> Any non-PMU Mac has only minimal power management. The cuda
> based models have some stuff around scheduled powerup and
> server mode and can reboot the box using a cuda command.

This iMac CRT indeed is a CUDA box.  It does poweroffs; I'm not sure what
else it is capable of.

> I'm not sure what your goal is. Do you just want X to shutup
> about not being able to open an APM device?

I also want applications that expect to be able to interact with APM to
succeed at this.

-- 
Martin-Éric Racine
http://www.iki.fi/q-funk/

Reply via email to