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

Re: [patch] pwrctl with cpu speed throttling



On Tue, Sep 24, 2002 at 08:33:16AM +0100, Bastien Nocera wrote:
> On Tue, 2002-09-24 at 08:19, Vincent Bernat wrote:
> > OoO En cette nuit stri?e d'?clairs du mardi 24 septembre 2002, vers
> > 02:09, Bastien Nocera <hadess@hadess.net> disait:
> > > +			SPEEDMIN=`cat /proc/sys/cpu/0/speed-min`
> > > +			SPEEDMAX=`cat /proc/sys/cpu/0/speed-max`
> > > +			SPEED=`expr $SPEEDMIN + $SPEEDMAX / 2`
> > > +			echo $SPEED /proc/sys/cpu/0/speed
> > 
> > The iBook2 supports only 400 and 700 MHz speed.
> 
> And mine supports 400 to 500 MHz ;)

Does it support something in between too?  On my TiBook (RevIII? The
800Mhz one..) it does 800Mhz or 667Mhz and nothing in between.  So the
above would set mine to 800Mhz.

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/



Reply to: