01.
1. Install the kernel-source package(with softwaremanager) if not already done
02.
03.
2. Open a konsole as root and type:
04.
05.
cd /usr/src/linux
06.
07.
3. cleanup the directory with command:
08.
09.
make mrproper
10.
11.
3. Configure the kernel:
12.
13.
make xconfigure
14.
15.
4. Now activate ACPI in the section General Setup, activate all modules if
16.
possibvle mark with "y" y means to built into kernel, not as module. Don't
17.
change anything else in the kernel config otherwise you have to do some more
18.
things that I don't explain now.
19.
20.
5. Save and exit
21.
22.
6. Compile:
23.
24.
make dep && make bzImage && make modules && make modules_install
25.
26.
After that is done do the following:
27.
28.
cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.4.19-acpi
29.
30.
cp /usr/src/linux/System.map /boot/System.map-2.4.19-acpi
31.
32.
7. Now you just need to either use drakboot to add that kernel to lilo.conf or
33.
just add the lines for this kernel to lilo.conf manually with an editor of
34.
your choice
35.
36.
for example you would add:
37.
38.
image=/boot/vmlinuz-2.4.19-acpi
39.
label=2.4.19-acpi
40.
root=/dev/hda7
41.
initrd=/boot/initrd-2.4.19-16mdk.img
42.
append="noquiet devfs=mount hdc=ide-scsi"
43.
vga=791
44.
read-only
45.
46.
8. Now you rerun lilo with command, as root:
47.
48.
/sbin/lilo
49.
50.
9. Don't forget to install the acpid script with command:
51.
52.
urpmi acpid
53.
54.
you can also do that with softwaremanager(rpmdrake)
55.
56.
10. Run command:
57.
58.
drakxservices
59.
60.
disable the apm daemon and enable acpid
61.
62.
11. Reboot select the kernel mared as 2.4.19-acpi test if everything works
63.
fine if it does you can make it your default kernel.