w83667hg support feedback: some things work, some don't

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

 



Hello,

I've tried the w83667hg patch that was posted here last December [1]
and found that it basically works but does not correctly determine
several aspects of the setup on my ASUS P6T WS Pro motherboard.

Summary:  The motherboard has five fan ports, four fans plugged in.
However, it mis-senses that the motherboard has only three fan ports.
In the 'data->has_fan' initialization code, the patched w83627ehf.c
driver reads:

	  data->has_fan = 0x07; /* fan1, fan2 and fan3 */
	  i = w83627ehf_read_value(data, W83627EHF_REG_FANDIV1);
	
	  if ((i & (1 << 2)) && (!fan4pin))
	    data->has_fan |= (1 << 3);
	  if (!(i & (1 << 1)) && (!fan5pin))
	    data->has_fan |= (1 << 4);

On my board, i=0x35, fan4pin=0x40 and fan5pin=0x20.  If I comment out
the code and simply force data->has_fan=0x1f, I am able to read
correct speeds from all five fans.

Next issue; nearly all of the Min/Max values are incorrect.  They are
both nonsensical and attempts to set them to sane values fail. An
example (without forcing the extra fans):

w83667hg-isa-0290
Adapter: ISA adapter
in0:         +1.00 V  (min =  +0.00 V, max =  +1.74 V)
in1:         +1.71 V  (min =  +0.24 V, max =  +1.54 V)   ALARM
in2:         +3.28 V  (min =  +0.38 V, max =  +0.29 V)   ALARM
in3:         +3.26 V  (min =  +3.09 V, max =  +2.40 V)   ALARM
in4:         +1.69 V  (min =  +1.57 V, max =  +0.26 V)   ALARM
in5:         +2.04 V  (min =  +0.56 V, max =  +0.00 V)   ALARM
in6:         +1.02 V  (min =  +1.57 V, max =  +1.34 V)   ALARM
in7:         +3.39 V  (min =  +0.77 V, max =  +2.22 V)   ALARM
in8:         +3.30 V  (min =  +2.11 V, max =  +1.71 V)   ALARM
fan1:        917 RPM  (min =  200 RPM, div = 64)
fan2:       1222 RPM  (min =  502 RPM, div = 16)
fan3:          0 RPM  (min = 10546 RPM, div = 128)  ALARM
temp1:       +45.0?C  (high = +57.0?C, hyst = +10.0?C)  sensor = thermistor
temp2:       +45.0?C  (high = +80.0?C, hyst = +75.0?C)  sensor = diode
temp3:      +124.5?C  (high = +80.0?C, hyst = +75.0?C)  ALARM  sensor
= thermistor
cpu0_vid:   +2.050 V

 FTR, fan3 really isn't connected, so the value of zero is correct.

By all means, let me know what I can do in the way of any more testing.  Thanks!

[1] http://lists.lm-sensors.org/pipermail/lm-sensors/2008-December/024881.html




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

  Powered by Linux