In the continuing quest for better laptop power management with DSL I've been trying to get cpufreqd working. After apt-get install (using stable debs) I found that, in order to work, cpufreqd requires a CPU Freq driver which does not come with the 2.4 kernel.
A patch exists at ftp://ftp.linux.org.uk/pub/linux/cpufreq/ (eg cpufreq-LINUX_2_4-20040813.tar.gz) but there are no instructions as to how to compile/install it on the site or in the .tar file
I found Clacker's very useful instructions for compiling drivers and modules for DSL but, apart from unpacking the .tar file, none of his suggested commands (./ compile, make, sudo make install) had any effect.
Does anyone know if this patch can be applied to DSL?
Quote (Juanito @ July 29 2006,15:25)
... cpufreqd requires a CPU Freq driver which does not come with the 2.4 kernel. ... Does anyone know if this patch can be applied to DSL?
Possibly, but my understanding is that a patch is source code to be compiled along with the kernel source code to produce a new kernel. You can't compile a patch separately.
As I understand it, at least.Well it could be that compiling a patch (or a module) won't work, but I understand that if you load gcc1.dsl, kernelsource.dsl and (possibly) gnu-utils.dsl then you should be in good shape.
The issue is that the standard "make" commands don't work (and don't produce any useful error messages) and the .tar file does not have any compile or patch instruction files packed inside.
Maybe since the .tar file is on ftp.linux.org.uk, it is assumed you should use some kind of standard instructions...Many times the compiler specified in Makefile is cc. Does establishing a link between gcc and cc help?In fact most of the problem was me not knowing what I'm doing. After some research, here's what I did:
The issue is, what to do next in the DSL environment for a USB installation?
Basically all I want to do is add the appropriate cpufreq driver (speedstep-centrino.c in my case, I believe) so I can "modprobe" it without having to go through the whole "make mrproper" and "make config" gazillion questions (some of which are relevent to cpufreq) scenario.
I sense the answer is related to "make oldconfig" but any suggestions welcome.
Also "make dep" didn't want to work with gcc-1.dsl installed - is there a way to update this?Next Page...
original here.