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

Re: cpufreq on TiBook 400 MHz



On Friday 23 May 2003 00:48, Segher Boessenkool wrote:
> Krisztian Mark Szentes wrote:
> > I  wonder why there is no /proc/cpufreq on my Titanium PowerBook G4
> > (400 MHz).
> Because no-one filled in the right values yet.
...
> I seem to remember the PowerBook3,2 @ 400 has a low speed of
> 300MHz, but I'm not fully sure about that -- better check it
> yourself (apple.com -> developer -> hardware -> all products
> or something like that, it's not too hard to find).
http://developer.apple.com/techpubs/hardware/Developer_Notes/Macintosh_CPUs-G4/PowerBook_G419Dec00/index.html
says:
"On the PowerBook G4 computer, the slower clock speed is 100 MHz slower 
than the rated speed: 300 MHz on a 400-MHz model, 400 MHz on a 500 MHz 
model."

> >         /* 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;
> Try to remove these last three lines (your own risk, of course).
I commented out the 3 lines, recompiled Ben's 2.4.20-ben10 and voilà:

tomcat:~# cat /proc/cpufreq
          minimum CPU frequency  -  maximum CPU frequency  -  policy
CPU  0       300000 kHz ( 75 %)  -     400000 kHz (100 %)  -  performance

tomcat:~# cat /proc/cpuinfo
cpu             : 7410, altivec supported
temperature     : 19-21 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

tomcat:~# echo 300000:400000:powersave > /proc/cpufreq
tomcat:~# cat /proc/cpufreq
          minimum CPU frequency  -  maximum CPU frequency  -  policy
CPU  0       300000 kHz ( 75 %)  -     400000 kHz (100 %)  -  powersave
tomcat:~# echo 0:0:powersave > /proc/cpufreq
tomcat:~# cat /proc/cpufreq
          minimum CPU frequency  -  maximum CPU frequency  -  policy
CPU  0       300000 kHz ( 75 %)  -     300000 kHz ( 75 %)  -  powersave


The time reported by xpmumon and klaptopd have increased by some estimated 
10%. (from 180 Min to 200 Min.)

As far as I can tell, it runs as fine. I will report any trouble. 

Salut

Mark

-- 
Krisztian Mark Szentes
produktivIT   -  Open-Source Solution Provider
Siebenbrunnengasse 55/7
A-1050 Wien



Reply to: