[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PowerPC's APM emulation dependant upon PMU feature?



> Unless you want to make it generic enough to apply to all
> non-x86 systems, it's also not very worthwhile to put a ton
> of effort into this. If you want that, it's probably better
> to take the official APM driver and split it into a front
> end (just the device node stuff) and a back end (hardware
> interface) so that anyone can write a new back end.

Well, the ARM folks did a good job at doing a more generic APM
emulation, I'd rather go from their implementation if I had to do
anything.
 
> 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.

Yes, but nothing that fits in the APM API anyway.

> Older models can do poweroff and (in most cases) a clean
> reset but not much else.
> 
> I'm not sure what your goal is. Do you just want X to shutup
> about not being able to open an APM device?
> 
> 	Brad Boyer
> 	flar@allandria.com
> 
> 
-- 
Benjamin Herrenschmidt <benh@kernel.crashing.org>



Reply to: