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

cpufreq on TiBook 400 MHz



Hi

I  wonder why there is no /proc/cpufreq on my Titanium PowerBook G4 (400 MHz). 
I use the plain vanilla kernel.org 2.4.20 kernel compiled with the benh10 and 
mh6 patches. I also have no cpufreq related error messages in syslog.

In .config it says:
CONFIG_CPU_FREQ=y
# CONFIG_CPU_FREQ_24_API is not set
CONFIG_CPU_FREQ_26_API=y
CONFIG_CPU_FREQ_PMAC=y

cat /proc/cpuinfo delivers:
cpu             : 7410, altivec supported
temperature     : 31-33 C (uncalibrated)
clock           : 400MHz
revision        : 17.3 (pvr 800c 1103)
bogomips        : 797.90
machine         : PowerBook3,2
motherboard     : PowerBook3,2 MacRISC2 MacRISC Power Macintosh
detected as     : 71 (PowerBook Titanium)
pmac flags      : 0000000b
L2 cache        : 1024K unified
memory          : 384MB
pmac-generation : NewWorld


In linux-2.4.20/arch/ppc/platforms/pmac_cpufreq.c  it says:
/* Currently, we support the following machines:
 *
 *  - Titanium PowerBook 800 (PMU based, 667Mhz & 800Mhz)
 *  - Titanium PowerBook 500 (PMU based, 300Mhz & 500Mhz)
 *  - iBook2 500 (PMU based, 400Mhz & 500Mhz)
 *  - iBook2 700 (CPU based, 400Mhz & 700Mhz, support low voltage)
 */

and:
        /* Else check for TiPb 500 */
        else if (machine_is_compatible("PowerBook3,2")) {
                /* We only know about 500Mhz model */
                if (cur_freq < 450000 || cur_freq > 550000)
                        goto out;
                hi_freq = cur_freq;
                low_freq = 300000;
                has_freq_ctl = 1;
                cpufreq_uses_pmu = 1;
        }


Is my machine missing some crucial hardware? I have a TiPb 400, don't I?
I currently have some 180 Minutes of run on battery, I do not need full 
processing power but rather longer battery life. 

Salut

Mark



Reply to: