[Top] [All Lists]

Re: [loongson-dev] Re: a pre-release of merging loongson patchs to linux

To: Erwan Lerale <>
Subject: Re: [loongson-dev] Re: a pre-release of merging loongson patchs to linux-
From: 胡洪兵 <>
Date: Tue, 19 May 2009 22:36:43 +0800
Cc:,,,,,,, Ralf Baechle <>
In-reply-to: <>
Original-recipient: rfc822;
References: <1240501332.28136.24.camel@falcon> <> <1240535343.25824.14.camel@falcon> <> <1240556617.23345.10.camel@falcon> <> <1240640248.25540.27.camel@falcon> <> <>
User-agent: Mozilla-Thunderbird (X11/20080110)
Erwan Lerale 写道:
Erwan Lerale a écrit :

Now, let's talk about the cpufreq stuff :)

cpufrequtils 005: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to, please.
analyzing CPU 0:
 driver: loongson2f
 CPUs which need to switch frequency at the same time: 0
 hardware limits: 199 MHz - 797 MHz
available frequency steps: 199 MHz, 299 MHz, 398 MHz, 498 MHz, 598 MHz, 697 MHz, 797 MHz available cpufreq governors: conservative, ondemand, userspace, powersave, performance
 current policy: frequency should be within 199 MHz and 797 MHz.
                 The governor "ondemand" may decide which speed to use
                 within this range.
 current CPU frequency is 797 MHz (asserted by call to hardware).
cpufreq stats: 199 MHz:0.00%, 299 MHz:0.00%, 398 MHz:0.00%, 498 MHz:0.00%, 598 MHz:0.00%, 697 MHz:0.00%, 797 MHz:100.00%

It seems to be working but it's weird. When I start X and gnome (cpufreq applet). I can see that's the system is using the ondemand performance but is stuck at 797 Mhz if I don't do anything. If i start working (yeah it's happening sometimes), the frequency is moving from 199Mhz to 797Mhz.

The other thing which is weird is that I don't have this problem with the Loonux stock kernel.


I've switched from the ondemand governor to the conservative one and it seems
to be working properly.

Yes, the conservative governor  is better than the ondemand.
I have also noticed that the fans seems to be running at full speed all the time.
Any comment, on this issue ?

we test that it only  save  power  about  1~2w   when the cpufreq  is  min.
So the temperature will be reduced a little.
when the temp is the some section,
eg. the  60°C and 65°C  are the same section when the section is 60°C~70°C,
the speed of  fans will be the same.

Is there a way to query the sensors ?
Please insmod  ec_ftd which is one of the ec modules.
And then type  "cat  /proc/ft" ,  the output: "1.31 0x01 4705 0x00 56"

the 4705 means  the speed of fans,   56 stands for  the  temperature

the ec_modules  source  URL:

git URL:

Hongbing,Hu (Software Department)
Tel:    0512-52308631
MSN:    []
JiangSu Lemote Corp. Ltd.
MengLan, Yushan, Changshu, JiangSu Province, China

<Prev in Thread] Current Thread [Next in Thread>