Skip to content

Commit 204da9d

Browse files
committed
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.
1 parent 06a36d7 commit 204da9d

3 files changed

Lines changed: 37 additions & 0 deletions

File tree

OpenHardwareMonitorLib/Hardware/Motherboard/Identification.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ public static Model GetModel(string name)
123123
return Model.B450_Pro4;
124124
case var _ when name.Equals("B450M Pro4", StringComparison.OrdinalIgnoreCase):
125125
return Model.B450M_Pro4;
126+
case var _ when name.Equals("B450M Pro4 R2.0", StringComparison.OrdinalIgnoreCase):
127+
return Model.B450M_Pro4_R2_0;
126128
case var _ when name.Equals("Fatal1ty AB350 Gaming K4", StringComparison.OrdinalIgnoreCase):
127129
return Model.Fatal1ty_AB350_Gaming_K4;
128130
case var _ when name.Equals("AB350M-HDV", StringComparison.OrdinalIgnoreCase):

OpenHardwareMonitorLib/Hardware/Motherboard/Model.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ public enum Model
1717
B450_Pro4,
1818
B450_Steel_Legend,
1919
B450M_Pro4,
20+
B450M_Pro4_R2_0,
2021
B450M_Steel_Legend,
2122
B85M_DGS,
2223
Fatal1ty_AB350_Gaming_K4,

OpenHardwareMonitorLib/Hardware/Motherboard/SuperIOHardware.cs

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3201,6 +3201,40 @@ private static void GetNuvotonConfigurationD(ISuperIO superIO, Manufacturer manu
32013201

32023202
break;
32033203

3204+
case Model.B450M_Pro4_R2_0:
3205+
v.Add(new Voltage("Vcore", 0, 10, 10));
3206+
//v.Add(new Voltage("#Unused #1", 1, 0, 1, 0, true));
3207+
v.Add(new Voltage("AVCC", 2, 10, 10));
3208+
v.Add(new Voltage("+3.3V", 3, 10, 10));
3209+
v.Add(new Voltage("+12V", 4, 28, 5));
3210+
v.Add(new Voltage("Vcore Refin", 5, 0, 1));
3211+
//v.Add(new Voltage("#Unused #6", 6, 0, 1, 0, true));
3212+
v.Add(new Voltage("+3V Standby", 7, 10, 10));
3213+
v.Add(new Voltage("CMOS Battery", 8, 34, 34));
3214+
//v.Add(new Voltage("#Unused #9", 9, 0, 1, 0, true));
3215+
//v.Add(new Voltage("#Unused #10", 10, 0, 1, 0, true));
3216+
v.Add(new Voltage("Chipset 1.05V", 11, 0, 1));
3217+
v.Add(new Voltage("+5V", 12, 20, 10));
3218+
//v.Add(new Voltage("#Unused #13", 13, 0, 1, 0, true));
3219+
v.Add(new Voltage("+1.8V", 14, 0, 1));
3220+
//t.Add(new Temperature("Temperature #1", 1));
3221+
t.Add(new Temperature("Motherboard", 2));
3222+
//t.Add(new Temperature("Temperature #3", 3));
3223+
//t.Add(new Temperature("Temperature #4", 4));
3224+
//t.Add(new Temperature("Temperature #5", 5));
3225+
f.Add(new Fan("Chassis #1", 0));
3226+
f.Add(new Fan("CPU Fan", 1));
3227+
f.Add(new Fan("Chassis #2", 2));
3228+
f.Add(new Fan("CPU Pump", 3));
3229+
f.Add(new Fan("Chassis #3", 4));
3230+
c.Add(new Control("Chassis #1", 0));
3231+
c.Add(new Control("CPU Fan", 1));
3232+
c.Add(new Control("Chassis #2", 2));
3233+
c.Add(new Control("CPU Pump", 3));
3234+
c.Add(new Control("Chassis #3", 4));
3235+
3236+
break;
3237+
32043238
case Model.X399_Phantom_Gaming_6: //NCT6779D
32053239
v.Add(new Voltage("Vcore", 0, 10, 10));
32063240
v.Add(new Voltage("Chipset 1.05V", 1, 0, 1));

0 commit comments

Comments
 (0)