From ae0f0808b227d6ed3f455ee2dbb05ff861466a4d Mon Sep 17 00:00:00 2001 From: mirko93s <21228368+mirko93s@users.noreply.github.com> Date: Mon, 23 Jun 2025 11:33:45 +0200 Subject: [PATCH] Add support for Asrock B450M Pro4 R2.0 (#1730) * Add support for Asrock B450M Pro4 R2.0 * fixed indexes Voltages are taken from the R1.0 board, since they all match up even tho some of them aren't shown in any other place (bios or other hw monitoring softwares), but I assume they are correct. Temperatures differ from the R1.0 ones, with only the motherboard one being correct while the other temperatures don't increase by much, or at all, even udner heavy load. --- .../Hardware/Motherboard/Identification.cs | 2 ++ .../Hardware/Motherboard/Model.cs | 1 + .../Hardware/Motherboard/SuperIOHardware.cs | 34 +++++++++++++++++++ 3 files changed, 37 insertions(+) diff --git a/LibreHardwareMonitorLib/Hardware/Motherboard/Identification.cs b/LibreHardwareMonitorLib/Hardware/Motherboard/Identification.cs index 7f2c35d..43448c3 100755 --- a/LibreHardwareMonitorLib/Hardware/Motherboard/Identification.cs +++ b/LibreHardwareMonitorLib/Hardware/Motherboard/Identification.cs @@ -129,6 +129,8 @@ internal class Identification return Model.B450_Pro4; case var _ when name.Equals("B450M Pro4", StringComparison.OrdinalIgnoreCase): return Model.B450M_Pro4; + case var _ when name.Equals("B450M Pro4 R2.0", StringComparison.OrdinalIgnoreCase): + return Model.B450M_Pro4_R2_0; case var _ when name.Equals("Fatal1ty AB350 Gaming K4", StringComparison.OrdinalIgnoreCase): return Model.Fatal1ty_AB350_Gaming_K4; case var _ when name.Equals("AB350M-HDV", StringComparison.OrdinalIgnoreCase): diff --git a/LibreHardwareMonitorLib/Hardware/Motherboard/Model.cs b/LibreHardwareMonitorLib/Hardware/Motherboard/Model.cs index 3946dbd..c466692 100755 --- a/LibreHardwareMonitorLib/Hardware/Motherboard/Model.cs +++ b/LibreHardwareMonitorLib/Hardware/Motherboard/Model.cs @@ -25,6 +25,7 @@ public enum Model B450_Pro4, B450_Steel_Legend, B450M_Pro4, + B450M_Pro4_R2_0, B450M_Steel_Legend, B85M_DGS, Fatal1ty_AB350_Gaming_K4, diff --git a/LibreHardwareMonitorLib/Hardware/Motherboard/SuperIOHardware.cs b/LibreHardwareMonitorLib/Hardware/Motherboard/SuperIOHardware.cs index eb12fce..54809aa 100755 --- a/LibreHardwareMonitorLib/Hardware/Motherboard/SuperIOHardware.cs +++ b/LibreHardwareMonitorLib/Hardware/Motherboard/SuperIOHardware.cs @@ -3207,6 +3207,40 @@ internal sealed class SuperIOHardware : Hardware break; + case Model.B450M_Pro4_R2_0: + v.Add(new Voltage("Vcore", 0, 10, 10)); + //v.Add(new Voltage("#Unused #1", 1, 0, 1, 0, true)); + v.Add(new Voltage("AVCC", 2, 10, 10)); + v.Add(new Voltage("+3.3V", 3, 10, 10)); + v.Add(new Voltage("+12V", 4, 28, 5)); + v.Add(new Voltage("Vcore Refin", 5, 0, 1)); + //v.Add(new Voltage("#Unused #6", 6, 0, 1, 0, true)); + v.Add(new Voltage("+3V Standby", 7, 10, 10)); + v.Add(new Voltage("CMOS Battery", 8, 34, 34)); + //v.Add(new Voltage("#Unused #9", 9, 0, 1, 0, true)); + //v.Add(new Voltage("#Unused #10", 10, 0, 1, 0, true)); + v.Add(new Voltage("Chipset 1.05V", 11, 0, 1)); + v.Add(new Voltage("+5V", 12, 20, 10)); + //v.Add(new Voltage("#Unused #13", 13, 0, 1, 0, true)); + v.Add(new Voltage("+1.8V", 14, 0, 1)); + //t.Add(new Temperature("Temperature #1", 1)); + t.Add(new Temperature("Motherboard", 2)); + //t.Add(new Temperature("Temperature #3", 3)); + //t.Add(new Temperature("Temperature #4", 4)); + //t.Add(new Temperature("Temperature #5", 5)); + f.Add(new Fan("Chassis #1", 0)); + f.Add(new Fan("CPU Fan", 1)); + f.Add(new Fan("Chassis #2", 2)); + f.Add(new Fan("CPU Pump", 3)); + f.Add(new Fan("Chassis #3", 4)); + c.Add(new Control("Chassis #1", 0)); + c.Add(new Control("CPU Fan", 1)); + c.Add(new Control("Chassis #2", 2)); + c.Add(new Control("CPU Pump", 3)); + c.Add(new Control("Chassis #3", 4)); + + break; + case Model.X399_Phantom_Gaming_6: //NCT6779D v.Add(new Voltage("Vcore", 0, 10, 10)); v.Add(new Voltage("Chipset 1.05V", 1, 0, 1));