I got it working on my laptop (Compaq 2125) with an AMD 2200+ CPU.
WITHOUT RECOMPILING ANYTHING (Mandrake 10.0)
The problem is that after installing, the acpi daemon (acpid) wasn't installed and also acpi wasn't enabled to be on.
What I did was the following:
- Mandrake Control Center > Packages.
Install the packages acpi and acpid.
- Mandrake Control Center > Boot Loader > Click Next
(Dont enable acpi with that checkbox. It wont work)
- Click your default boot kernel (Mine is 'linux') and click 'Modify'
- Look for something like 'acpi=ht' and change it for 'acpi=on' If is not there, just add it
If after doing that your computer don't boot, it's beacuse an APIC (not acpi) conflict, so you will have to boot using another kernel on the list or failsafe and add 'nolapic' to the append parameters
Mine looks like this:
nolapic devfs=mount resume=/dev/hda1 splash=silent acpi=on
Boot again, and ckeck if ACPI is working. Open a term, and type 'acpi -V' You should see something like this:
[afterxleep@localhost afterxleep]$ acpi -V
Battery 1: unknown, 100%
Thermal 1: ok, 57.0 degrees C
AC Adapter 1: on-line
Now its working!!
Anyway, you will need to enable CPU frequency scaling (It's ok with 10.0 kernel 2.6.7-3)
If your laptop has an AMD k7 procesor (Athlon) you can use the powernow-k7 module to enable CPU frequency scalin
- Open a terminal
- Login as root
First you might try to load the module and check if it works.
Just type:
modprobe powernow-k7
Then type
lsmod
If you can see the module on the list, it's working. You can have CPU frequency scaling!
Now you might to load it automatically at boot
- edit /etc/modules.preload (vi /etc/modules.preload)
- add powernow-k7 on a new line. Like this:
---
# /etc/modprobe.preload: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a `#', and everything on the line after them are ignored.
# this file is for module-init-tools (kernel 2.5 and above) ONLY
# for old kernel use /etc/modules
ati-agp
powernow-k7
wacom
----
- Reboot and check again if the module is loaded. It it is, you might want to enable the scaling daemon to make your battery last a lot.
Download the cpufreqd RPM's
You can find those here:
http://rpm.pbone.net/index.php3/stat....i586.rpm.html
http://rpm.pbone.net/index.php3/stat....i586.rpm.html
Install the libs first.
It generates a configuration file automatically for your laptop. You just need to copy it over the default config.
Do as follows (as root)
cp /etc/cpufreqd/cpufreqd.conf.tmp /etc/cpufreqd.conf
(replace the default file)
Dont ask me how I found all this stuff. Took me days.. But now, my battery lasts about 25 minutes more than in Windoze
Now klaptop works well and if you go to the preferences you can configure KDE to let you change your power-saving mode as you wish, directly from your desktop.
Hope this helps-