[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Trouble CPU frequency and battery on macbook

Hello List,
I recently got a new Macbook and while tryning to install debian on it I have some trouble getting the cpu frequency scalling and the battery status working.
I followed the tutorials on:

Here are the action I did exactly:
- Following these tutorials, I got a 2.6.22 kernel from kernel.org
- I pachted them with the mactel sources for this kernel version
- I recompiled the kernel using the configuration file provided by the gentoo wiki and set all cpu frequency scalling options to modules (powersave, ondemand, ...) and the default governor to userspace
- Once recompiled, I installed cpufreqd

On the Gnome desktop, the battery applet tells me that there is no battery present, as if ACPI was not configured correctly and cpu frequency scalling
applets tells me that my CPU's are running at 100% (although default governor is userspace).

CPU frequency scalling works with the command line:
cpufreq-set -c 0 -d 1GHz, so I tried to make an init script with this, but this does not seem to work. In fact, the script seems never to be executed.
To do this, I followed the tutorial on:

I thought CPU frquency and battery management were governed by the same features.
Does anybody know why I don't get my battery status to work? Did I for forgot a module in the kernel?
How come that I can't get my CPU frequency to run on minimum although userspace is set?
Finally, how come that my script is not executed although the symblic links in te different runlevel were created?

Thanks for your help.



P.S In case it helps, here is an output of lsmod:

# lsmod
Module                  Size  Used by
hci_usb                17500  2
rfcomm                 40408  0
l2cap                  24768  5 rfcomm
bluetooth              55524  7 hci_usb,rfcomm,l2cap
button                  7824  0
ac                      5124  0
battery                 9924  0
cpufreq_powersave       1728  0
cpufreq_performance     1984  0
cpufreq_ondemand        8268  1
cpufreq_conservative     7048  0
acpi_cpufreq            9240  0
sbp2                   23304  0
snd_hda_intel         261080  2
snd_pcm_oss            43488  0
snd_mixer_oss          16704  1 snd_pcm_oss
appletouch             10048  0
snd_pcm                79876  2 snd_hda_intel,snd_pcm_oss
snd_timer              23428  1 snd_pcm
snd                    55140  9 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore               8160  1 snd
snd_page_alloc          9992  2 snd_hda_intel,snd_pcm
ohci1394               35504  0
ieee1394               95480  2 sbp2,ohci1394
thermal                13320  0
processor              30652  2 acpi_cpufreq,thermal
fan                     4740  0

Reply to: