Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CPU cooler always at full speed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Rikz
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2003
Posts: 103

PostPosted: Mon Aug 06, 2007 7:11 am    Post subject: CPU cooler always at full speed Reply with quote

I'm using gentoo-sources-2.6.22-r1. Kernel is configured to support thermal zones and fan:
Code:
# zcat /proc/config.gz |grep ACPI
# Power management options (ACPI, APM)
# ACPI (Advanced Configuration and Power Interface) Support
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
# CONFIG_ACPI_SLEEP_PROC_SLEEP is not set
CONFIG_ACPI_PROCFS=y
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_FAN=m
# CONFIG_ACPI_DOCK is not set
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
CONFIG_ACPI_DEBUG=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_ACPI_CONTAINER is not set
# CONFIG_ACPI_SBS is not set
CONFIG_X86_ACPI_CPUFREQ=m
# CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set
CONFIG_PNPACPI=y
# CONFIG_THINKPAD_ACPI is not set
CONFIG_ATA_ACPI=y


/proc/acpi contains 'fan' and 'thermal_zone' directories:
Code:
# LANG=C ls -lR fan/ thermal_zone/
fan/:
total 0
dr-xr-xr-x 2 root root 0 Aug  6 09:54 FAN

fan/FAN:
total 0
-rw-r--r-- 1 root root 0 Aug  6 10:07 state

thermal_zone/:
total 0
dr-xr-xr-x 2 root root 0 Aug  6 09:35 THRM

thermal_zone/THRM:
total 0
-rw-r--r-- 1 root root 0 Aug  6 10:07 cooling_mode
-rw-r--r-- 1 root root 0 Aug  6 10:07 polling_frequency
-r--r--r-- 1 root root 0 Aug  6 10:07 state
-r--r--r-- 1 root root 0 Aug  6 10:07 temperature
-rw-r--r-- 1 root root 0 Aug  6 10:07 trip_points


'cat /proc/acpi/fan/FAN/state' always show "status: on"
even if I do 'echo -n "3" > /proc/acpi/fan/FAN/state' the fan is still running at full speed.

/proc/acpi/thermal_zone/THRM/ contents:
Code:
# cat cooling_mode
0 - Active; 1 - Passive
# cat polling_frequency
<polling disabled>
# cat state
state:                   ok
# cat temperature
temperature:             39 C
# cat trip_points
critical (S5):           110 C
passive:                 78 C: tc1=3 tc2=1 tsp=80 devices=CPU0
active[0]:               60 C: devices= FAN


So, the CPU is quiet cool, its state is 'ok' but the fan is too active.
As for 2.6.22 kernel, ACPI team decided to make trip_points read-only and I can't edit this options now.
'echo -n "1" > cooling_mode' does nothing for me.
Here is a recent post to LKML about trip_points: http://lkml.org/lkml/2007/8/2/56 - but still no real progress, only words.

Any suggestions on how to use passive cooling?
Back to top
View user's profile Send private message
Wojtek_
Guru
Guru


Joined: 28 May 2006
Posts: 397
Location: London

PostPosted: Mon Aug 06, 2007 9:22 am    Post subject: Reply with quote

Does it also happen when you run Windows? If yes then it might be a bios issue - try updating it. I have a Fujitsu Siemens laptop and have encountered a similar problem - I solved it by updating bios.
Cheers,

Wojtek
_________________
Fujitsu-Siemens Amilo Xi-1546
Intel Centrino Duo T2600 (2,16GHz)
2x1GB DDR2 RAM
ATi Mobility Radeon X1800 256MB DDR3
2x120GB HDD
Intel High Definition Audio
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3943
Location: Hamburg

PostPosted: Mon Aug 06, 2007 9:22 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-567493-highlight-.html ?
Back to top
View user's profile Send private message
Rikz
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2003
Posts: 103

PostPosted: Mon Aug 06, 2007 6:10 pm    Post subject: Reply with quote

Wojtek_ wrote:
Does it also happen when you run Windows? If yes then it might be a bios issue - try updating it. I have a Fujitsu Siemens laptop and have encountered a similar problem - I solved it by updating bios.
Cheers,

Wojtek

Windows slows down the cooler when the temperature is low.

My BIOS is the latest available from FIC site. I posted a link above - yes, it's a kind of a BIOS bug, but kernel must handle it properly. Looks like I have to submit a post to kernel bugzilla.

toralf: this two problems look the same but the content of /proc/acpi/thermal_zone/ slightly differs. And ondemand cpufreq governer doesn't solve the problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum