You are not logged in.

#1 2007-09-12 13:45:59

DrPike
Member
From: Firenze (Italy)
Registered: 2007-08-30
Posts: 25

SPEEDFAN or FAN tools to COOL DOWN laptops

Dear all,

my Asus A6Ja is quite HOT laptops as known. I've replaced the original Hitachi HDD with a most performant HTE721010G9AT00 and TEMP encreased a lot: CPU works around 43C, HDD often over 56C which is critical yikes

With Windows XP I use SpeedFan (http://www.almico.com/sfdownload.php) a nice tool for changing computer's fan speeds, reading temperatures of mobo and HDD, voltages and fan speeds and more.

This is a really good tool, and until now I am not able to find something of similar for Linux / ARCHLinux.

lm-sensors seems unable to recognize A6Ja sensors, and, most important, I did not find any tool for changing
the FAN speed with ARCHLinux: the TEMP is *at least* 15-20C higher than under windows...

So, let start thinking a solution or a workaround.

Here a report for sensors detected by SpeedFan, and I hope this could give some indication on what are
the necessary tools/modules for a properly  hardware detection.


Win9x:NO  64Bit:NO  GiveIO:YES  SpeedFan:YES
I/O properly initialized
Linked ISA BUS at $0290
Linked Intel 82801GB ICH7 SMBUS at $0400
Scanning ISA BUS at $0290...
Scanning Intel SMBus at $0400...
Address $15 appears to be WRITE ONLY...
ADT7463 (ID=$27) found on SMBus at $2E
Address $4C appears to be WRITE ONLY...
SMART Enabled for drive 0
Found HTE721010G9AT00 (100,0GB)
Found ACPI temperature (65,0C)
End of detection

SF detects the following chip:

ADT7463 at $2E on Intel SMBus

And this looks to me the most relevant (maybe the only) one, which controls the MAIN FAN sensor PWM1.

Unfortunately I don't know the way to handle this ADT7463 and the FAN speed, despite
the fact it seems to be well driven by the lm85 driver as reported on the official lm-sensor page:

http://www.lm-sensors.org/wiki/Devices


Any idea for me?
Tnx

DrP

Offline

#2 2007-09-15 16:12:58

DrPike
Member
From: Firenze (Italy)
Registered: 2007-08-30
Posts: 25

Re: SPEEDFAN or FAN tools to COOL DOWN laptops

up

Offline

#3 2007-09-15 16:54:40

Husio
Member
From: Europe
Registered: 2005-12-04
Posts: 359
Website

Re: SPEEDFAN or FAN tools to COOL DOWN laptops

Hi,
I have macbook, and I've wrote very simple app in C to automaticly change fan speed. I'm running it with xfce-genmon-plugin. Here's the code: http://husio.homelinux.com/projekty.htm … trol%5D%5D

Maybe this will help you.

Offline

#4 2007-09-16 13:50:36

DrPike
Member
From: Firenze (Italy)
Registered: 2007-08-30
Posts: 25

Re: SPEEDFAN or FAN tools to COOL DOWN laptops

Tnx Piotr,

I will try as soon as possible on my A6J!

Offline

#5 2007-09-16 13:56:44

freigeist
Member
From: Cologne, Germany
Registered: 2006-07-14
Posts: 191

Re: SPEEDFAN or FAN tools to COOL DOWN laptops

Are you sure that you really have configured powermanagement correctly (cpufreqd, cpufreq-utils), are you using hdparm -S<time> for your harddisc to put it automatically into sleepmode? Have you tried laptop-mode-tools? My Thinkpad is not warmer at all than on windows if configured correctly.


Elfenbeinturm.cc
a metaphysical space of solitude and sanctity: http://www.elfenbeinturm.cc

Offline

#6 2007-09-16 14:18:49

DrPike
Member
From: Firenze (Italy)
Registered: 2007-08-30
Posts: 25

Re: SPEEDFAN or FAN tools to COOL DOWN laptops

Thanks for the replay,

I am not absolutely sure about the power management configuration, and if you can address me to
the right place where reading more about I'll be glad to follow the instructions.

Do you suggest to setup the hdd parameters for the sleeping mode?

Tnx

Offline

#7 2007-09-16 16:00:50

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: SPEEDFAN or FAN tools to COOL DOWN laptops

lm_sensor includes a fancontrol. but i don't know how well it works

Offline

#8 2007-09-16 16:31:29

freigeist
Member
From: Cologne, Germany
Registered: 2006-07-14
Posts: 191

Re: SPEEDFAN or FAN tools to COOL DOWN laptops

Fancontrol works nice (running it on my desktop) but only if it knows the sensors and can adjust the fan. Check if cpufreq-info shows a working driver and if the current CPU frequency is the lowest if you don't have high load. If not, you are either running the wrong governor (Perfomance instead ondemand/conservative) or you haven't load the appropriate driver (speedstep_centrino,...).

Additional info may be found here:

http://wiki.archlinux.org/index.php/Beg … cy_scaling
http://wiki.archlinux.org/index.php/Cpufrequtils
http://wiki.archlinux.org/index.php/Pm-utils
http://wiki.archlinux.org/index.php/SpeedStep

And yes I would try to run hdparm -S60 /dev/sd<x> to ensure that your hdd will got to sleep if not in use (put it in rc.local to set it at boottime).

Last edited by freigeist (2007-09-16 16:37:46)


Elfenbeinturm.cc
a metaphysical space of solitude and sanctity: http://www.elfenbeinturm.cc

Offline

#9 2007-09-17 13:25:49

bartman
Member
Registered: 2007-07-25
Posts: 16

Re: SPEEDFAN or FAN tools to COOL DOWN laptops

I wish there was a kernel patched with linux-phc! big_smile

I can use Notebook Hardware Control in Wintendo to reduce heat emission and prolong battery life by undervolting my processor while in linux you need to have a patched kernel.

Offline

#10 2007-09-19 16:33:46

DrPike
Member
From: Firenze (Italy)
Registered: 2007-08-30
Posts: 25

Re: SPEEDFAN or FAN tools to COOL DOWN laptops

freigeist wrote:

Fancontrol works nice (running it on my desktop) but only if it knows the sensors and can adjust the fan. Check if cpufreq-info shows a working driver and if the current CPU frequency is the lowest if you don't have high load. If not, you are either running the wrong governor (Perfomance instead ondemand/conservative) or you haven't load the appropriate driver (speedstep_centrino,...).

This is the cpufreq-info output:

cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 0 1
  hardware limits: 996 MHz - 1.66 GHz
  available frequency steps: 1.66 GHz, 1.33 GHz, 996 MHz
  available cpufreq governors: performance
  current policy: frequency should be within 996 MHz and 1.66 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 1.66 GHz (asserted by call to hardware).
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 0 1
  hardware limits: 996 MHz - 1.66 GHz
  available frequency steps: 1.66 GHz, 1.33 GHz, 996 MHz
  available cpufreq governors: performance
  current policy: frequency should be within 996 MHz and 1.66 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 1.66 GHz (asserted by call to hardware).

How can I recognize the proper driver to load?
And, most important: how can I set the speed fan on my kernel 2.6.22-ARCH  ??

when I'm aptemping to load speedstep_centrino I got an error:

FATAL: Error inserting speedstep_centrino (/lib/modules/2.6.22-ARCH/kernel/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.ko): Unknown symbol in module, or unknown parameter (see dmesg)

dmesg says:

speedstep_centrino: Unknown parameter `cpufreq_powersave'

darkness...
Tnx

Last edited by DrPike (2007-09-19 16:38:17)

Offline

#11 2007-09-19 17:09:04

freigeist
Member
From: Cologne, Germany
Registered: 2006-07-14
Posts: 191

Re: SPEEDFAN or FAN tools to COOL DOWN laptops

DrPike wrote:
freigeist wrote:

Fancontrol works nice (running it on my desktop) but only if it knows the sensors and can adjust the fan. Check if cpufreq-info shows a working driver and if the current CPU frequency is the lowest if you don't have high load. If not, you are either running the wrong governor (Perfomance instead ondemand/conservative) or you haven't load the appropriate driver (speedstep_centrino,...).

This is the cpufreq-info output:

cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 0 1
  hardware limits: 996 MHz - 1.66 GHz
  available frequency steps: 1.66 GHz, 1.33 GHz, 996 MHz
  available cpufreq governors: performance
  current policy: frequency should be within 996 MHz and 1.66 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 1.66 GHz (asserted by call to hardware).
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 0 1
  hardware limits: 996 MHz - 1.66 GHz
  available frequency steps: 1.66 GHz, 1.33 GHz, 996 MHz
  available cpufreq governors: performance
  current policy: frequency should be within 996 MHz and 1.66 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 1.66 GHz (asserted by call to hardware).

How can I recognize the proper driver to load?
And, most important: how can I set the speed fan on my kernel 2.6.22-ARCH  ??

when I'm aptemping to load speedstep_centrino I got an error:

FATAL: Error inserting speedstep_centrino (/lib/modules/2.6.22-ARCH/kernel/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.ko): Unknown symbol in module, or unknown parameter (see dmesg)

dmesg says:

speedstep_centrino: Unknown parameter `cpufreq_powersave'

darkness...
Tnx

The driver is fine, only the governor is wrong. You can test it with cpufreq-set -g conservative -c0 and cpufreq-set -g conservative -c1.
The frequency should go down to 996 MHz if you have no load. You can't control your fan speed this way, but most modern fans will adjust their speed according to the current temperature. The only way I know to control the speed is using fancontrol from the lm_sensors package.


Elfenbeinturm.cc
a metaphysical space of solitude and sanctity: http://www.elfenbeinturm.cc

Offline

#12 2007-09-22 15:51:52

DrPike
Member
From: Firenze (Italy)
Registered: 2007-08-30
Posts: 25

Re: SPEEDFAN or FAN tools to COOL DOWN laptops

Thanks freigeist,

unfortunately the testing doesn't help: the command accepts all the passed arguments but it gives back any answer...

I'm puzzled about the necessary modules to load for my laptop: maybe lm78, acpi-centrino are not enought?

And I did not find in the manual any indication how control the fan.

So unhappy :-(

Offline

Board footer

Powered by FluxBB