Subject: Re: Status report: sysmon_cpufreq(9) + powerctl(8)
To: Jason Thorpe <thorpej@shagadelic.org>
From: Juan RP <juan@xtrarom.org>
List: tech-kern
Date: 09/12/2006 22:37:11
On Tue, 12 Sep 2006 13:35:47 -0700
Jason Thorpe <thorpej@shagadelic.org> wrote:

> 
> On Sep 12, 2006, at 1:21 PM, Juan RP wrote:
> 
> > And when requested freq is the same than current freq returns
> > EINVAL:
> >
> > [juan@nocturno][~]> ./sysmon_cpufreq/powerctl/powerctl
> > cpu0
> >         current:        800 MHz [998 mV]
> >         frequencies:    800 1200 1400 1600 (in MHz)
> >         voltages:       998 1004 1120 1190 (in mV)
> > [juan@nocturno][~]>
> >
> > [juan@nocturno][~]> ./sysmon_cpufreq/powerctl/powerctl -f 800
> > powerctl: error: Invalid argument
> > [juan@nocturno][~]>
> 
> Why return an error?  It should just silently succeed at doing
> nothing.

Hmm, true. I'll change that... thanks.