Skip to contentSkip to conversation

Winbond W83627HF - deactivated

lm-sensors Rudolf Marek 2 participants 5 messages Jul 6, 2006

lore
Share & tools
lore
#0 lore raw

Hello Albert,

Quoted 2 lines
Quoted 2 lines

Probing for `Winbond W83627HF Super IO Sensors'
Success... but not activated

Hmm strange.

Temperature Monitoring
The Super I/O controller (W83627HF) performs the temperature monitoring
function and has inputs
directly from two thermistors on the board. One thermistor is located near
the CPU and the other
thermistor is located near the I/O Hub (Southbridge).
NOTE The ReadyBoard 800 requires a heatsink for all
processors, but no fan.

Maybe they just forgotten it to activate ....

Enter configuration mode

isaset -y -f 0x2e 0x87
isaset -y -f 0x2e 0x87

select logical device 0xb - hw monitor
isaset -y 0x2e 0x2f 0x07 0xb

select base addr: (assuming 0x290 is safe, check /proc/ioports and see if the 0x290 - 0x29F is empty)

isaset -y 0x2e 0x2f 0x61 0x90
isaset -y 0x2e 0x2f 0x60 0x2

activate it:
isaset -y 0x2e 0x2f 0x30 0x1

Leave configuration mode
isaset -y -f 0x2e 0xaa

Now the modprobe or sensors-detect should work.

You will need to do this reprogramming every boot. If it works, please complain to them so they will fix their BIOS.

Let me know if it works for you ;)

Regards,
Rudolf

#1 lore raw

Hi Rudolf

Quoted 5 lines · Rudolf Marek

Maybe they just forgotten it to activate ....

Enter configuration mode

isaset -y -f 0x2e 0x87

Data mismatch, wrote 0x87, read 0xff back.

Quoted 1 line

isaset -y -f 0x2e 0x87

Data mismatch, wrote 0x87, read 0xff back.

Quoted 3 lines

select logical device 0xb - hw monitor
isaset -y 0x2e 0x2f 0x07 0xb

No issue here

Quoted 3 lines

select base addr: (assuming 0x290 is safe, check /proc/ioports and see if the 0x290 - 0x29F is empty)

The address ranges are open

Quoted 3 lines

isaset -y 0x2e 0x2f 0x61 0x90
isaset -y 0x2e 0x2f 0x60 0x2

no issue here

Quoted 3 lines

activate it:
isaset -y 0x2e 0x2f 0x30 0x1

no issue here

Quoted 3 lines

Leave configuration mode
isaset -y -f 0x2e 0xaa

Data mismatch, wrote 0xaa, read 0xff back.

Seems to me that it is not there at all.

I'm sending an email to Ampro to find out what is going on here. I'll let you know as soon as I have more info from them.

Thanks for your help.

Albert

#2 lore raw
In reply to Rudolf Marek
Quoted 26 lines · Albert

Hi Rudolf

Quoted 5 lines · Rudolf Marek

Maybe they just forgotten it to activate ....

Enter configuration mode

isaset -y -f 0x2e 0x87

Data mismatch, wrote 0x87, read 0xff back.

Quoted 1 line

isaset -y -f 0x2e 0x87

Data mismatch, wrote 0x87, read 0xff back.

Quoted 2 lines

select logical device 0xb - hw monitor
isaset -y 0x2e 0x2f 0x07 0xb

No issue here

Quoted 2 lines

select base addr: (assuming 0x290 is safe, check /proc/ioports and see if the 0x290 - 0x29F is empty)

The address ranges are open

Quoted 2 lines

isaset -y 0x2e 0x2f 0x61 0x90
isaset -y 0x2e 0x2f 0x60 0x2

no issue here

Quoted 2 lines

activate it:
isaset -y 0x2e 0x2f 0x30 0x1

Quoted 7 lines

no issue here

Quoted 2 lines

Leave configuration mode
isaset -y -f 0x2e 0xaa

Data mismatch, wrote 0xaa, read 0xff back.

Seems to me that it is not there at all.

This errors are normal. Ignore them.

Quoted 2 lines

I'm sending an email to Ampro to find out what is going on here. I'll let you know as soon as I have more info from them.

Well this sequence just reprograms the chip. After that you should be able to modprobe the module, and sensors-detect should find it active.

(unless I made some mistake)

Can you re-run the sequence, and run this:
isaset -y -f 0x2e 0x87
isaset -y -f 0x2e 0x87
isaset -y 0x2e 0x2f 0x07 0xb
isadump -y 0x2e 0x2f
isaset -y -f 0x2e 0xaa

Thanks,
Regards
Rudolf

#3 lore raw
In reply to Rudolf Marek
Quoted 4 lines · Rudolf Marek
Quoted 2 lines · Albert

Hi Rudolf
On 06/07/06, Rudolf Marek <r.marek at sh.cvut.cz> wrote:

This errors are normal. Ignore them.

It seems that I was too hasty in replying. I ran sensors-detect again and it did detect the chip.

# sensors
w83627hf-isa-0290
Adapter: ISA adapter
VCore 1:   +0.90 V  (min =  +0.00 V, max =  +0.00 V)       ALARM
VCore 2:   +1.52 V  (min =  +0.00 V, max =  +0.00 V)       ALARM
+3.3V:     +3.30 V  (min =  +3.14 V, max =  +3.47 V)
+5V:       +4.95 V  (min =  +4.76 V, max =  +5.24 V)
+12V:     +11.92 V  (min = +10.82 V, max = +13.19 V)       ALARM
-12V:      -2.16 V  (min = -13.18 V, max = -10.80 V)
-5V:       -3.49 V  (min =  -5.25 V, max =  -4.75 V)       ALARM
V5SB:      +5.03 V  (min =  +4.76 V, max =  +5.24 V)       ALARM
VBat:      +2.05 V  (min =  +2.40 V, max =  +3.60 V)
fan1:        0 RPM  (min = 225000 RPM, div = 2)
fan2:        0 RPM  (min = 7417 RPM, div = 2)
fan3:        0 RPM  (min = 675000 RPM, div = 2)
temp1:       +47??C  (high =   +73??C, hyst =   -28??C)   sensor = thermistor
temp2:     +73.0??C  (high =   +80??C, hyst =   +75??C)   sensor = thermistor
temp3:     -46.0??C  (high =   +80??C, hyst =   +75??C)   sensor = thermistor
vid:      +0.000 V  (VRM Version 8.2)
alarms:   Chassis intrusion detection                      ALARM
beep_enable:
          Sound alarm disabled

eeprom-i2c-0-50

Adapter: SMBus I801 adapter at d800
Memory type:            DDR SDRAM DIMM
Memory size (MB):       512

Now to set up the alarms...

Thanks for your help. It is much appreciated.

Albert

#4 lore raw
In reply to Rudolf Marek

Hello Albert,

Quoted 2 lines

It seems that I was too hasty in replying. I ran sensors-detect again and it did detect the chip.

Good.

Quoted 23 lines
# sensors
w83627hf-isa-0290
Adapter: ISA adapter
VCore 1:   +0.90 V  (min =  +0.00 V, max =  +0.00 V)       ALARM
VCore 2:   +1.52 V  (min =  +0.00 V, max =  +0.00 V)       ALARM
+3.3V:     +3.30 V  (min =  +3.14 V, max =  +3.47 V)
+5V:       +4.95 V  (min =  +4.76 V, max =  +5.24 V)
+12V:     +11.92 V  (min = +10.82 V, max = +13.19 V)       ALARM
-12V:      -2.16 V  (min = -13.18 V, max = -10.80 V)
-5V:       -3.49 V  (min =  -5.25 V, max =  -4.75 V)       ALARM
V5SB:      +5.03 V  (min =  +4.76 V, max =  +5.24 V)       ALARM
VBat:      +2.05 V  (min =  +2.40 V, max =  +3.60 V)
fan1:        0 RPM  (min = 225000 RPM, div = 2)
fan2:        0 RPM  (min = 7417 RPM, div = 2)
fan3:        0 RPM  (min = 675000 RPM, div = 2)
temp1:       +47??C  (high =   +73??C, hyst =   -28??C)   sensor = thermistor
temp2:     +73.0??C  (high =   +80??C, hyst =   +75??C)   sensor = thermistor
temp3:     -46.0??C  (high =   +80??C, hyst =   +75??C)   sensor = thermistor
vid:      +0.000 V  (VRM Version 8.2)
alarms:   Chassis intrusion detection                      ALARM
beep_enable:
          Sound alarm disabled
Quoted 1 line

Now to set up the alarms...

Vcore1 is wrong. There might be some scaling resistors, only the company knows which. You should ask them what resitors were used for scaling -> what scaling factor each input has.

(you may edit /etc/sensors.conf) check the files for hints.

You may use "ignore" statements to ignore selected voltages. (or check some voltage formulas there, if you need more help with this you will need to know what are the scaleling factors anyway)

As for the FANs maybe they are unconnected, maybe they need to change the divisor.

Put in correct configuration section of /etc/sensors.conf this:

set fan1_div 8
set fan2_div 8
set fan3_div 8

Save it, run sensors -s
to "apply" the changes.

Then run sensors again to see if FAN is non-zero

As for the temps. The manual says there are two temps, thermistor sensors. Temp1 and Temp2 seems that are connected. You may change the limits in /etc/sensors.conf (hysteresis limit and max limit)

Quoted 1 line

Thanks for your help. It is much appreciated.

You welcome.

I hope it helps.
Regards
Rudolf