Skip to content

Instantly share code, notes, and snippets.

@0rbadvent
Created December 21, 2017 02:44
Show Gist options
  • Save 0rbadvent/f65371a22ae1cc4bb14dd69283feb4c7 to your computer and use it in GitHub Desktop.
Save 0rbadvent/f65371a22ae1cc4bb14dd69283feb4c7 to your computer and use it in GitHub Desktop.
chip "it8728-isa-0228"
label in0 "VCore" # CPU Core Voltage
label in1 "VDDR" # DDR2 1.8V
label in2 "+3.3V" # VCC3
label in3 "+5V" # VCC
label in4 "+12V"
label in5 "-12V" # Not in the BIOS, maybe not really -12V
label in6 "-5V" # Not in the BIOS, maybe not really -5V
label in7 "3.3VSB" # VCCH
label in8 "VBat"
label fan1 "CPU Fan"
label fan2 "PWR Fan"
label fan3 "SYS Fan"
label temp1 "NB Temp"
label temp2 "CPU Temp"
compute in2 @ * (178/120), @ / (178/120)
compute in3 @ * (294/120), @ / (294/120)
compute in4 @ * (728/120), @ / (728/120)
compute in5 -@ * ((520/60) +1), -@ / ((520/60) +1)
compute in6 -@ * ((162/120) +1), -@ / ((162/120) + 1)
compute temp3 ((@ / 2.56) +36.4921875), -((@ / 2.56) +36.4921875)
#compute
#compute temp3 @ * ((95.01)*100.2)/100, @ / (95.01/27.43)*1.02
#compute in6 (1+294/120)*@ - 4.096*294/120, (@ + 4.096*294/120)/(1+294/120)
set in0_min 0.7
set in0_max 1.5
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 * 0.95
set in3_max 5.0 * 1.05
set in4_min 12 * 0.95
set in4_max 12 * 1.05
set in5_min (-1) * (12 * 0.95)
set in5_max (-1) * (12 * 1.05)
set in6_min (-5) * 0.95
set in6_max (-5) * 1.05
set in7_min 3 * 0.95
set in7_max 3 * 1.05
set temp1_min 0 # operates at significantly higher temps than temp1
set temp1_max 65 # Default max fan speed reference point
set temp2_min 0
set temp2_max 55 # Tropical ambient temperature plus a bit
#set temp3_min 0 # reports thermal margin, and reports -10C when idle
#set temp3_max 65 # Bulldozer Published limit +3C
#set temp3_type 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment