* [lm-sensors] W83795AG on SuperMicro 7046T-NTR+ board
@ 2011-01-29 18:53 David Anderson
2011-01-29 19:13 ` Henrique de Moraes Holschuh
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: David Anderson @ 2011-01-29 18:53 UTC (permalink / raw)
To: lm-sensors
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.
--
Free as in lawsuit.
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [lm-sensors] W83795AG on SuperMicro 7046T-NTR+ board
2011-01-29 18:53 [lm-sensors] W83795AG on SuperMicro 7046T-NTR+ board David Anderson
@ 2011-01-29 19:13 ` Henrique de Moraes Holschuh
2011-01-30 20:49 ` David Anderson
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Henrique de Moraes Holschuh @ 2011-01-29 19:13 UTC (permalink / raw)
To: lm-sensors
On Sat, 29 Jan 2011, David Anderson wrote:
> 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).
--
"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
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [lm-sensors] W83795AG on SuperMicro 7046T-NTR+ board
2011-01-29 18:53 [lm-sensors] W83795AG on SuperMicro 7046T-NTR+ board David Anderson
2011-01-29 19:13 ` Henrique de Moraes Holschuh
@ 2011-01-30 20:49 ` David Anderson
2011-01-30 21:13 ` David Anderson
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: David Anderson @ 2011-01-30 20:49 UTC (permalink / raw)
To: 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
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [lm-sensors] W83795AG on SuperMicro 7046T-NTR+ board
2011-01-29 18:53 [lm-sensors] W83795AG on SuperMicro 7046T-NTR+ board David Anderson
2011-01-29 19:13 ` Henrique de Moraes Holschuh
2011-01-30 20:49 ` David Anderson
@ 2011-01-30 21:13 ` David Anderson
2011-01-30 21:18 ` Jean Delvare
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: David Anderson @ 2011-01-30 21:13 UTC (permalink / raw)
To: 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
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [lm-sensors] W83795AG on SuperMicro 7046T-NTR+ board
2011-01-29 18:53 [lm-sensors] W83795AG on SuperMicro 7046T-NTR+ board David Anderson
` (2 preceding siblings ...)
2011-01-30 21:13 ` David Anderson
@ 2011-01-30 21:18 ` Jean Delvare
2011-01-31 8:07 ` Jean Delvare
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Jean Delvare @ 2011-01-30 21:18 UTC (permalink / raw)
To: lm-sensors
Hi David,
On Sat, 29 Jan 2011 10:53:15 -0800, David Anderson wrote:
> 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.
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.
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [lm-sensors] W83795AG on SuperMicro 7046T-NTR+ board
2011-01-29 18:53 [lm-sensors] W83795AG on SuperMicro 7046T-NTR+ board David Anderson
` (3 preceding siblings ...)
2011-01-30 21:18 ` Jean Delvare
@ 2011-01-31 8:07 ` Jean Delvare
2011-01-31 17:11 ` Henrique de Moraes Holschuh
2011-01-31 18:22 ` David Anderson
6 siblings, 0 replies; 8+ messages in thread
From: Jean Delvare @ 2011-01-31 8:07 UTC (permalink / raw)
To: lm-sensors
On Sun, 30 Jan 2011 13:13:24 -0800, David Anderson wrote:
> 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-*"
This can't work, as the chip will be named w83795adg-* or w83795g-* by
libsensors.
>
> 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)
This is extremely unlikely. Scaling factors are never less than 1.0.
> 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-*.
>
> 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
It's more efficient to just not load the w83627hf (or w83627ehf) driver
on this board.
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [lm-sensors] W83795AG on SuperMicro 7046T-NTR+ board
2011-01-29 18:53 [lm-sensors] W83795AG on SuperMicro 7046T-NTR+ board David Anderson
` (4 preceding siblings ...)
2011-01-31 8:07 ` Jean Delvare
@ 2011-01-31 17:11 ` Henrique de Moraes Holschuh
2011-01-31 18:22 ` David Anderson
6 siblings, 0 replies; 8+ messages in thread
From: Henrique de Moraes Holschuh @ 2011-01-31 17:11 UTC (permalink / raw)
To: 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
--
"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
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [lm-sensors] W83795AG on SuperMicro 7046T-NTR+ board
2011-01-29 18:53 [lm-sensors] W83795AG on SuperMicro 7046T-NTR+ board David Anderson
` (5 preceding siblings ...)
2011-01-31 17:11 ` Henrique de Moraes Holschuh
@ 2011-01-31 18:22 ` David Anderson
6 siblings, 0 replies; 8+ messages in thread
From: David Anderson @ 2011-01-31 18:22 UTC (permalink / raw)
To: lm-sensors
On 01/31/2011 12:07 AM, Jean Delvare wrote:
> On Sun, 30 Jan 2011 13:13:24 -0800, David Anderson wrote:
>> 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-*"
> 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
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-01-31 18:22 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-29 18:53 [lm-sensors] W83795AG on SuperMicro 7046T-NTR+ board David Anderson
2011-01-29 19:13 ` Henrique de Moraes Holschuh
2011-01-30 20:49 ` David Anderson
2011-01-30 21:13 ` David Anderson
2011-01-30 21:18 ` Jean Delvare
2011-01-31 8:07 ` Jean Delvare
2011-01-31 17:11 ` Henrique de Moraes Holschuh
2011-01-31 18:22 ` David Anderson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.