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

Re: PMSET was "Automatic power-on" or "pmacpow--would a .deb be worthwhile?"



On Thu, 2005-05-12 at 18:27 +0200, Michael Schmitz wrote:
> > After a tray with Opendarwin, I found a function that answer to my
> > problem ...
> >
> > pmset it's *BSD, but if that can help someone, you will found the man of
> > the function:
> > http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/pmset.1.html
> 
> The man page in itself doesn't help too much. Someone sent me code for
> automatic boot after power failure ('autoboot' in recent powerpc-utils),
> and announced he would send code for another tool to schedule powerup, but
> so far this hasn't materialized.

What code ? For what machines ? It is implemented for PMU based machines
already by the kernel (see /proc/pmu/options). For Cuda machines, it's
not but I don't know if it's a software setting at all on these, an
earlier Cuda driver is available in Open Darwin to look at anyway.

Regarding the scheduled startup times, I haven't looked into detail yet,
it should be a rather simple PMU command though.

> >From the manpage, it seems pmset just writes the startup time into some
> config file, for the system to read and tweak the hardware accordingly.
> We'd need the source for that part; does OpenDarwin include source for
> things like system preferences apps?
> 
> 	Michael
> 
> 



Reply to: