Re: Fan Divisors and RPMS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Matthew,

On Tue, 27 Sep 2011 17:37:28 -0400, Matthew Gilbride wrote:
> Hello lm-sensor type people,
> 
> Loving lm-sensors with Gkrellm on an Asus Rampage Gene II Model CG5290
> BP007. But am very new to Linux and am having trouble setting up fans. I
> understand lm-sensor setup, pwmconfig, and the fancontrol script to a good
> degree. I know I should be able to read/ control two fans on my system (not
> including the GPU fan). I see/ hear all fans spinning, get proper rpm
> readouts in the bios, and know my fans inside out from Everest in Windows
> Vista. However, I can only control my Chasis fan and not my CPU fan in
> Ubuntu 11.04. System details and sensors output at bottom.
> 
> I have installed lm-sensors, run sensors-detect, tried pwmconfig-failed, set
> linux option in grub to GRUB_CMDLINE_LINUX="showopts
> acpi_enforce_resources=lax" and rerun pwmconfig-partial success. pwm1-3 now
> shown. Can control pwm2 no problem. Fan-divisors are all 128 and rpms are 0
> on all fans but pwm2. pwm2 divisor is 16.

Here you make the wrong assumption of a 1:1 mapping between fan input
numbers and PWM output numbers. This doesn't have to be the case. A
chip can have more fan inputs than outputs or vice-versa. One PWM
output can control more than one fan, and we've even seen systems where
the same fan could be controlled by two PWM outputs.

> fancontrol works fine to control
> the pwm2 fan. No ability to change divisors as suggested in older threads
> but did try in my custom sensors file in sensors.d. all set statements fail
> including on the working pwm. Again, these same fans are completely
> controllable in Vista.

For the w83627ehf driver which you're using, the best fan clock divisor
is set automatically by the driver so you don't have to do it. At the
maximum value (128), if readings are still 0, that means that the
corresponding fan input isn't used on your system.

Note that for best results, you have to set a proper minimum for your
fan input, otherwise the driver's algorithm to pick the best divisor
value doesn't work well. So you should add:

   set fan2_min 4000

or similar to the relevant section of your configuration file, and
apply with "sensors -s".

> 
> Have I skipped a major step somewhere. Is there a way I can start over and
> retry the setup?
> 
> Many thanks in advance for help.
> 
> Matt
> 
> 
> Motherboard ASUS Rampage Gene II
> Chipset
> CPU: Core i7 920
> Linux Ditro: Ubuntu 11.04
> kernel version: System-Product-Name 2.6.38-11-generic #50-Ubuntu SMP Mon Sep
> 12 21:17:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
> lm_sensors version: sensors version 3.2.0 with libsensors version 3.2.0
> 
> 
> Chip Drivers from Sensors-detect
> 
> adt7475

In the output below there is no trace of a device supported by that
driver. Ah, Ubuntu. I bet that you need driver i2c-i801 and they
blacklisted it. Remove the blacklist, let the i2c-i801 driver load and
it should work. Odds are that the other fans are connected to the
ADT7473 or ADT7475 monitoring chip on your system.

And please complain to Ubuntu folks about this nonsensical blacklist,
it has been hurting a lot of people already.

> coretemp
> w83627ehf
> 
> 
> Sensors output
> 
> coretemp-isa-0000
> Adapter: ISA adapter
> Core 0:      +38.0°C  (high = +78.0°C, crit = +98.0°C)
> 
> coretemp-isa-0001
> Adapter: ISA adapter
> Core 1:      +38.0°C  (high = +78.0°C, crit = +98.0°C)
> 
> coretemp-isa-0002
> Adapter: ISA adapter
> Core 2:      +41.0°C  (high = +78.0°C, crit = +98.0°C)
> 
> coretemp-isa-0003
> Adapter: ISA adapter
> Core 3:      +38.0°C  (high = +78.0°C, crit = +98.0°C)
> 
> w83667hg-isa-0290
> Adapter: ISA adapter
> Vcore:       +0.92 V  (min =  +0.00 V, max =  +1.74 V)
> in1:         +1.70 V  (min =  +0.82 V, max =  +0.39 V)   ALARM
> AVCC:        +3.33 V  (min =  +2.98 V, max =  +3.63 V)
> +3.3V:       +3.30 V  (min =  +2.98 V, max =  +3.63 V)
> in4:         +1.66 V  (min =  +1.60 V, max =  +1.66 V)
> in5:         +2.04 V  (min =  +0.18 V, max =  +1.59 V)   ALARM
> 3VSB:        +3.39 V  (min =  +2.98 V, max =  +3.63 V)
> Vbat:        +3.31 V  (min =  +2.70 V, max =  +3.30 V)   ALARM
> fan1:          0 RPM  (min = 7028 RPM, div = 128)  ALARM
> fan2:       8880 RPM  (min =    0 RPM, div = 16)  ALARM
> fan3:          0 RPM  (min = 42184 RPM, div = 128)  ALARM
> fan4:          0 RPM  (min = 10544 RPM, div = 128)  ALARM
> fan5:          0 RPM  (min = 21092 RPM, div = 128)  ALARM
> temp1:       +32.0°C  (high =  +5.0°C, hyst =  +9.0°C)  ALARM  sensor =
> thermistor
> temp2:       +31.0°C  (high = +80.0°C, hyst = +75.0°C)  sensor = diode
> temp3:        +7.5°C  (high = +80.0°C, hyst = +75.0°C)  sensor = thermistor
> cpu0_vid:   +0.000 V

At first sight I'd say you can probably add "ignore" statements for
in5, fan1, fan3, fan4, fan5, temp3 and cpu0_vid. in1 and in4 could be
configured, look at what voltage values your BIOS reports (write down
every value especially if they oscillate) and we can figure them out.

-- 
Jean Delvare
http://khali.linux-fr.org/wishlist.html

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux