Skip to content

Commit 9135ca3

Browse files
committed
fix: Add missing sensors for Asus ROG X670E-HERO / GENE
1 parent bd2fcf7 commit 9135ca3

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

OpenHardwareMonitorLib/Hardware/Motherboard/SuperIOHardware.cs

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4696,6 +4696,7 @@ private static void GetNuvotonConfigurationD(ISuperIO superIO, Manufacturer manu
46964696
break;
46974697

46984698
case Model.ROG_CROSSHAIR_X670E_GENE: // NCT6799D
4699+
case Model.ROG_CROSSHAIR_X670E_HERO:
46994700
v.Add(new Voltage("Vcore", 0, 2, 2)); // This is wrong
47004701
v.Add(new Voltage("+5V", 1, 4, 1));
47014702
v.Add(new Voltage("AVCC", 2, 34, 34));
@@ -4712,12 +4713,14 @@ private static void GetNuvotonConfigurationD(ISuperIO superIO, Manufacturer manu
47124713
v.Add(new Voltage("Voltage #14", 13, true));
47134714
v.Add(new Voltage("Voltage #15", 14, true));
47144715
t.Add(new Temperature("CPU Core", 0));
4715-
t.Add(new Temperature("Temperature #1", 1));
4716-
t.Add(new Temperature("Temperature #2", 2));
4717-
t.Add(new Temperature("Temperature #3", 3));
4718-
t.Add(new Temperature("Temperature #4", 4));
4719-
t.Add(new Temperature("Temperature #5", 5));
4720-
t.Add(new Temperature("Temperature #6", 6));
4716+
t.Add(new Temperature("Temperature #1", 1)); // No matching temp value
4717+
t.Add(new Temperature("Motherboard", 2)); // Matches MB in HWinfo
4718+
t.Add(new Temperature("Temperature #3", 3)); // No matching temp value
4719+
t.Add(new Temperature("Temperature #4", 4)); // No matching temp value
4720+
t.Add(new Temperature("Temperature #5", 5)); // No matching temp value
4721+
t.Add(new Temperature("Temperature #6", 6)); // No matching temp value
4722+
t.Add(new Temperature("Temperature #7", 8)); // Matches MB in HWinfo
4723+
t.Add(new Temperature("CPU", 22)); // Matches MB in HWinfo
47214724
t.Add(new Temperature("T Sensor", 24));
47224725

47234726
for (int i = 0; i < superIO.Fans.Length; i++)

0 commit comments

Comments
 (0)