Blob Blame History Raw
# Configuration contributed by Maciej Żenczykowski.
# Kernel modules used: f71882fg, coretemp.


# Jetway NC92-330-LF

chip "f71862fg-*"

    label in0 "Vcc3V"
    label in1 "Vcore"
    label in2 "   NB"
    label in3 "+ 5V"
    label in4 "+12V"
    label in5 "5VSB"
    label in6 "VDIMM"
    label in7 "VSB3V"
    label in8 "Vbat"

    label fan1 "CPUFAN"
    label fan2 "SYSFAN1"
    label fan3 "SYSFAN2"

    label temp1 "?CPU Temp"
    label temp2 "?Sys Temp"
    label temp3 "???? Temp"

# According to datasheet, 3VCC/VSB/VBAT
# (ie. Vcc3V/VSB3V/Vbat, or in0/in7/in8)
# use internal R1=R2=150K Ohm resistors
#
# remember V_in_to_chip = V_real * R2 / (R1 + R2)
# (where V_real----R1---*----V_in_to_chip) [max 2.048V]
# (                     |                )
# (                    R2                )
# (                     |                )
# (                    GND               )
#
# It would seem that VDIMM is the same...
# Hence those four are set to use "@*2, @/2"
#
# The values of 5.25 for +5V and 5VSB and 11 for +12V
# are from the datasheet as well (after juggling):
#
# VCORE    R1=1K   R2=inf VCORE  -> *1
# VRAM     R1=10K  R2=10K VIN2   -> *2
# VCHIPSET R1=4.7K R2=10K VIN3   -> *1.47
# VCC5V    R1=20K  R2=4.7 VIN4   -> *5.255319148
# +12V     R1=200K R2=20K VIN5   -> *11
# VCC1.5V  R1=10K  R2=inf VIN6   -> *1

    compute in0 @*2, @/2
    compute in1 @, @
    compute in2 @, @
    compute in3 @*5.255319148, @/5.255319148
    compute in4 @*11, @/11
    compute in5 @*5.255319148, @/5.255319148
    compute in6 @*2, @/2
    compute in7 @*2, @/2
    compute in8 @*2, @/2

#   set temp1_type 2
    set temp1_max        85
    set temp1_max_hyst   81
    set temp1_crit       65
#   set temp1_crit_hyst  61
#   set temp2_type 2
    set temp2_max        85
    set temp2_max_hyst   81
    set temp2_crit      100
#   set temp2_crit_hyst  96
#   set temp3_type 2
    set temp3_max        70
    set temp3_max_hyst   68
    set temp3_crit       85
#   set temp3_crit_hyst  83