LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-02-2010, 03:53 PM   #1
11thhour
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Rep: Reputation: 0
Thinkpad T500 fan control, what is best way to control


Hello,

I have had my thinkpad for just a few short months and, it must be that we are heading into summer, but I am starting to finally run into some overheating issues especially when compiling software for awhile, i.e. kernel.

My question would be, "Is it best to let the built in thermal management take care of the issue, and I just need to know what to tweak, or to put on a script solution such as the tp-fancontrol script?

The computer takes about 5-10 minutes to overheat and the message I get in /var/log/messages is "logger: ACPI group thermal_zone / action THM1 is not defined" then it shuts down.

So, any pointers in the right direction would be appreciated.

I am running slackware-current x86_64 on a Lenovo Thinkpad T500.

Thanks for your help,

Troy
 
Old 06-02-2010, 05:06 PM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,544

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
Please post the output of following commands:
Code:
ls -1 /proc/acpi/thermal_zone/THM1
cat /proc/acpi/thermal_zone/THM1/*
Also:
What is you Slackware version ?
Which kernel do you use ?
Is this kernel shipped with Slackware or compiled by yourself ?

[EDIT]And yes, you can try one of the scripts proposed on this page. Some people are not happy with built-in thermal management and try either to slow down their CPU and/or GPU or to accelerate their fan.

Last edited by Didier Spaier; 06-02-2010 at 05:20 PM.
 
Old 06-02-2010, 05:16 PM   #3
11thhour
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Sure Didier,

Here is the output
Quote:
ls -1 /proc/acpi/thermal_zone/THM1
===
cooling_mode
polling_frequency
state
temperature
trip_points
Quote:
cat /proc/acpi/thermal_zone/THM1/*
===
<setting not supported>
<polling disabled>
state: ok
temperature: 60 C
critical (S5): 100 C
passive: 96 C: tc1=5 tc2=4 tsp=600 devices=CPU0 CPU1
As far as kernel I am running 2.6.33.5 using .config from 2.6.33.4-huge, compiled myself from instructions in slackbook, however had same behavior on 2.6.33.4 stock from slackware, actually just upgraded today

Also, running slackware current x86_64 up to date from 5/19, so I guess right at the moment slackware 13.1

Also, I have the most current bios installed as well.

Thanks,

Troy
 
Old 06-02-2010, 05:33 PM   #4
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,544

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
Well, I have the same output on my Thinkpad T61 (very similar to T500 only older), but the temperature (45) but that's normal as my machine is almost idle.

Only to make sure, please send output of following command too:
Code:
zcat /proc/config.gz|grep CONFIG_ACPI
FYI here is mine:
Code:
bash-4.1$ zcat /proc/config.gz|grep CONFIG_ACPI
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_PROCFS=y
CONFIG_ACPI_PROCFS_POWER=y
CONFIG_ACPI_POWER_METER=m
CONFIG_ACPI_SYSFS_POWER=y
CONFIG_ACPI_PROC_EVENT=y
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_VIDEO=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_DOCK=y
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_ACPI_PROCESSOR_AGGREGATOR=m
CONFIG_ACPI_THERMAL=m
# CONFIG_ACPI_CUSTOM_DSDT is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_PCI_SLOT=m
CONFIG_ACPI_CONTAINER=m
CONFIG_ACPI_HOTPLUG_MEMORY=m
CONFIG_ACPI_SBS=m
CONFIG_ACPI_HED=m
CONFIG_ACPI_APEI=y
CONFIG_ACPI_APEI_GHES=m
CONFIG_ACPI_APEI_EINJ=m
CONFIG_ACPI_WMI=m
CONFIG_ACPI_ASUS=m
CONFIG_ACPI_TOSHIBA=m
CONFIG_ACPI_CMPC=m

Last edited by Didier Spaier; 06-02-2010 at 05:51 PM.
 
Old 06-02-2010, 06:14 PM   #5
11thhour
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Didier,
Looks mostly similar. Here is mine:
Quote:
bash-4.1$ zcat /proc/config.gz|grep CONFIG_ACPI
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_PROCFS=y
CONFIG_ACPI_PROCFS_POWER=y
CONFIG_ACPI_POWER_METER=m
CONFIG_ACPI_SYSFS_POWER=y
CONFIG_ACPI_PROC_EVENT=y
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_VIDEO=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_DOCK=y
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_ACPI_PROCESSOR_AGGREGATOR=m
CONFIG_ACPI_THERMAL=m
# CONFIG_ACPI_CUSTOM_DSDT is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_PCI_SLOT=m
CONFIG_ACPI_CONTAINER=m
CONFIG_ACPI_HOTPLUG_MEMORY=m
CONFIG_ACPI_SBS=m
CONFIG_ACPI_WMI=m
CONFIG_ACPI_ASUS=m
CONFIG_ACPI_TOSHIBA=m
CONFIG_ACPI_CMPC=m
The only lines that you have that I do not are:
Quote:
CONFIG_ACPI_HED=m
CONFIG_ACPI_APEI=y
CONFIG_ACPI_APEI_GHES=m
CONFIG_ACPI_APEI_EINJ=m
Would these make a difference?

Thanks,

Troy
 
Old 06-02-2010, 06:47 PM   #6
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,544

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
I have theses lines and you don't only because some features are available only on kernel newer than yours (I'm running 2.6.35-rc1 at present) so that's normal.

I'm running out of ideas so may be you could try one of those scripts.

Maybe you can check fan speed first to see if it increases when temperature does.

You can "cat /proc/acpi/ibm/fan" for that.

Last edited by Didier Spaier; 06-02-2010 at 06:55 PM.
 
Old 06-02-2010, 08:38 PM   #7
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 293Reputation: 293Reputation: 293
I use tp_fancontrol script on my T42 BUT it doesn't say it supports anything like T500 so be very very careful what you run or you could kill your cpu.
 
Old 06-03-2010, 04:07 AM   #8
11thhour
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Didier,

Thanks for the suggestion. Running a kernel compile and watching the tmp of TMP1 and the speed in the fan file, even as the temperature reaches 96 degrees the fan has only gone up 50 rpm. At it seems to hover around 3000 and 3050 rpm, which obviously is not going fast enough.

When I add
Quote:
options thinkpad_acpi fan_control=1
to a file in the /etc/modprobe.d directory, reboot and then run
Quote:
echo level 7 > /proc/acpi/ibm/fan
the processor will stay in the 75-77 degree area during the middle of a compile. But, of course that is from my understanding overriding the BIOS control.

Dive, thanks for the suggestion, that is why I am trying to avoid doing any scripts because I don't see where the T500 is directly supported by any of them.

I was just hoping for any suggestions from anyone that may have it working without having to resort to the scripts out there, with summer and code needing to be written, might not be any other option.

Hopefully somebody else may have a suggestion. Thanks so far for the ones I have received.

--Troy
 
Old 06-03-2010, 08:44 AM   #9
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 293Reputation: 293Reputation: 293
Do you have the fan module loaded?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ACPI or lm-sensors fan control on Sony Vaio (fan runs at full speed) roanm Linux - Hardware 7 11-14-2009 08:37 PM
HP/Compaq NC8230 ACPI Fan Control / Fan Sensors / ACPI Questions Freaksta Linux - Hardware 2 02-11-2008 08:20 AM
chassis fan speed control (case fan) wastingtime Linux - Hardware 12 12-02-2007 08:08 PM
thinkpad fan control lenso Linux - Laptop and Netbook 3 01-20-2007 07:52 PM
fan control missing in slackware 11.0 with 2.6.18.1 on a thinkpad T42?? weiko Linux - Laptop and Netbook 4 10-23-2006 05:00 PM


All times are GMT -5. The time now is 02:52 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration