RTDVS provides support for PowerNOW!
technology on kernel 2.2.x.
If you are using a 2.2.x kernel you can just download rtdvs.tar.gz and compile
it with make.
RTDVS can be used also on recent 2.5.x kernels. David Kimdom wrote a patch
to make it work on kernel 2.5.50.
You can download it at: http://people.debian.org/~dwhedon/rtdvs.diff
The RTDVS sources+Kimdom patch are mirrored here: http://www.nervous.it/hw/rtdvs-nerv.tar.gz
Oliver Friedrich reported it to work also with kernel 2.4.20!!!
Warning: the cpufreq project is more mature than RTDVS. Moreover RTDVS development
has been discontinued. You must have a really good reason to use RTDVS instead
of cpufreq!
This is a step by step guide for compiling rtdvs on kernel >2.4.20
Recompile kernel 2.4.20 without
module version information: disable Loadable Module Support/Set version information on all module symbols (thanks Oliver
Friedrich). If you don't, rtdvs won't compile. Reboot with the new kernel.
Instructions on how to use module can be found below.
This is a step by step guide for compiling rtdvs on kernel 2.5.x:
Download kernel 2.5.50 (go to http://www.kernel.org
to find what the latest development version is).
Download the latest module-init-tools from: ftp://ftp.kernel.org/pub/linux/kernel/people/rusty/modules/
Decompress, ./configure and make
&& make install
By default the new modprobe,insmod,rmmod,depmod will be put in /usr/local/sbin.
Edit the Makefile to change this.
You can preserve backward compatibility by renaming old binaries to
XXX.old and put the new binaries in the same directory.
E.g.: cd /sbin rm modprobe rmmod lsmod mv insmod insmod.old ln -s insmod.old modprobe ln -s insmod.old rmmod ln -s insmod.old lsmod cp /usr/local/sbin/*mod
./
Configure and install the kernel. My .config file for the 2.5.50 kernel
can be found here: config-2.5.50.
Reboot with the new kernel. Beware that no module will be loaded at
boot time unless you change the path of the module tools to the new ones.
Decompress the RTDVS archive (rtdvs.tar.gz) and apply the patch
made by David Kimdom. Compile the powernowK7.o module: make powernowK7.o
(watch the caps!)
Copy powernowK7.o to /lib/modules/2.5.50/kernel
Run /usr/local/sbin/depmod -ae 2.5.50
This are the instructions for using the powernowK7 module on any kernel:
Insert the powernowK7.o module: modprobe powernowK7
or /usr/local/sbin/insmod
/path/powernowK7.o
In some situation you may get the following error:
Operation not permitted(-1) Need AMD K7 with PowerNow!
It seems like the module is not recognizing the cpu. If you are positively
sure that you have a Mobile Athlon/Duron then go ahead and edit powernowK7.c
from the RTDVS package. Near line 294 you'll find: printk ("Need AMD K7 with
PowerNow!\n"); return -1;
Comment these lines: //printk ("Need AMD K7 with
PowerNow!\n"); //return -1;
and recompile the powernowK7.o module
Watch for errors in your /var/log/messages
and /var/log/syslog
If everything is ok then you should be able to view the status of
your cpu: cat /proc/powernow
and adjust the speed manually with: echo XXX >/proc/powernow
where XXX is the speed you want your processor to run at. E.g. to
set my AthlonXP 1400+ at 500Mhz I use: echo 500 >/proc/powernow
The voltage is set accordingly to the frequency and I suggest not
to touch it.
<- Back to Acer Aspire 1300XV Linux
unofficial support page