# Configuration file for the Gigabyte GA-790XTA-UD4.
# Submitted by Ancoron Luciferis


# libsensors3 configuration file for the Gigabyte GA-790XTA-UD4

chip "it8720-isa-*"
### Voltages

   # in5 is mysterious.

   label  in0  "Vcore"
   label  in1  "Vdram"   # "DDR3" in BIOS
   label  in2  "+3.3V"
   label  in3  "+5V"     # Not in BIOS
   label  in4  "+12V"
   ignore in5
   ignore in6
   label  in7  "5VSB"    # Not in BIOS
   label  in8  "Vbat"    # Not in BIOS
   ignore cpu0_vid

   # Vcore, Vdram, +3.3V and Vbat are connected directly, so no compute
   # line is needed for these. +5V and 5VSB are internal so we use the
   # standard scaling factor. Scaling for +12V is apparently not standard,
   # factor 3.963 is guessed from BIOS and EasyTune values (3.943 was
   # another candidate.)
   compute  in3  @ * (6.8/10+1), @ / (6.8/10+1)
   compute  in4  @ * 3.963,      @ / 3.963
   compute  in7  @ * (6.8/10+1), @ / (6.8/10+1)

   # The BIOS won't set any limit for voltages.

   set in0_min  0.825 * 0.95
   set in0_max  1.425 * 1.05
   set in1_min  1.5   * 0.95
   set in1_max  1.5   * 1.05
   set in2_min  3.3   * 0.95
   set in2_max  3.3   * 1.05
   set in3_min  5     * 0.95
   set in3_max  5     * 1.05
   set in4_min 12     * 0.95
   set in4_max 12     * 1.05
   set in7_min  5     * 0.95
   set in7_max  5     * 1.05

### Temperatures

   # The BIOS only shows 2 temperature values, so temp1 and temp3
   # might not be actually both used, and I don't know which one
   # is reported by the BIOS as the system temperature.

   label temp1 "SYS Temp"
   set   temp1_min 0
   set   temp1_max 50 # Tropical ambient max plus a bit

   label temp2  "CPU Casing Temp"
   set   temp2_min 0
   set   temp2_max 65 # BIOS "CPU Warning Temperature" - 5

   label temp3 "NB Temp"
   set   temp3_min 0
   set   temp3_max 55 # BIOS "CPU Warning Temperature" - 15

### Fans

   label fan1 "CPU Fan"
   ignore fan2
   label fan3 "SYS Fan 2"
   # ignore fan4 # doesn't exist on GA-790XTA-UD4
   ignore fan5

   # Adjust for your own fans
   set fan1_min 300
   set fan3_min 300

