Skip to contentSkip to conversation

Single fan sensor not detected

DISCUSSION Bradley Schatz 3 participants 12 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

I have a lm-sensors up and running on 2.6.5 kernel, on a VIA KM266 based motherboard. My goal is to get the fan noise down.

Most things appear to be working fine. However, while my BIOS reports activity of two fans (rightly), lm-sensors only seems to be finding one.

I have tried fidling with the divider to see if that is an issue but still I am missing activity on one fan.

Can anyone suggest some steps I might take to get this fan working?

Thanks,

bradley

it87-isa-0290

Adapter: ISA adapter
VCore 1:   +1.92 V  (min =  +1.42 V, max =  +1.56 V)   ALARM
VCore 2:   +1.26 V  (min =  +2.40 V, max =  +2.60 V)   ALARM
+3.3V:     +3.28 V  (min =  +3.13 V, max =  +3.45 V)
+5V:       +4.94 V  (min =  +4.72 V, max =  +5.24 V)
+12V:     +11.88 V  (min = +11.36 V, max = +12.60 V)
-12V:     -14.24 V  (min = -12.63 V, max = -11.41 V)   ALARM
-5V:       -7.71 V  (min =  -5.28 V, max =  -4.81 V)   ALARM
Stdby:     +5.11 V  (min =  +4.72 V, max =  +5.24 V)
VBat:      +0.00 V
fan1:     4963 RPM  (min =    0 RPM, div = 4)
fan2:        0 RPM  (min =    0 RPM, div = 4)
fan3:        0 RPM  (min =    0 RPM, div = 2)
M/B Temp:    +80?C  (low  =   +15?C, high =   +40?C)   sensor = thermistor
CPU Temp:    +96?C  (low  =   +15?C, high =   +45?C)   sensor = thermistor
Temp3:      +127?C  (low  =   +15?C, high =   +45?C)   sensor = thermistor

eeprom-i2c-4-50

Adapter: SMBus Via Pro adapter at 0400
Memory type:            DDR SDRAM DIMM
Memory size (MB):       512

lm90-i2c-4-4c

Adapter: SMBus Via Pro adapter at 0400
M/B Temp:    +59?C  (low  =    +0?C, high =   +70?C)   ALARM
CPU Temp:  +67.6?C  (low  =  +0.0?C, high = +70.0?C)   ALARM
M/B Crit:    +85?C  (hyst =   +75?C)
CPU Crit:   +110?C  (hyst =  +100?C)
#1 lore raw

All is working now. Thanks again. Do the it87 series of chips ever support pwm?

cheers,

bradley

Driver `it87' (should be inserted but causes problems):
Detects correctly:
* ISA bus address 0x0290 (Busdriver i2c-isa') Chip ITE 8705F Super IO Sensors' (confidence: 9)
Misdetects:
* ISA bus address 0x0290 (Busdriver `i2c-isa')

    Chip `ITE IT8705F / IT8712F / SiS 950' (confidence: 8)
Quoted 48 lines · Jean Delvare
Quoted 10 lines

I have a lm-sensors up and running on 2.6.5 kernel, on a VIA KM266 based motherboard. My goal is to get the fan noise down.

Most things appear to be working fine. However, while my BIOS reports activity of two fans (rightly), lm-sensors only seems to be finding one.

I have tried fidling with the divider to see if that is an issue but still I am missing activity on one fan.

Can anyone suggest some steps I might take to get this fan working?

Not really, but here are some hints anyway.

Either the second fan is supposed to be monitored by the it87 and isn't, or you have another fan monitoring chip on-board.

Which speed is the BIOS reporting for the "missing" fan? If it's really slow, you need a really big clock divider 8). Seems that you have already been trying that though?

If there is a second monitoring chipset, a recent version of sensors-detect should identify it, or at least find it but fail to identify it.

BTW:

Quoted 2 lines
-12V:     -14.24 V  (min = -12.63 V, max = -11.41 V)   ALARM
-5V:       -7.71 V  (min =  -5.28 V, max =  -4.81 V)   ALARM

Obviously not monitored (look at your BIOS, I guess they don't show there at all) so you could add "ignore" lines for these in /ect/sensors.conf.

Quoted 2 lines
M/B Temp:    +80?C  (low  =   +15?C, high =   +40?C)   sensor = thermistor
CPU Temp:    +96?C  (low  =   +15?C, high =   +45?C)   sensor = thermistor

As hot has hell! Hardly believable. Maybe you need to change the sensor type?

Quoted 3 lines

lm90-i2c-4-4c

M/B Temp:    +59?C  (low  =    +0?C, high =   +70?C)   ALARM
CPU Temp:  +67.6?C  (low  =  +0.0?C, high = +70.0?C)   ALARM

Damn hot too, however. Where are you living? ;)

Strange that the ALARMS show. Do they wear of on second read?

Jean

#2 lore raw
In reply to Bradley Schatz

Hi Jean.

Quoted 11 lines

Aha, it wasn't meant to be a smiley. I just missed the opening parenthesis. Glad it helped anyway. However this means that your fan is really, really slow. Maybe this explains why your system is so hot?

Quoted 4 lines
Quoted 2 lines

As hot has hell! Hardly believable. Maybe you need to change the sensor type?

Changing the sensor type starts to give negative temperatures.

Hm OK, so they had to be correct in the first place.

Could it be that the fan is not being driven fast enough by bios/io chip settings? Or maybe the CPU fan is just a little flaky. Any ideas?

It is a Gigabyte GA-7VKML motherboard. VIA KM266 & VT8233A + IT8705F.

Quoted 10 lines
Quoted 1 line

The it87 & lm90 M/B temp are starting to agree.

It's both encouraging (means we are probably measuring the temperature correctly) and frightening (would your system need additional fans?)

Quoted 1 line

However the it87 CPU temp looks almost 2X the lm90 one.

This is odd. Do you have any conversion formula set in the configuration file?

I checked and this was a part of the problem. It looks like it still may need some tweaking.

Cheers,

bradley

#3 lore raw
In reply to Bradley Schatz

I tested this. pwmconfig didnt manage to stop any of my fans though. It looks like my pwm isnt configured at the hardware level.

cheers,

bradley

Quoted 27 lines · Jean Delvare
Quoted 2 lines

All is working now. Thanks again. Do the it87 series of chips ever support pwm?

Yes, the chip supports and even has automatic fan speed control. The 2.4 driver has support for both. Takeru was working on adding support to the 2.6 driver but suddenly vanished. I hope he's OK...

Recently, Jonas Munsin started from Takeru's preliminary patch and completed the work. You can see his patch here:
http://people.debian.org/~jmunsin/it87.patch2

Hopefully this will be integrated into the main driver soon. Testing is welcome!

Quoted 7 lines

Driver `it87' (should be inserted but causes problems):
Detects correctly:
* ISA bus address 0x0290 (Busdriver i2c-isa') Chip ITE 8705F Super IO Sensors' (confidence: 9)
Misdetects:
* ISA bus address 0x0290 (Busdriver `i2c-isa')

    Chip `ITE IT8705F / IT8712F / SiS 950' (confidence: 8)

BTW I have fixed this horrible bug in CVS. Sensors-detect should now be more clever and see that this is the same driver for the same chip and display only one. Care to test?

Thanks.

#4 lore raw
In reply to Bradley Schatz
Quoted 11 lines

I have a lm-sensors up and running on 2.6.5 kernel, on a VIA KM266 based motherboard. My goal is to get the fan noise down.

Most things appear to be working fine. However, while my BIOS reports activity of two fans (rightly), lm-sensors only seems to be finding one.

I have tried fidling with the divider to see if that is an issue but still I am missing activity on one fan.

Can anyone suggest some steps I might take to get this fan working?

Not really, but here are some hints anyway.

Either the second fan is supposed to be monitored by the it87 and isn't, or you have another fan monitoring chip on-board.

Which speed is the BIOS reporting for the "missing" fan? If it's really slow, you need a really big clock divider 8). Seems that you have already been trying that though?

If there is a second monitoring chipset, a recent version of sensors-detect should identify it, or at least find it but fail to identify it.

BTW:

Quoted 2 lines
-12V:     -14.24 V  (min = -12.63 V, max = -11.41 V)   ALARM
-5V:       -7.71 V  (min =  -5.28 V, max =  -4.81 V)   ALARM

Obviously not monitored (look at your BIOS, I guess they don't show there at all) so you could add "ignore" lines for these in /ect/sensors.conf.

Quoted 2 lines
M/B Temp:    +80?C  (low  =   +15?C, high =   +40?C)   sensor = thermistor
CPU Temp:    +96?C  (low  =   +15?C, high =   +45?C)   sensor = thermistor

As hot has hell! Hardly believable. Maybe you need to change the sensor type?

Quoted 3 lines

lm90-i2c-4-4c

M/B Temp:    +59?C  (low  =    +0?C, high =   +70?C)   ALARM
CPU Temp:  +67.6?C  (low  =  +0.0?C, high = +70.0?C)   ALARM

Damn hot too, however. Where are you living? ;)

Strange that the ALARMS show. Do they wear of on second read?

Jean

#5 lore raw
In reply to Bradley Schatz
Quoted 7 lines
Quoted 4 lines

Which speed is the BIOS reporting for the "missing" fan? If it's really slow, you need a really big clock divider 8). Seems that you have already been trying that though?

Your smiley reminded me I hadnt tried a divisor higher than 4. V value of 8 starts giving a value for this. Solved!

Aha, it wasn't meant to be a smiley. I just missed the opening parenthesis. Glad it helped anyway. However this means that your fan is really, really slow. Maybe this explains why your system is so hot?

Quoted 4 lines
Quoted 2 lines

As hot has hell! Hardly believable. Maybe you need to change the sensor type?

Changing the sensor type starts to give negative temperatures.

Hm OK, so they had to be correct in the first place.

Quoted 1 line

The it87 & lm90 M/B temp are starting to agree.

It's both encouraging (means we are probably measuring the temperature correctly) and frightening (would your system need additional fans?)

Quoted 1 line

However the it87 CPU temp looks almost 2X the lm90 one.

This is odd. Do you have any conversion formula set in the configuration file?

Maybe your board uses unconventional thermistors so a formula is needed. What are your motherboard brand and model exactly? You may need a "compute" line for the it87's CPU temperature. I think there are some commented out in the default configuration test for you to try.

Quoted 2 lines

This is odd to me too. It is starting to approach winter here so the ambient temperature is not so high. I must compare the BIOS temps.

Yeah, that's definitely the correct thing to do.

Quoted 1 line

Thanks for your help Jean!

You're welcome :)

Jean

#6 lore raw
In reply to Bradley Schatz
Quoted 7 lines · Jean Delvare
Quoted 2 lines

All is working now. Thanks again. Do the it87 series of chips ever support pwm?

Yes, the chip supports and even has automatic fan speed control. The 2.4 driver has support for both. Takeru was working on adding support to the 2.6 driver but suddenly vanished. I hope he's OK...

Quoted 6 lines

Recently, Jonas Munsin started from Takeru's preliminary patch and completed the work. You can see his patch here:
http://people.debian.org/~jmunsin/it87.patch2

Hopefully this will be integrated into the main driver soon. Testing is welcome!

The manual pwm works in that patch, so that can be tested.

The automatic fan speed sort of works, but isn't really usable yet if you don't know its misfeatures :). It will probably take a few days before I have time to fix it properly.

#7 lore raw
In reply to Bradley Schatz
Quoted 2 lines

All is working now. Thanks again. Do the it87 series of chips ever support pwm?

Yes, the chip supports and even has automatic fan speed control. The 2.4 driver has support for both. Takeru was working on adding support to the 2.6 driver but suddenly vanished. I hope he's OK...

Recently, Jonas Munsin started from Takeru's preliminary patch and completed the work. You can see his patch here:
http://people.debian.org/~jmunsin/it87.patch2

Hopefully this will be integrated into the main driver soon. Testing is welcome!

Quoted 7 lines

Driver `it87' (should be inserted but causes problems):
Detects correctly:
* ISA bus address 0x0290 (Busdriver i2c-isa') Chip ITE 8705F Super IO Sensors' (confidence: 9)
Misdetects:
* ISA bus address 0x0290 (Busdriver `i2c-isa')

    Chip `ITE IT8705F / IT8712F / SiS 950' (confidence: 8)

BTW I have fixed this horrible bug in CVS. Sensors-detect should now be more clever and see that this is the same driver for the same chip and display only one. Care to test?

Thanks.

Signature · 2 lines
Jean Delvare
http://khali.linux-fr.org/
#8 lore raw
In reply to Bradley Schatz
Quoted 2 lines

Could it be that the fan is not being driven fast enough by bios/io chip settings? Or maybe the CPU fan is just a little flaky. Any ideas?

Both could be. Maybe PWM is enabled at a very low value, and if you can get PWM to work (see other mail) you may speed your fan up. Doesn't go in the sense of "making your pc more quiet" as mentioned in your original mail, but cooler has a higher priority over quiter IMHO.

Signature · 2 lines
Jean Delvare
http://khali.linux-fr.org/
#9 lore raw
In reply to Bradley Schatz
Quoted 2 lines · Bradley Schatz

I tested this. pwmconfig didnt manage to stop any of my fans though. It looks like my pwm isnt configured at the hardware level.

Ok. I don't know pwmconfig, and the patch adds a interface that is only proposed atm (i.e., pwmconfig might not know about it). And looking at the patch and Documentation/i2c/sysfs-interface makes me think I gave some of the stuff the wrong names, need to fix that. So for further testing, it's currently better to use the sysfs interface directly.

Also, there are starting to be a whole lot of toggles in the interface to get wrong... So here is a brief description:

Mode 1: pwm disabled, gives on/off for the fan:

xena:/sys/bus/i2c/devices/0-0290# echo 0 > pwm1_enable
xena:/sys/bus/i2c/devices/0-0290# echo 1 > fan1_enable

now the fan should be on.

xena:/sys/bus/i2c/devices/0-0290# echo 0 > fan1_enable

And that should turn it off.

On my Asus a7v600, this is the only mode that works for the third fan (marked PWR IIRC).

Mode 2: pwm enabled, manual control

xena:/sys/bus/i2c/devices/0-0290# echo 1 > pwm1_enable
xena:/sys/bus/i2c/devices/0-0290# echo 0 > fan1_auto_enable
xena:/sys/bus/i2c/devices/0-0290# echo 255 > pwm1

Now it should run with full speed, doing

xena:/sys/bus/i2c/devices/0-0290# echo 200 > pwm1

cuts down the speed a bit.

Mode 3:

xena:/sys/bus/i2c/devices/0-0290# echo 1 > pwm1_enable
xena:/sys/bus/i2c/devices/0-0290# echo 1 > fan1_auto_enable

Well, this mode isn't really ready yet...

Quoted 1 line
Quoted 1 line

http://people.debian.org/~jmunsin/it87.patch2

#10 lore raw
In reply to Bradley Schatz
Quoted 2 lines

I tested this. pwmconfig didnt manage to stop any of my fans though. It looks like my pwm isnt configured at the hardware level.

FYI, pwmconfig was broken for 2.6 kernels in lm_sensors 2.8.6. It's now fixed in CVS.

Signature · 2 lines
Jean Delvare
http://khali.linux-fr.org/
#11 lore raw
In reply to Bradley Schatz
Quoted 4 lines

Which speed is the BIOS reporting for the "missing" fan? If it's really slow, you need a really big clock divider 8). Seems that you have already been trying that though?

Your smiley reminded me I hadnt tried a divisor higher than 4. V value of 8 starts giving a value for this. Solved!

Quoted 5 lines

BTW:

Quoted 7 lines
Quoted 2 lines
-12V:     -14.24 V  (min = -12.63 V, max = -11.41 V)   ALARM
-5V:       -7.71 V  (min =  -5.28 V, max =  -4.81 V)   ALARM

Obviously not monitored (look at your BIOS, I guess they don't show there at all) so you could add "ignore" lines for these in /ect/sensors.conf.

Thanks for the hint. Done.

Quoted 7 lines
Quoted 2 lines
M/B Temp:    +80?C  (low  =   +15?C, high =   +40?C)   sensor = thermistor
CPU Temp:    +96?C  (low  =   +15?C, high =   +45?C)   sensor = thermistor

As hot has hell! Hardly believable. Maybe you need to change the sensor type?

Changing the sensor type starts to give negative temperatures. The it87 & lm90 M/B temp are starting to agree. However the it87 CPU temp looks almost 2X the lm90 one.

Quoted 7 lines
Quoted 4 lines

lm90-i2c-4-4c

M/B Temp:    +59?C  (low  =    +0?C, high =   +70?C)   ALARM
CPU Temp:  +67.6?C  (low  =  +0.0?C, high = +70.0?C)   ALARM

Damn hot too, however. Where are you living? ;)

This is odd to me too. It is starting to approach winter here so the ambient temperature is not so high. I must compare the BIOS temps.

Quoted 3 lines

Strange that the ALARMS show. Do they wear of on second read?

They do.

Thanks for your help Jean!

-bradley