W83795AG on SuperMicro 7046T-NTR+ board
Supermicro support supplied the following info on the Winbond W83795AG on SuperMicro 7046T-NTR+ board
Bus Type = SMBus
One W83795AG
Windbond W83795AG, Slave Address=0x2f (0x5E in 8-Bit format)
==============================Fan1 Fan Speed, Offset 0x2e RPM = 84375/Data
Fan2 Fan Speed, Offset 0x2f RPM = 84375/Data
Fan3 Fan Speed, Offset 0x30 RPM = 84375/Data
Fan4 Fan Speed, Offset 0x31 RPM = 84375/Data
Fan5 Fan Speed, Offset 0x32 RPM = 84375/Data
Fan6 Fan Speed, Offset 0x33 RPM = 84375/Data
Fan7 Fan Speed, Offset 0x34 RPM = 84375/Data
Fan8 Fan Speed, Offset 0x35 RPM = 84375/Data
Fan9 Fan Speed, Offset 0x36 RPM = 84375/Data
CPU1 Voltage, Offset 0x11 Voltage = Data* 0.008
CPU2 Voltage, Offset 0x10 Voltage = Data* 0.008
+1.5V Voltage, Offset 0x12 Voltage = Data* 0.008
+5V Voltage, Offset 0x13 Voltage = Data* 0.008 * (40/10)
+12V Voltage, Offset 0x14 Voltage = Data* 0.008/ (10./66.2)
+5VSB Voltage, Offset 0x15 Voltage = Data* 0.008 * (40/10)
CPU1 DIMM Voltage, Offset 0x17 Voltage = Data* 0.008
CPU2 DIMM Voltage, Offset 0x16 Voltage = Data* 0.008
+3.3V Voltage, Offset 0x1c Voltage = Data* 0.024
+3.3VSB Voltage, Offset 0x1d Voltage = Data* 0.024
VBAT Voltage, Offset 0x1e Voltage = Data* 0.024
CPU1 Temperature, Offset 0x26 Temperature = Data
CPU2 Temperature, Offset 0x27 Temperature = Data
System Temperature, Offset 0x1f Temperature = Data
Chassis Intrusion, Bank 0, Offset 0x46, BitMask 0x40 1 = Bad, 0 = Good
(Clear Bit: Bank 0, Offset 0x4d, BitMask 0x80)
Power Supply Failure, GP21(From W83527HG) 1 = Good, 0 = Bad
I don't yet understand how to use this info though. Ubuntu 10.10.
Signature · 7 lines
Free as in lawsuit. _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 2 lines · David Anderson
Supermicro support supplied the following info on the Winbond W83795AG on SuperMicro 7046T-NTR+ board
Compare it with my posts about the X8SAX/C7X58 and the config file that resulted from it, and you will be able to extrapolate the correct config file for the 7046T-NTR+.
The supermicro-supplied data is in the list archives, and the final config file is in the lm-sensors site (and probably in the list archives as well).
Signature · 9 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Thanks for the info provided by all in this thread. w83795.c compiled and installed (64bit) -- and
combined with the appropriate new conf (based on X8SAX/C7X58 conf )
I now have meaningful temp and fan readings. Much appreciated.
Till Ubuntu gets up to 2.6.37 I'll probably have to redo the process (beginning with recompile) with each new kernel, but that is fine.
Thanks again.
DavidAnderson
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Here is a configure file that worked (to go with the new kernel module). It may not be perfect. inserted it as /etc/sensors.d/w83795ag.conf
chip "w83795-*"
label fan1 "Fan1"
label fan2 "Fan2"
label fan3 "Fan3"
label fan4 "Fan4"
label fan5 "Fan5"
label fan6 "Fan6"
label fan7 "fanignore"
label fan8 "Fan8"
label in0 "vCPU2"
label in1 "vCPU1"
label in3 "+5V"
label in4 "+12V"
label in5 "5vSB"
label in6 "vcpu2dimm"
label in7 "vcpu1dimm"
label in11 "VTT"
label in12 "+3.3V"
label in13 "+3.3Vsb"
label in14 "Vbatt"
label temp5 "System temp"
label temp7 "CPU1 temp"
label temp8 "CPU2 temp"
compute in3 @*(40/10), @/(40/10)
compute in4 @*(10/66.2), @/(10/66.2)
compute in5 @*(40/10), @/(40/10)
chip "w83627hf-*"
# SuperIO chip used only for the FDC, UARTs and GPIO # SENSORS ARE NOT WIRED
# Power Supply Failure, GP31(From W83627DHG-P) 1 = Good, 0 = Bad
ignore fan1
ignore fan2
ignore fan3
ignore fan4
ignore fan5
ignore temp1
ignore temp2
ignore temp3
ignore in0
ignore in1
ignore in2
ignore in3
ignore in4
ignore in5
ignore in6
ignore in7
ignore in8
ignore cpu0_vid
Thanks again.
David Anderson
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi David,
Quoted 31 lines · David Anderson
Supermicro support supplied the following info on the Winbond W83795AG on SuperMicro 7046T-NTR+ board
Bus Type = SMBus
One W83795AGWindbond W83795AG, Slave Address=0x2f (
0x5Ein 8-Bit format)
==============================> Fan1 Fan Speed, Offset0x2eRPM = 84375/Data
Fan2 Fan Speed, Offset0x2fRPM = 84375/Data
Fan3 Fan Speed, Offset0x30RPM = 84375/Data
Fan4 Fan Speed, Offset0x31RPM = 84375/Data
Fan5 Fan Speed, Offset0x32RPM = 84375/Data
Fan6 Fan Speed, Offset0x33RPM = 84375/Data
Fan7 Fan Speed, Offset0x34RPM = 84375/Data
Fan8 Fan Speed, Offset0x35RPM = 84375/Data
Fan9 Fan Speed, Offset0x36RPM = 84375/Data
CPU1 Voltage, Offset0x11Voltage = Data* 0.008
CPU2 Voltage, Offset0x10Voltage = Data* 0.008
+1.5V Voltage, Offset0x12Voltage = Data* 0.008
+5V Voltage, Offset0x13Voltage = Data* 0.008 * (40/10)
+12V Voltage, Offset0x14Voltage = Data* 0.008/ (10./66.2)
+5VSB Voltage, Offset0x15Voltage = Data* 0.008 * (40/10)
CPU1 DIMM Voltage, Offset0x17Voltage = Data* 0.008
CPU2 DIMM Voltage, Offset0x16Voltage = Data* 0.008
+3.3V Voltage, Offset0x1cVoltage = Data* 0.024
+3.3VSB Voltage, Offset0x1dVoltage = Data* 0.024
VBAT Voltage, Offset0x1eVoltage = Data* 0.024
CPU1 Temperature, Offset0x26Temperature = Data
CPU2 Temperature, Offset0x27Temperature = Data
System Temperature, Offset0x1fTemperature = Data
Chassis Intrusion, Bank 0, Offset0x46, BitMask0x401 = Bad, 0 = Good
Quoted 7 lines
(Clear Bit: Bank 0, Offset 0x4d, BitMask 0x80)Power Supply Failure, GP21(From W83527HG) 1 = Good, 0 = Bad
I don't yet understand how to use this info though. Ubuntu 10.10.
This tells you that the board uses a Winbond W83795 chip (not sure which one exactly, as I know of two variants "G" and "ADG" and they told you "AG" which I don't think exists...) for hardware monitoring. This device is supported by "my" w83795 driver, which is available since kernel 2.6.37 or as a standalone driver at:
http://khali.linux-fr.org/devel/misc/w83795/
More specifically, the above data, together with the w83795 source code, tells you how to write a libsensors configuration file for your board. To make your job easier, I have documented the mapping between pins, symbols, registers and sysfs entries:
http://lists.lm-sensors.org/pipermail/lm-sensors/2011-January/031163.html
Apparently you managed to write a configuration file already, this document should help you confirm if you got it all right or not.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 5 lines · David Anderson
Here is a configure file that worked (to go with the new kernel module). It may not be perfect. inserted it as
/etc/sensors.d/w83795ag.confchip "w83795-*"
This can't work, as the chip will be named w83795adg-* or w83795g-* by libsensors.
Quoted 23 lines
label fan1 "Fan1"
label fan2 "Fan2"
label fan3 "Fan3"
label fan4 "Fan4"
label fan5 "Fan5"
label fan6 "Fan6"
label fan7 "fanignore"
label fan8 "Fan8"label in0 "vCPU2"
label in1 "vCPU1"
label in3 "+5V"
label in4 "+12V"
label in5 "5vSB"
label in6 "vcpu2dimm"
label in7 "vcpu1dimm"
label in11 "VTT"
label in12 "+3.3V"
label in13 "+3.3Vsb"
label in14 "Vbatt"
Quoted 6 lines
label temp5 "System temp"
label temp7 "CPU1 temp"
label temp8 "CPU2 temp"compute in3 @*(40/10), @/(40/10)
compute in4 @*(10/66.2), @/(10/66.2)
This is extremely unlikely. Scaling factors are never less than 1.0.
Quoted 10 lines
compute in5 @*(40/10), @/(40/10)chip "w83627hf-*"
# SuperIO chip used only for the FDC, UARTs and GPIO # SENSORS ARE NOT WIRED
# Power Supply Failure, GP31(From W83627DHG-P) 1 = Good, 0 = Bad
There is some inconsistency here. A W83627DHG-P chip would be named w83627dhg-* by libsensors, not w83627hf-*.
Quoted 11 lines
ignore fan1
ignore fan2
ignore fan3
ignore fan4
ignore fan5
ignore temp1
ignore temp2
ignore temp3
ignore in0
ignore in1
Quoted 8 lines
ignore in2
ignore in3
ignore in4
ignore in5
ignore in6
ignore in7
ignore in8
ignorecpu0_vid
It's more efficient to just not load the w83627hf (or w83627ehf) driver on this board.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Here is the latest version of my C7X58 config, for reference. I did have to ask supermicro for clarifications, to derive a correct formula for in5. The first data they sent was bogus.
#
# Data for SuperMicro C7X58 and X8SAX boards, revision 1.1 or 2.0 # Scaling factors kindly provided by SuperMicro support. #
# Board has two sensor chips, w83627dhg is not used for temperature,
# fans or voltage sensing. BIOS allows one to set w83795adg # parameters, such as voltage or PWM fan control and default strategy. #
chip "w83795adg-*"
label fan1 "CPU Fan"
label in0 "CPU Core" label in2 "DIMM" label in3 "+5V" label in4 "+12V" label in5 "-12V"
label in11 "VTT"
label in12 "+3.3V"
label in13 "+3.3Vsb"
label in14 "Vbatt"
label temp6 "System temperature"
label temp7 "CPU temperature"
compute in3 @*4, @/4
compute in4 @*6.62, @/6.62
compute in5 (@-2.048)*24.2 + 2.048, ((@-2.048)/24.2)+2.048
chip "w83627dhg-*"
# SuperIO chip used only for the FDC, UARTs and GPIO # SENSORS ARE NOT WIRED
# Power Supply Failure, GP31(From W83627DHG-P) 1 = Good, 0 = Bad
ignore fan1
ignore fan2
ignore fan3
ignore fan4
ignore fan5
ignore temp1
ignore temp2
ignore temp3
ignore in0
ignore in1
ignore in2
ignore in3
ignore in4
ignore in5
ignore in6
ignore in7
ignore in8
ignore cpu0_vid
Signature · 9 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 8 lines · Jean Delvare
Quoted 5 lines · David Anderson
Here is a configure file that worked (to go with the new kernel module). It may not be perfect. inserted it as
/etc/sensors.d/w83795ag.confchip "w83795-*"
This can't work, as the chip will be named w83795adg-* or w83795g-* by libsensors.
It is in fact a w83795adg as reported by dmesg.
The supermicro folks had a typo in what they sent me, as you suggested earlier.
They also sent
+12V Voltage, Offset 0x14 Voltage = Data* 0.008/ (10./66.2)
which I had as
compute in4 @*(10.0/66.2), @/(10.0/66.2)
Aha. Notice I misread what they sent me. They used '/ /' and I
used '* /'.
My reading of the algebra was careless.
So I switched to Henrique's equation which is an accurate representation:
compute in4 @*6.62, @/6.62
which gives a more sensible output (11.94 volts).
Thanks again for all the help.
David Anderson
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors