Skip to content

Instantly share code, notes, and snippets.

@kotarou3
Last active February 8, 2026 03:59
Show Gist options
  • Select an option

  • Save kotarou3/d2cdf50286b96d45c17e3ea39ac2d673 to your computer and use it in GitHub Desktop.

Select an option

Save kotarou3/d2cdf50286b96d45c17e3ea39ac2d673 to your computer and use it in GitHub Desktop.
# lm-sensors configuration for the Asus Pro WS TRX50-SAGE WIFI motherboard
#
# Recommended drivers: asus-ec-sensors, nct6775, spd5118
chip "nct6798-isa-0290"
# Voltage labels are from HWiNFO, except Core0/1 and VDD_11_S3 are from the BIOS
label in0 "CPU Core0"
compute in0 @*1.11, @/1.11
label in1 "+5V"
compute in1 @*5, @/5
label in2 "AVSB"
label in3 "3VCC"
label in4 "+12V"
compute in4 @*12, @/12
label in5 "CPU VDDIO"
compute in5 @*1.11, @/1.11
label in6 "CPU Core1"
compute in6 @*1.11, @/1.11
label in7 "3VSB"
label in8 "VBAT"
label in9 "VTT"
label in10 "CHIPSET1 1.0V"
label in11 "VDD_11_S3 / MC"
compute in11 @*1.11, @/1.11
label in12 "VIN2"
label in13 "CPU VSOC"
compute in13 @*1.11, @/1.11
label in14 "CHIPSET1 1.8V"
compute in14 @*1.11, @/1.11
label temp1 "Motherboard"
label temp2 "CPU Socket"
ignore temp3 # Produces seemingly garbage values
ignore temp4 # Seems unused: Sits at 23°C regardless of conditions
ignore temp5 # Seems unused: Sits at 26°C regardless of conditions
ignore temp6 # Seems unused: Sits at -9°C regardless of conditions
ignore temp7 # Seems unused: Sits at 26°C regardless of conditions
# temp8~12 are "virtual" sensors configured by the BIOS depending on the
# temperature sources used for PWM fan control. Typically they are just
# copied over from the EC sensors.
# Using the EC sensors (asusec) directly will be more reliable than these
ignore temp8
ignore temp9
ignore temp10
ignore temp11
ignore temp12
label temp13 "CPU Tctl"
label fan1 "CHA_FAN1"
label fan2 "CPU_FAN"
label fan3 "CHA_FAN2"
label fan4 "CHA_FAN3"
label fan5 "CHA_FAN4"
label fan6 "W_PUMP+"
# Needs https://github.com/hramrach/lm-sensors/pull/12 to not have wrong values
label pwm1 "CHA_FAN1"
label pwm2 "CPU_FAN"
label pwm3 "CHA_FAN2"
label pwm4 "CHA_FAN3"
label pwm5 "CHA_FAN4"
label pwm6 "W_PUMP+"
# spd5118 does not autodetect these sensors, so they have to be added manually
# each boot with:
# # echo spd5118 0x50 > /sys/bus/i2c/devices/i2c-0/new_device
# # echo spd5118 0x52 > /sys/bus/i2c/devices/i2c-0/new_device
# # echo spd5118 0x50 > /sys/bus/i2c/devices/i2c-1/new_device
# # echo spd5118 0x52 > /sys/bus/i2c/devices/i2c-1/new_device
# Also needs https://github.com/hramrach/lm-sensors/pull/11 to parse correctly
chip "spd5118-i2c-0-50" # Path: /sys/devices/platform/AMDI0010:01/i2c-0
label temp1 "DIMM_E1"
chip "spd5118-i2c-0-52"
label temp1 "DIMM_G1"
chip "spd5118-i2c-1-50" # Path: /sys/devices/platform/AMDI0010:02/i2c-1
label temp1 "DIMM_A1"
chip "spd5118-i2c-1-52"
label temp1 "DIMM_C1"
@MindTooth
Copy link

MindTooth commented Feb 7, 2026

Just received my ASUS Pro WS TRX50-SAGE WIFI A and testing it out with Fedora.

I can verify that the A variant uses the nct6799. Reading the DIMMS with spd5118 is a bit hit and miss. I do not get all four and they don't always load the same. Experience that three came up, now only two after a boot.

nct6799-isa-0290
Adapter: ISA adapter
in0:                          664.00 mV (min =  +0.00 V, max =  +1.74 V)
in1:                            1.01 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in2:                            3.36 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in3:                            3.33 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in4:                          1000.00 mV (min =  +0.00 V, max =  +0.00 V)  ALARM
in5:                          992.00 mV (min =  +0.00 V, max =  +0.00 V)
in6:                          568.00 mV (min =  +0.00 V, max =  +0.00 V)  ALARM
in7:                            3.39 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in8:                            3.33 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in9:                            3.33 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in10:                           1.06 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in11:                         976.00 mV (min =  +0.00 V, max =  +0.00 V)  ALARM
in12:                           1.06 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in13:                         784.00 mV (min =  +0.00 V, max =  +0.00 V)  ALARM
in14:                           1.63 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in15:                         880.00 mV (min =  +0.00 V, max =  +0.00 V)  ALARM
in16:                           3.38 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in17:                         288.00 mV (min =  +0.00 V, max =  +0.00 V)
fan1:                          643 RPM  (min =    0 RPM)
fan2:                          425 RPM  (min =    0 RPM)
fan3:                            0 RPM  (min =    0 RPM)
fan4:                            0 RPM  (min =    0 RPM)
fan5:                            0 RPM  (min =    0 RPM)
fan6:                            0 RPM  (min =    0 RPM)
SYSTIN:                        +32.0°C  (high = +80.0°C, hyst = +75.0°C)
                                        (crit = +125.0°C)  sensor = thermistor
CPUTIN:                        +32.0°C  (high = +80.0°C, hyst = +75.0°C)
                                        (crit = +125.0°C)  sensor = thermistor
AUXTIN0:                       +54.0°C  (high = +80.0°C, hyst = +75.0°C)
                                        (crit = +125.0°C)  sensor = thermistor
AUXTIN1:                       +22.0°C  (high = +80.0°C, hyst = +75.0°C)
                                        (crit = +125.0°C)  sensor = thermistor
AUXTIN2:                       +27.0°C  (high = +80.0°C, hyst = +75.0°C)
                                        (crit = +125.0°C)  sensor = thermistor
AUXTIN3:                        -9.0°C  (high = +80.0°C, hyst = +75.0°C)
                                        (crit = +100.0°C)  sensor = thermistor
AUXTIN4:                       +26.0°C  (high = +80.0°C, hyst = +75.0°C)
                                        (crit = +127.0°C)
PECI/TSI Agent 0 Calibration:  +32.0°C  (high = +80.0°C, hyst = +75.0°C)
AUXTIN5:                      +102.0°C  
PCH_CHIP_CPU_MAX_TEMP:          +0.0°C  
PCH_CHIP_TEMP:                  +0.0°C  
PCH_CPU_TEMP:                   +0.0°C  
TSI0_TEMP:                     +34.9°C  
intrusion0:                   OK
intrusion1:                   ALARM
beep_enable:                  disabled

enp174s0-pci-ae00
Adapter: PCI adapter
PHY Temperature:  +41.0°C  
MAC Temperature:  +41.0°C  

spd5118-i2c-0-52
Adapter: Synopsys DesignWare I2C adapter
temp1:        +33.5°C  (low  =  +0.0°C, high = +55.0°C)
                       (crit low =  +0.0°C, crit = +85.0°C)

amdgpu-pci-e300
Adapter: PCI adapter
vddgfx:       73.00 mV 
fan1:           0 RPM  (min =    0 RPM, max = 4300 RPM)
edge:         +26.0°C  (crit = +110.0°C, hyst = -273.1°C)
                       (emerg = +115.0°C)
junction:     +27.0°C  (crit = +110.0°C, hyst = -273.1°C)
                       (emerg = +115.0°C)
mem:          +26.0°C  (crit = +108.0°C, hyst = -273.1°C)
                       (emerg = +113.0°C)
PPT:          10.00 W  (cap = 330.00 W)

nvme-pci-aa00
Adapter: PCI adapter
Composite:    +36.9°C  (low  = -273.1°C, high = +83.8°C)
                       (crit = +87.8°C)
Sensor 1:     +48.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +36.9°C  (low  = -273.1°C, high = +65261.8°C)

nvme-pci-d100
Adapter: PCI adapter
Composite:    +35.9°C  (low  = -273.1°C, high = +82.8°C)
                       (crit = +84.8°C)
ERROR: Can't get value of subfeature temp2_min: I/O error
ERROR: Can't get value of subfeature temp2_max: I/O error
Sensor 1:     +55.9°C  (low  =  +0.0°C, high =  +0.0°C)
ERROR: Can't get value of subfeature temp3_min: I/O error
ERROR: Can't get value of subfeature temp3_max: I/O error
Sensor 2:     +35.9°C  (low  =  +0.0°C, high =  +0.0°C)
ERROR: Can't get value of subfeature temp4_min: I/O error
ERROR: Can't get value of subfeature temp4_max: I/O error
Sensor 3:     +34.9°C  (low  =  +0.0°C, high =  +0.0°C)
ERROR: Can't get value of subfeature temp6_min: I/O error
ERROR: Can't get value of subfeature temp6_max: I/O error
Sensor 5:     +34.9°C  (low  =  +0.0°C, high =  +0.0°C)

spd5118-i2c-0-50
Adapter: Synopsys DesignWare I2C adapter
temp1:        +34.2°C  (low  =  +0.0°C, high = +55.0°C)  ALARM (LCRIT)
                       (crit low = -256.0°C, crit = +85.0°C)

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +34.9°C  

nvme-pci-ad00
Adapter: PCI adapter
Composite:    +35.9°C  

nvme-pci-a900
Adapter: PCI adapter
Composite:    +35.9°C  (low  = -273.1°C, high = +82.8°C)
                       (crit = +84.8°C)
ERROR: Can't get value of subfeature temp2_min: I/O error
ERROR: Can't get value of subfeature temp2_max: I/O error
Sensor 1:     +54.9°C  (low  =  +0.0°C, high =  +0.0°C)
ERROR: Can't get value of subfeature temp3_min: I/O error
ERROR: Can't get value of subfeature temp3_max: I/O error
Sensor 2:     +35.9°C  (low  =  +0.0°C, high =  +0.0°C)
ERROR: Can't get value of subfeature temp4_min: I/O error
ERROR: Can't get value of subfeature temp4_max: I/O error
Sensor 3:     +34.9°C  (low  =  +0.0°C, high =  +0.0°C)
ERROR: Can't get value of subfeature temp6_min: I/O error
ERROR: Can't get value of subfeature temp6_max: I/O error
Sensor 5:     +34.9°C  (low  =  +0.0°C, high =  +0.0°C)

A bit annoying those error for Kingston Fury G5 SSDs. Not related to this project.


Any way I can help more, I will.

@kotarou3
Copy link
Author

kotarou3 commented Feb 8, 2026

Yea I get the same issue with the DIMM sensors where sometimes only a subset loads properly. Investigating why hasn't been a priority though, since generally all of my DIMMs hover around the same temperature so just having 1 working is sufficient for me

I also did experience a related issue where the DIMM sensor values would occasionally report unrealistic values before reverting back to normal, which I reported to the hwmon mailing list here: https://lore.kernel.org/linux-hwmon/CACsxjPbcjDPLVfnVncumKVAL16fgBXr4kUGbH4hW+cZiJTe_0w@mail.gmail.com/T/#u

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment