http://www.kernel.org/
Download F for full source 2.4.22
http://ftp.linux.org.uk/pub/linux/people/cpufreq/
Download the latest date for 2.4.22 Kernel
http://www.ussg.iu.edu/hypermail/lin...-laptop-mode-4
save as laptop-mode.patch
kernel: Open up a terminal
bunzip2 linux-2.4.22.tar.bz2
tar -xf linux-2.4.22.tar
su
enter password
mv linux-2.4.22 /usr/src
mkdir /usr/src/patches
cp laptop-mode.patch /usr/src/patches
cp cpufreq<your version>.tar.bz2 /usr/src/patches
cd /usr/src/patches
bunzip2 cpufreq<your version>.tar.bz2
tar -xf cpufreq<your version>.tar
cd cpufreq
./patch.in /usr/src/linux-2.4.22
(output scrolls)
cd /usr/src/linux-2.4.22
patch -p1 < /usr/src/patches/laptop-mode.patch
(output scrolls)
Now your ready to build your kernel.
Look in /boot for your working kernel config file and note the name
Terminal:
cp /boot/2.4.20-20.9.config /usr/src/linux-2.4.22/config
make sure your still in your kernel source directory
cd /usr/src/linux-2.4.22
make xconfig
choose the "Load Configuration from File" Box on the right hand side
Then, enable acpi and cpufreq... cpufreq can be found in the processor type section and acpi is under general options... Make sure to disable apm as well. You can also enable ntfs support under the file system section for accessiong your XP partition. Once you have all of your option correct choose save and exit.
make dep
make bzImage (go have a cigareete, a cup of coffee, play some video games, or whatever...
make modules (repeat above...)
make modules_install
make install
gedit /boot/grub/grub.conf
title Red Hat Linux (2.4.22)
root (hd0,2)
kernel /vmlinuz-2.4.22 ro root=/dev/hda6 hdc=ide-scsi
initrd /initrd-2.4.22.img
make sure your grub matches the above (ro root=LABEL=/) should be changed to ro root=your root / parttion)
reboot into your new kernel.
you'll need to use the acpi events provided on dsanta's site... unpack and mv to /etc/acpi (you may have to rm -rf /etc/acpi first but be careful with the rm -rf command!)....
cd to /etc/acpi/events and delete the sample.conf file
install cpudyn ... get the rpm from here
http://dag.wieers.com/packages/
and your done... except for the nvidia drivers and your XF86Config...