Skip to contentSkip to conversation

Trying to get a w83627hf working

lm-sensors [email protected] 1 participant 2 messages Jun 13, 2007

lore
Share & tools
lore
#0 lore raw

Greetings. I just last weekend finally figured out the magic needed to get i2c working (I could never figure out which algorithm to use; finally it was revealed to me that I didn't need to pick from that column at all; the drivers select them if they need them), and got sensors working on a couple of machines.

Of course, one of the machines promptly proceeded to have a motherboard failure Tuesday morning. I guess it's been too long since I last made offering to placate Loki.

Anyway, new motherboard, and new sensors chip. Yes, the BIOS reports
reasonable values. sensors-detect detects the W83627HF-AW chip I
can see on the motherboard (Abit AX8, if anyone cares). But sensors(1) reports garbage:

k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp:

             +30 C

w83627hf-isa-0290

Adapter: ISA adapter
VCore 1:   +4.08 V  (min =  +0.00 V, max =  +4.08 V)              
VCore 2:   +4.08 V  (min =  +0.00 V, max =  +4.08 V)              
+3.3V:     +4.08 V  (min =  +2.82 V, max =  +3.79 V)       ALARM  
+5V:       +5.16 V  (min =  +6.42 V, max =  +6.85 V)       ALARM  
+12V:     +11.86 V  (min = +15.50 V, max = +15.50 V)       ALARM  
-12V:      +1.21 V  (min =  +0.63 V, max =  +5.98 V)              
-5V:       +2.29 V  (min =  +4.70 V, max =  +0.18 V)       ALARM  
V5SB:      +5.56 V  (min =  +6.75 V, max =  +1.45 V)       ALARM  
VBat:      +1.26 V  (min =  +3.06 V, max =  +3.82 V)       ALARM  
fan1:        0 RPM  (min =    0 RPM, div = 2)                     
fan2:        0 RPM  (min =    0 RPM, div = 2)                     
fan3:        0 RPM  (min =    0 RPM, div = 2)                     
temp1:       -48 C  (high =    -1 C, hyst =  +124 C)   sensor = diode           
temp2:     -48.0 C  (high =   +80 C, hyst =   +75 C)   sensor = diode           
temp3:     -48.0 C  (high =   +80 C, hyst =   +75 C)   sensor = diode           
vid:      +0.000 V  (VRM Version 2.4)

alarms:
beep_enable:
Sound alarm disabled

But now I'm annoyed. Get data sheet, read data sheet. Write register-dumper. H'm... Config reggister CR22 (accessed via the 0x23/0x2f port pair) is set to 0xbf. That means that the hardware monitor is powered down! Set bit CR22.6 to 1... still not working.

Try the "reset" module option. No change. (The sensors(1) output above is after all this fiddling about. The +12V and +5V numbers are somewhat plausible, as the +5VSB might be. I don't remember if they were worse before I played with the power bit. But I know it can monitor the fans, and isn't. The Vcore numbers, in particular, are obviosuly wrong.

Here are what the BIOS boot menu reports. Voltages sparated by a slash were flickering. This is copied off paper, so I didn't write trailing zeros.

Value Min Max
Core 1.386/1.400 0.0 1.7
DDR 2.64 2.4 2.9
DDR Vtt 1.33 1.20 1.45
NB 1.60 1.40 1.70
SB 2.52 2.25 2.75
HyperT 1.22 0.95 1.45
ATX+5 5.13 4.00 6.00
ATX+3.3 3.34 2.65 3.95
+5SB 5.13 4.00 6.00
ATX+12 12.27 9.60 14.40

CPU fan 2100 RPM
NB fan 4860/4920 (actually a case fan)
SYS fan 4860/4920 (an identical case fan)
AUX fan (0 - not connected)

Temp Beep Shutdown
CPU 43/44 65 85
System 28 50 65
PWM 31/32 70 90 (Is this the CPU power supply?)
(There were also some enable bits I forgot to copy.) So those are the answers I *should* get.... what's going on?

Here's my register dumper output. The long vertical range is the config registers. The high byte is the logical device number (0xff for "global"). The leading = and - signs are just to help you keep your place.

Then I dump out the hardware monitor registers via the ports at 0x295 and 0x296. First, all registers in the 0x00..0x7f range, then the 0x50..0x5f range with the 8 possible bank selects. (Yes, I unloaded the module while doing this!)

Reg Value Binary
ÿ02 ff 11111111

 ff07	ff  11111111
-ff20	52  01010010
 ff21	41  01000001
 ff22	ff  11111111 Hardware monitor powered on (was 10111111)
 ff23	fe  11111110
 ff24	c0  11000000
 ff25	00  00000000
 ff26	00  00000000
 ff27	ff  11111111
 ff28	00  00000000
 ff29	00  00000000
 ff2a	7c  01111100
 ff2b	c0  11000000
 ff2c	ff  11111111
 ff2d	30  00110000
 ff2e	00  00000000
 ff2f	ff  11111111
30	01  00000001
-0060	03  00000011
 0061	f0  11110000
-0070	06  00000110
 0074	02  00000010
-00f0	0e  00001110
 00f1	00  00000000
 00f2	ff  11111111
 00f4	00  00000000
 00f5	00  00000000
30	01  00000001
-0160	03  00000011
 0161	78  01111000
-0170	07  00000111
 0174	03  00000011
-01f0	3b  00111011
30	01  00000001
-0260	03  00000011
 0261	f8  11111000
-0270	04  00000100
-02f0	00  00000000
30	00  00000000
-0360	00  00000000
 0361	00  00000000
-0370	00  00000000
-03f0	00  00000000
 03f1	00  00000000
30	01  00000001
-0560	00  00000000
 0561	60  01100000
 0562	00  00000000
 0563	64  01100100
-0570	01  00000001
 0572	0c  00001100
-05f0	80  10000000
30	00  00000000
-0660	00  00000000
 0661	00  00000000
-0670	00  00000000
30	01  00000001
-0760	00  00000000
 0761	00  00000000
 0762	00  00000000
 0763	00  00000000
-0770	00  00000000
-07f0	ff  11111111
 07f1	00  00000000
 07f2	00  00000000
30	00  00000000
-08f0	ff  11111111
 08f1	ff  11111111
 08f2	ff  11111111
 08f3	00  00000000
 08f4	ff  11111111
 08f5	00  00000000
 08f6	00  00000000
 08f7	00  00000000
	30	00  00000000
-09f0	ff  11111111
 09f1	ff  11111111
 09f2	ff  11111111
 09f3	00  00000000

30 00 00000000 ACPI inactive

-0a70	00  00000000
-0ae0	00  00000000
 0ae1	00  00000000 Keyboard wake-up index
 0ae2	77  01110111 Keyboard wake-up data (great, more multiplexing!)
 0ae3	00  00000000
 0ae4	40  01000000 Power-on state = old state
 0ae5	00  00000000
 0ae6	00  00000000
 0ae7	00  00000000
-0af0	00  00000000
 0af1	af  10101111
 0af2	ff  11111111
 0af3	3e  00111110
 0af4	00  00000000
 0af6	00  00000000
 0af7	00  00000000
 0af9	00  00000000
30	01  00000001 Hardware monitor active
-0b60	02  00000010 
 0b61	90  10010000
-0b70	00  00000000 IRQ = 0 (none)
-0bf0	00  00000000 Disable power-on beep

hw_base is 0x0290
0 1 2 3 4 5 6 7 8 9 a b c d e f
HW_00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
HW_10 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
HW_20 ff ff ff c0 c3 c6 c8 d0 ff ff ff ff 00 ff 00 ed
HW_30 b0 ff ef ff ff fe bd 9d f7 ff 7c ff ff ff 00 00
HW_40 01 00 00 00 00 00 00 5f 1f 03 89 44 00 95 07 a3
HW_50 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
HW_60 ff ff ff c0 c3 c6 c8 d0 ff ff ff ff 00 ff 00 ed
HW_70 b0 ff ef ff ff fe bd 9d f7 ff 7c ff ff ff 00 00
Bank 0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Bank 1 d0 00 00 4b 00 50 00 ff ff ff ff ff ff ff ff ff
Bank 2 d0 00 00 4b 00 50 00 ff ff ff ff ff ff ff ff ff
Bank 3 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Bank 4 00 00 00 00 00 00 00 00 19 0c 05 03 11 00 ff ff
Bank 5 d0 4f 00 00 36 fb ef bf 00 00 00 00 00 00 00 00
Bank 6 d0 02 31 5f 32 2f 2e 2d d0 02 31 5f 32 2f 2e 2d
Bank 7 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff

As you can see, starting at 0x20 and 0x60, VcoreA, VcoreB, and +3.3Vin readings are all 0xff = 4.08 V. The VCoreA high limit at 0x2b is clearly 0xff, so I don't see where the BIOS monitor gets 1.7V.

Is there anything obviosuly misconfigured here?

Thanks!

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#1 lore raw
Quoted 4 lines

Anyway, new motherboard, and new sensors chip. Yes, the BIOS reports
reasonable values. sensors-detect detects the W83627HF-AW chip I
can see on the motherboard (Abit AX8, if anyone cares). But sensors(1) reports garbage:

Ah. Figured it out. The motherboard isn't using the hardware monitor features of the w83627hf. It's an Abit motherboard, so I need the abituguru driver.

Then everything works:

abituguru-isa-00e0

Adapter: ISA adapter
CPU Core Voltage:       +1.40 V (min  +0.00 V, max  +1.70 V)
DDR Voltage:            +2.64 V (min  +2.40 V, max  +2.89 V)
DDR VTT Voltage:        +1.33 V (min  +1.21 V, max  +1.45 V)
NB Voltage:             +1.59 V (min  +1.40 V, max  +1.70 V)
SB Voltage:             +2.52 V (min  +2.25 V, max  +2.74 V)
HyperTransport Voltage: +1.22 V (min  +0.94 V, max  +1.45 V)
AGP VDDQ Voltage:       +2.85 V (min  +2.22 V, max  +3.34 V)
ATX +5V:                +4.78 V (min  +3.77 V, max  +5.63 V)
ATX +3.3V:              +3.57 V (min  +2.77 V, max  +4.17 V)
Standby Voltage (+5V):  +5.27 V (min  +4.12 V, max  +6.17 V)
ERROR: Can't get IN data! (0x000b)
CPU Temperature:          +35 C  (high =   +65 C, crit =   +85 C)  
SYS Temperature:          +28 C  (high =   +50 C, crit =   +65 C)  
PWM Temperature:          +30 C  (high =   +70 C, crit =   +90 C)  
CPU FAN Speed:         3060 RPM (min 1200 RPM)               
NB FAN Speed:          4920 RPM (min 1200 RPM)               
SYS FAN Speed:         4860 RPM (min 1200 RPM)               
AUX1 FAN Speed:           0 RPM (min 1200 RPM)               
AUX2 FAN Speed:           0 RPM (min  300 RPM)               

Unfortunately, I can only set the thresholds with the BIOS, but data is available.

The 5V worked because it uses the power supply pin which IS wired up. I could also monitor the battery voltage if I liked. But the other features are garbage because they're not connected.

Sorry for the false alarm!

(And I'm sorry to have supported a manufacturer that won't document their hardware; it was available in a hurry when I needed it.)

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors