Re: 2.6.1 custom kernel and cpufrqd problems
On Sat, Jan 24, 2004 at 01:14:49AM +0100, Ducrot Bruno wrote:
> On Fri, Jan 23, 2004 at 01:50:14PM -0800, Johannes Graumann wrote:
> > Hello,
> > I have compiled for my Crusoe laptop the following into my new kernel:
> > CPU_FREQ
> > CPU_FREQ_DEFAULT_GOV_USERSPACE
> > CPU_FREQ_GOV_POWERSAVE
> > CPU_FREQ_GOV_USERSPACE
> > CPU_FREQ_TABLE
> > X86_LONGRUN
> > However, if I do 'dpkg-reconfigure cpufreqd' I keep getting this error:
> > >Unable to find a CpuFreq interface in your kernel.
> > Any hints as to what I am doing wrong?
> Crusoe processor do not need any kind of governors.
> Please look at
> Documentation/cpu-freq/user-guide.txt why.
> To resume, this processor is able to determine itself
> what will be the correct frequency to run, according
> to two kind of policies (powersave and performance).
> Therefore, this processor don't need any kind of software
> like cpufreqd in order to switch frequencies.
> Since the cpufreqd is a daemon that should use the
> userspace governor IIRC, it is a bad idea to
> apt-get install cpufreqd,
> or any daemon, which use actually the userspace governor.
hummm... cpufreqd doesn't use the userspace governor :)
> (Of course, installing a daemon that will set one of
> powersave or performance policy depending of AC presence
> is a good idea, but if you enable ACPI, you should
> be able to do that via acpid(8)).
yes, and it is probably more efficient since cpufreqd polls the system
state while acpid grabs events from /proc/acpi/events