Skip to contentSkip to conversation

lm_sensors and fan speed

lm-sensors Mark M. Hoffman 1 participant 3 messages Dec 9, 2005 – Dec 13, 2005

lore
Share & tools
lore
#0 lore raw

Hi Art:

(cc'ed lm_sensors mailing list)

Quoted 8 lines
Quoted 5 lines · Art Alexion
Quoted 4 lines

I set up lm_sensors with a display in the KDE panel, everything seems fine, except the fan occasionally slows down for a few seconds. No noise. Should I be concerned? Temp remains constant at safe levels. I have the side off the tower which should help with temp.

Quoted 1 line · Mark M. Hoffman

Did you notice this only *after* you set up lm_sensors?

Quoted 7 lines · Art Alexion

Yes.

Quoted 4 lines

If so, what kind
of hardware monitoring chip do you have?

Don't know.

Given the sensors-detect output, looks like Winbond w83627hf.

Quoted 9 lines
Quoted 4 lines

The standard questions...

What version of lm_sensors?

2.8.8-7ubuntu2.1

Quoted 3 lines

Installed from source or distro package?

Quoted 6 lines

.deb

Quoted 3 lines

What kernel version?

2.6

Be more specific please. Output from 'uname -a' will suffice.

[I ask this because there has been a lot of w83627hf driver work recently - for 2.6 kernels this happens in mainline (as opposed to lm_sensors CVS).]

Quoted 49 lines
Quoted 3 lines

What did sensors-detect report?

Driver `eeprom' (may not be inserted):
Misdetects:
* Bus I810/I815 DDC Adapter' (Algorithm unavailable) Busdriver i2c-i810', I2C address 0x50 Chip `SPD EEPROM' (confidence: 1)
* Bus I810/I815 DDC Adapter' (Algorithm unavailable) Busdriver i2c-i810', I2C address 0x51 Chip `SPD EEPROM' (confidence: 1)
* Bus I810/I815 DDC Adapter' (Algorithm unavailable) Busdriver i2c-i810', I2C address 0x52 Chip `SPD EEPROM' (confidence: 1)
* Bus I810/I815 DDC Adapter' (Algorithm unavailable) Busdriver i2c-i810', I2C address 0x53 Chip `SPD EEPROM' (confidence: 1)
* Bus I810/I815 DDC Adapter' (Algorithm unavailable) Busdriver i2c-i810', I2C address 0x54 Chip `SPD EEPROM' (confidence: 1)
* Bus I810/I815 DDC Adapter' (Algorithm unavailable) Busdriver i2c-i810', I2C address 0x55 Chip `SPD EEPROM' (confidence: 1)
* Bus I810/I815 DDC Adapter' (Algorithm unavailable) Busdriver i2c-i810', I2C address 0x56 Chip `SPD EEPROM' (confidence: 1)
* Bus I810/I815 DDC Adapter' (Algorithm unavailable) Busdriver i2c-i810', I2C address 0x57 Chip `SPD EEPROM' (confidence: 1)

Driver `ddcmon' (should be inserted):
Detects correctly:
* Bus `I810/I815 DDC Adapter' (Algorithm unavailable)

    Busdriver `i2c-i810', I2C address 0x50 (and 0x51 0x52 0x53 0x54 0x55

0x56 0x57)
Chip `DDC monitor' (confidence: 8)

Driver `w83781d' (may not be inserted):
Misdetects:
* ISA bus address 0x0290 (Busdriver `i2c-isa')

    Chip `Winbond W83627HF' (confidence: 8)

Driver `w83627hf' (should be inserted):
Detects correctly:
* ISA bus address 0x0290 (Busdriver i2c-isa') Chip Winbond W83627HF Super IO Sensors' (confidence: 9)

Quoted 4 lines
Quoted 3 lines

Did you modify /etc/sensors.conf at all?

No.

OK, could you please send the output of 'sensors'.

One more question... does your BIOS have any kind of automatic fan controls? They are usually on the same BIOS screen that shows temperatures.

Regards,

Signature · 2 lines
Mark M. Hoffman
mhoffman at lightlink.com
#1 lore raw

Hi Art:

Please don't strip the lm-sensors list from the CC's.

Quoted 5 lines
Quoted 4 lines · Mark M. Hoffman

Be more specific please. Output from 'uname -a' will suffice.

[I ask this because there has been a lot of w83627hf driver work recently - for 2.6 kernels this happens in mainline (as opposed to lm_sensors CVS).]

Quoted 1 line · Art Alexion

2.6.10-6-386

OK, that's quite old as far as the relevant driver is concerned. There are at least two patches since 2.6.12 that I think might solve it. But you won't need to rebuild a kernel to find out. Just add this line to /etc/modules.conf:

	options w83627hf init=0

Unfortunately, it will take a reboot for this to take effect. (The driver already overwrote whatever BIOS inits were performed, the only way to get them back is to "run" the BIOS.)

I suggest the init=0 module option because it will make your (older) version of the driver behave more like the default of the latest version - especially with respect to the two patches that I think might solve it.

Or, you could just upgrade your kernel to something like 2.6.14 or later.

Quoted 2 lines
Quoted 1 line · Mark M. Hoffman

OK, could you please send the output of 'sensors'.

Quoted 34 lines · Art Alexion

w83627hf-isa-0290

Adapter: ISA adapter
VCore 1:   +1.65 V  (min =  +1.62 V, max =  +1.79 V)
VCore 2:   +1.50 V  (min =  +1.62 V, max =  +1.79 V)
+3.3V:     +3.28 V  (min =  +3.14 V, max =  +3.47 V)
+5V:       +4.95 V  (min =  +4.76 V, max =  +5.24 V)
+12V:     +11.98 V  (min = +10.82 V, max = +13.19 V)
-12V:     -12.03 V  (min = -13.18 V, max = -10.80 V)
-5V:       +3.54 V  (min =  -5.25 V, max =  -4.75 V)
V5SB:      +5.48 V  (min =  +4.76 V, max =  +5.24 V)
VBat:      +3.23 V  (min =  +2.40 V, max =  +3.60 V)
fan1:     5532 RPM  (min = 18243 RPM, div = 2)              ALARM
fan2:        0 RPM  (min = 8766 RPM, div = 2)
fan3:        0 RPM  (min = 4299 RPM, div = 2)
temp1:       +31?C  (high =    +4?C, hyst =  +119?C)   sensor > thermistor   ALARM
temp2:     +26.0?C  (high =   +80?C, hyst =   +75?C)   sensor > diode         
temp3:     +61.5?C  (high =   +80?C, hyst =   +75?C)   sensor > thermistor    
vid:      +1.700 V  (VRM Version 8.2)

alarms:
beep_enable:
Sound alarm disabled

eeprom-i2c-0-51

Adapter: SMBus I801 adapter at 0540
Memory type:            SDR SDRAM DIMM
Memory size (MB):       64

eeprom-i2c-0-50

Adapter: SMBus I801 adapter at 0540
Memory type:            SDR SDRAM DIMM
Memory size (MB):       256
Quoted 1 line · Mark M. Hoffman

One more question... does your BIOS have any kind of automatic fan controls?

Quoted 4 lines · Art Alexion

Nothing that seems configurable from the CMOS setup screens.

Quoted 1 line · Mark M. Hoffman

They are usually on the same BIOS screen that shows temperatures.

Quoted 1 line · Art Alexion

I think my BIOS is older and without such screens.

Other questions: does 'sensors -s' appear anywhere in your init scripts?

Are you happy with the output of 'sensors', or do you want to dive into its config a bit to get better info? If you're only interested in CPU temperature via some KDE program, then what you have is good enough.

PS: I'll be AFK Sat 10th, able to reply again 11th

Regards,

Signature · 2 lines
Mark M. Hoffman
mhoffman at lightlink.com
#2 lore raw
In reply to Mark M. Hoffman

Hi Art:

Quoted 2 lines
Quoted 1 line · Mark M. Hoffman

Please don't strip the lm-sensors list from the CC's.

Quoted 1 line · Art Alexion

Sorry, I am used to just hitting reply :-[

No worries.

Quoted 10 lines
Quoted 10 lines

OK, that's quite old as far as the relevant driver is concerned. There are at least two patches since 2.6.12 that I think might solve it. But you won't need to rebuild a kernel to find out. Just add this line to /etc/modules.conf:

	options w83627hf init=0

Unfortunately, it will take a reboot for this to take effect. (The driver already overwrote whatever BIOS inits were performed, the only way to get them back is to "run" the BIOS.)

Quoted 6 lines
Quoted 5 lines

I suggest the init=0 module option because it will make your (older) version of the driver behave more like the default of the latest version - especially with respect to the two patches that I think might solve it.

OK. Done

... did it seem to help?

Quoted 5 lines
Quoted 3 lines

Other questions: does 'sensors -s' appear anywhere in your init scripts?

yeah. /etc/init.d/lm-sensors reads

OK, good.

Quoted 9 lines
Quoted 5 lines

Are you happy with the output of 'sensors', or do you want to dive into its config a bit to get better info? If you're only interested in CPU temperature via some KDE program, then what you have is good enough.

The only other thing that I know I am interested in is displaying more S.M.A.R.T. monitor info, which I think is a ksensors issue rather than an lm_sensors issue. That said, what other sorts of information is available?

Well, the sensors output showed some fans with 0 rpms. If you do have fans there that are capable of speed sensing, then read here:

http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/doc/fan-divisors

You may also change the labels on the sensors output, so that e.g. 'temp1' becomes 'CPU Temp'. All of that and more is controlled by /etc/sensors.conf. Or, as I said, if you're happy with the display from ksensors, that's fine too.

As for SMART readings, have you tried smartmontools?

Here are the slides from my March PLUG talk (lm-sensors & smartmontools):

http://members.dca.net/mhoffman/presentations/20050302-plug

Regards,

Signature · 2 lines
Mark M. Hoffman
mhoffman at lightlink.com