View previous topic :: View next topic |
Author |
Message |
gnychis Veteran
Joined: 23 Mar 2005 Posts: 1004 Location: Pittsburgh, PA
|
Posted: Sun Aug 07, 2005 9:31 pm Post subject: can you control speed of cpu fan with lm_sensors? [SOLVED] |
|
|
Hi all, I installed lm_sensors and the appropriate kernel support, and i get the following output:
Code: |
monster linux # sensors
w83627hf-isa-0290
Adapter: ISA adapter
VCore 1: +1.47 V (min = +0.00 V, max = +0.00 V)
VCore 2: +2.82 V (min = +0.00 V, max = +0.00 V)
+3.3V: +3.31 V (min = +3.14 V, max = +3.47 V)
+5V: +5.11 V (min = +4.76 V, max = +5.24 V)
+12V: +11.92 V (min = +10.82 V, max = +13.19 V)
-12V: -7.76 V (min = -13.18 V, max = -10.80 V)
-5V: -2.89 V (min = -5.25 V, max = -4.75 V)
V5SB: +5.40 V (min = +4.76 V, max = +5.24 V)
VBat: +3.31 V (min = +2.40 V, max = +3.60 V)
fan1: 0 RPM (min = 166 RPM, div = 32)
fan2: 0 RPM (min = 166 RPM, div = 32)
fan3: 5273 RPM (min = 332 RPM, div = 16)
temp1: +37 C (high = +0 C, hyst = -122 C) sensor = thermistor
temp2: +59.0 C (high = +85 C, hyst = +80 C) sensor = diode
temp3: +43.5 C (high = +85 C, hyst = +80 C) sensor = thermistor
vid: +0.000 V (VRM Version 9.0)
alarms:
beep_enable:
Sound alarm disabled
|
I would like to turn the RPM's on fan3 down... is this possible?
Last edited by gnychis on Mon Aug 08, 2005 8:11 am; edited 1 time in total |
|
Back to top |
|
|
widan Veteran
Joined: 07 Jun 2005 Posts: 1512 Location: Paris, France
|
Posted: Sun Aug 07, 2005 11:14 pm Post subject: |
|
|
Maybe... Run "pwmconfig" and see if it is able to control your fans. If it can, take note of which pwm control affects the fan you want to control. Here I will assume that pwm3 controls fan3.
Now you need to find the sysfs entry for the monitoring chip. It will be in the form "/sys/bus/i2c/devices/2-0d00/" (the bold part will likely be different). To know which one is the good one, check for "in*", "pwm*" files. Go to that directory. Then, to change fan speed (replace pwm3 by the correct pwm entry as reported by pwmconfig):
Code: | echo 1 > pwm3_enable
echo 200 > pwm3 |
You will want to try different values for the second number, to get the speed you want. Higher numbers mean faster fan (max is 255). Don't go too low, as the fan will likely stop well before you hit 0 (usually they stop around 70-80). If you answer yes when pwmconfig asks you if you want a "detailed correlation", then it will print out a table of fan rpm depending on pwm value, so you don't have to experiment to have a given speed.
Also if you have pwm entries in sysfs, but pwmconfig can't control the fan, try to connect that fan to the other fan connectors on the motherboards. Some sensor chips do not have 3 pwm outputs (most have only 2), so sometimes fan3 can't be controlled, but fan1 and fan2 can. |
|
Back to top |
|
|
gnychis Veteran
Joined: 23 Mar 2005 Posts: 1004 Location: Pittsburgh, PA
|
Posted: Mon Aug 08, 2005 8:01 am Post subject: |
|
|
awesome, thanks for the advice, it worked perfectly. I can now control both fans |
|
Back to top |
|
|
|
|
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
|
|