Skip to content

Instantly share code, notes, and snippets.

@flaviut
Created August 11, 2023 21:39
Show Gist options
  • Save flaviut/8d20a8f7fe297ad656ea9e04c3a66e5c to your computer and use it in GitHub Desktop.
Save flaviut/8d20a8f7fe297ad656ea9e04c3a66e5c to your computer and use it in GitHub Desktop.
sensors configuration for my computer
chip "nvme-pci-*"
label temp2 "flash"
label temp3 "cpu"
# ASRock B350 Fatal1ty Gaming ITX/ac
# 2019, contributed by Erdem U. Altinyurt
# Modified by Flaviu Tamas
#
# dmi: board_name: B350 Fatal1ty Gaming ITX/ac
# dmi: board_vendor: ASRock
# dmi: bios_version: P5.70
# cpu: AMD Ryzen 7 2700X
chip "nct6792-isa-*"
# Fans
label fan2 "cpu"
label fan1 "chassis 1"
label fan3 "chassis 2"
ignore fan4
ignore fan5
ignore temp1
ignore temp2
label temp3 "Motherboard"
ignore temp4
ignore temp5
ignore temp6
label temp7 "CPU (SMBus)"
ignore temp8
ignore temp9
ignore temp10
label temp11 "CPU (TSI)"
# Voltages
# VCore is different to VDDCR_CPU
# VCore is a voltage measured somewhere by the Firmware.
# (Readings may appear low at times (0.54V) and fluctuate - this is normal)
label in0 "Vcore"
compute in0 @*2, @/2
# +3VDC
label in3 "+3.3V"
set in3_min 3 * 0.95
set in3_max 3 * 1.05
# +12VDC
label in12 "+12V"
set in12_min 12 * 0.95
set in12_max 12 * 1.05
compute in12 ((56/10)+1)*@, @/((56/10)+1)
label in13 "+5V"
compute in13 ((20/10)+1)*@, @/((20/10)+1)
set in13_min 5 * 0.90
set in13_max 5 * 1.10
ignore PCH_CHIP_CPU_MAX_TEMP
ignore PCH_CHIP_TEMP
ignore PCH_CPU_TEMP
#Those are guess
label in2 "AVCC"
#label in8 "Vbat" #Not give correct battery voltage
ignore in8
ignore in1 #Unused input that is always at 0.
ignore in4 #Unused input that is always at 0.
ignore in5 #Unused input that is always at 0.
#ignore in9 #Unused input that is always at 0. Not at your board. Might be related with integrated graphics?
ignore in14 #Unused input that is always at 0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment