# Contributed by Henrique de Moraes Holschuh.

# Also compatible with X8SAX.


#
# Libsensors configuration 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. sensors-detect will suggest that you load the
# w83627ehf driver but you shouldn't.
# 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"

   # The BIOS does not set the correct limits for VTT, but it is wired.
   # Default to broad limits used on Asus boards, feel free to refine for your CPU.
   set in11_min 0.770
   set in11_max 1.538

   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
