Originally Posted by
M4rotku
I have the 2.6.24-18-generic kernel, is there any way to undervolt that using the same meathod? wouldn't I just need to use a different patch? I really need to undervolt due to how much I use this laptop.
Much thanks,
M4rotku
I managed to get it working by patching the kernel source and recompiling the acpi-cpufreq module. I found this old howto, which got me started.
Here's a quick howto, updated to work on hardy (just copy-paste the commands to a terminal):
1. Open up a terminal and install subversion, the kernel source and build-essential:
Code:
sudo apt-get install subversion linux-source build-essential
2. Get the linux-PHC patch:
Code:
mkdir ~/linux-PHC
cd linux-PHC
svn co http://phcpatches.googlecode.com/svn/trunk/acpi-cpufreq phcpatches/cpufreq
3. Apply the patch to the kernel and build the module:
Code:
sudo bash
cd /usr/src
tar -xjf linux-source-2.6.24.tar.bz2
cd linux-source-2.6.24/
cp ~/linux-PHC/phcpatches/cpufreq/patches/linux-phc-kernel-vanilla-2.6.24-rc1.patch .
patch -p1 < linux-phc-kernel-vanilla-2.6.24-rc1.patch
cp /boot/config-$(uname -r) .config
make oldconfig
make prepare
make scripts
make M=./arch/x86/kernel/cpu/cpufreq
4. Replace your old module:
Code:
cp /lib/modules/$(uname -r)/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko /lib/modules/$(uname -r)/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko.old
cp arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko /lib/modules/$(uname -r)/kernel/arch/x86/kernel/cpu/cpufreq
depmod
Reboot.
I hope I didn't miss anything...
Bookmarks