Subject: Re: Status report: sysmon_cpufreq(9) + powerctl(8)
To: Juan RP <juan@xtrarom.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 09/12/2006 13:35:47
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.
-- thorpej