lm-sensors configs for Asus Sabertooth 990FX and M5A97 R2.0

I had to replace a motherboard and CPU a few days ago (bought an Asus M5A97 R2.0), and wanted to get lm-sensors working properly on it. Got it working eventually, which was harder than it should have been because the lm-sensors site is MIA, seems to have been rm -rf -ed.

For anyone else with this motherboard, the config is included below.

This inspired me to fix the config for my Asus Sabertooth 990FX motherboard. Also included below.

To install, copy-paste to a file under /etc/sensors.d/ and run sensors -s to make sensors evaluate all of the set statemnents.

Asus M5A97 R2.0:

# Asus M5A97 R2.0
# based on Asus M5A97 PRO from http://blog.felipe.lessa.nom.br/?p=93

chip "k10temp-pci-00c3"
     label temp1 "CPU Temp (rel)"

chip "it8721-*"
     label  in0 "+12V"
     label  in1 "+5V"
     label  in2 "Vcore"
     label  in2 "+3.3V"
     ignore in4
     ignore in5
     ignore in6
     ignore in7

     ignore fan3

     compute in0  @ * (515/120), @ / (515/120)
     compute in1  @ * (215/120), @ / (215/120)

     label temp1 "CPU Temp"
     label temp2 "M/B Temp"

     set temp1_min 30
     set temp1_max 70

     set temp2_min 30
     set temp2_max 60


     label fan1 "CPU Fan"
     label fan2 "Chassis Fan"

     label fan3 "Power Fan"
     ignore temp3

     set in0_min  12 * 0.95
     set in0_max  12 * 1.05

     set in1_min  5 * 0.95
     set in1_max  5 * 1.05

     set in3_min  3.3 * 0.95
     set in3_max  3.3 * 1.05

     ignore intrusion0

Sabertooth 990FX:

#Asus Sabertooth 990FX
# modified from the version at http://www.spinics.net/lists/lm-sensors/msg43352.html

chip "it8721-isa-0290"

# Temperatures
    label temp1  "CPU Temp"
    label temp2  "M/B Temp"
    label temp3  "VCORE-1"
    label temp4  "VCORE-2"
    label temp5  "Northbridge"         # I put all these here as a reference since the
    label temp6  "DRAM"                # Asus Thermal Radar tool on my Windows box displays
    label temp7  "USB3.0-1"            # all of them.
    label temp8  "USB3.0-2"            # lm-sensors ignores all but the CPU and M/B temps.
    label temp9  "PCIE-1"              # If that is really what they are.
    label temp10 "PCIE-2"

    set temp1_min 0
    set temp1_max 70

    set temp2_min 0
    set temp2_max 60

    ignore temp3

# Fans
    label fan1 "CPU Fan"
    label fan2 "Chassis Fan 1"
    label fan3 "Chassis Fan 2"
    label fan4 "Chassis Fan 3"
#    label fan5 "Chassis Fan 4"      # lm-sensor complains about this

    ignore fan2
    ignore fan3

    set fan1_min 600
    set fan2_min 600
    set fan3_min 600

# Voltages
    label in0 "+12V"
    label in1 "+5V"
    label in2 "Vcore"
    label in3 "+3.3V"
    label in5 "VDDA"


    compute  in0  @ * (50/12), @ / (50/12)
    compute  in1  @ * (205/120), @ / (205/120)

    set in0_min  12 * 0.95
    set in0_max  12 * 1.05

    set in1_min  5 * 0.95
    set in1_max  5 * 1.05

    set in2_min  0.80
    set in2_max  1.6

    set in3_min  3.20
    set in3_max  3.6

    set in5_min  2.2
    set in5_max  2.8

    ignore in4
    ignore in6
    ignore in7

    ignore intrusion0

chip "k10temp-pci-00c3"
     label temp1 "CPU Temp"