From ba59ab7e236b4a1acf0264f2e8de0d8c80f8aa1c Mon Sep 17 00:00:00 2001 From: Tellinq <59412384+Tellinq@users.noreply.github.com> Date: Sat, 15 Jun 2024 11:59:59 -0400 Subject: [PATCH] Add support for ASUS TUF Gaming X570-Plus (Wi-Fi) (#1362) * Add ASUS TUF X570-WiFi (as a test) * Add proper fan controls + attempt at proper temp detection * Update pull requests.yml * Remove non detected/wrong values * Remove the need of GitHub actions on my fork --- .../Hardware/Motherboard/Identification.cs | 2 ++ .../Hardware/Motherboard/Model.cs | 1 + .../Hardware/Motherboard/SuperIOHardware.cs | 31 +++++++++++++++++++ 3 files changed, 34 insertions(+) diff --git a/LibreHardwareMonitorLib/Hardware/Motherboard/Identification.cs b/LibreHardwareMonitorLib/Hardware/Motherboard/Identification.cs index 14b1f98..b7b872a 100644 --- a/LibreHardwareMonitorLib/Hardware/Motherboard/Identification.cs +++ b/LibreHardwareMonitorLib/Hardware/Motherboard/Identification.cs @@ -385,6 +385,8 @@ internal class Identification return Model.X570_AORUS_ULTRA; case var _ when name.Equals("X570 GAMING X", StringComparison.OrdinalIgnoreCase): return Model.X570_GAMING_X; + case var _ when name.Equals("TUF GAMING X570-PLUS (WI-FI)", StringComparison.OrdinalIgnoreCase): + return Model.TUF_GAMING_X570_PLUS_WIFI; case var _ when name.Equals("TUF GAMING B550M-PLUS (WI-FI)", StringComparison.OrdinalIgnoreCase): return Model.TUF_GAMING_B550M_PLUS_WIFI; case var _ when name.Equals("B360 AORUS GAMING 3 WIFI-CF", StringComparison.OrdinalIgnoreCase): diff --git a/LibreHardwareMonitorLib/Hardware/Motherboard/Model.cs b/LibreHardwareMonitorLib/Hardware/Motherboard/Model.cs index 6c65835..431208c 100644 --- a/LibreHardwareMonitorLib/Hardware/Motherboard/Model.cs +++ b/LibreHardwareMonitorLib/Hardware/Motherboard/Model.cs @@ -93,6 +93,7 @@ public enum Model Z170_A, B150M_C, B150M_C_D3, + TUF_GAMING_X570_PLUS_WIFI, TUF_GAMING_B550M_PLUS_WIFI, ROG_MAXIMUS_Z790_HERO, PRIME_Z690_A, diff --git a/LibreHardwareMonitorLib/Hardware/Motherboard/SuperIOHardware.cs b/LibreHardwareMonitorLib/Hardware/Motherboard/SuperIOHardware.cs index 651fbf4..3ee7bfb 100644 --- a/LibreHardwareMonitorLib/Hardware/Motherboard/SuperIOHardware.cs +++ b/LibreHardwareMonitorLib/Hardware/Motherboard/SuperIOHardware.cs @@ -2806,6 +2806,37 @@ internal sealed class SuperIOHardware : Hardware break; + case Model.TUF_GAMING_X570_PLUS_WIFI: //NCT6798D + v.Add(new Voltage("Vcore", 0)); + v.Add(new Voltage("+5V", 1, 4, 1)); + v.Add(new Voltage("AVSB", 2, 34, 34)); + v.Add(new Voltage("+3.3V", 3, 34, 34)); + v.Add(new Voltage("+12V", 4, 11, 1)); + v.Add(new Voltage("+3V Standby", 7, 34, 34)); + v.Add(new Voltage("CMOS Battery", 8, 34, 34)); + v.Add(new Voltage("VTT", 9)); + + t.Add(new Temperature("CPU", 22)); + t.Add(new Temperature("Motherboard", 2)); + t.Add(new Temperature("Chipset", 10)); + + f.Add(new Fan("CPU Fan", 1)); + f.Add(new Fan("CPU Optional Fan", 6)); + f.Add(new Fan("Chassis Fan #1", 0)); + f.Add(new Fan("Chassis Fan #2", 2)); + f.Add(new Fan("Chassis Fan #3", 3)); + f.Add(new Fan("Chipset Fan", 4)); + f.Add(new Fan("AIO Pump", 5)); + + c.Add(new Control("CPU Fan", 1)); + c.Add(new Control("CPU Optional Fan", 6)); + c.Add(new Control("Chassis Fan #1", 0)); + c.Add(new Control("Chassis Fan #2", 2)); + c.Add(new Control("Chassis Fan #3", 3)); + c.Add(new Control("Chipset Fan", 4)); + c.Add(new Control("AIO Pump", 5)); + + break; case Model.TUF_GAMING_B550M_PLUS_WIFI: //NCT6798D v.Add(new Voltage("Vcore", 0)); v.Add(new Voltage("Voltage #2", 1, true));