Friday, April 24, 2009

sensors.conf for my TUL TG31-M2 (it8718 and coretemp)

The result of sensors -v gives sensors version 2.10.8 with libsensors version 2.10.8 and I have the following in /etc/sensors.conf

chip "it8718-*"
label in0 "VCore"
label in1 "VDDR"
label in2 "+3.3V" # VCC3
label in3 "+5V" # VCC
label in4 "+12V"
ignore in5
# label in5 "-12V"
label in6 "-5V"
label in7 "5VSB" # VCCH
label in8 "VBat"

set in0_min 0.85
set in0_max 1.5
set in1_max 2.0

compute in3 ((6.8/10)+1)*@ , @/((6.8/10)+1)
compute in4 ((30/10)+1)*@ , @/((30/10)+1)
# compute in5 ((30/10)+1)*@ , @/((30/10)+1)
compute in6 (1+120/56)*@ - 4.096*120/56 , (@ + 4.096*120/56)/(1+120/56)
compute in7 ((6.8/10)+1)*@ , @/((6.8/10)+1)

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

label fan1 "CPU Fan"
label fan2 "SYS Fan"
label fan3 "PWR Fan"

ignore vid
# label vid "CPU Vid"
# compute vid @,@

# Coretemp max 86C (/sys/devices/platform/coretemp.0/temp1_max) instead of 100C
chip "coretemp-isa-*"
compute temp1 (@ -14),(@ +14)

No comments: