Skip to content

Commit ae0f080

Browse files
authored
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.
1 parent 5027bd9 commit ae0f080

3 files changed

Lines changed: 37 additions & 0 deletions

File tree

LibreHardwareMonitorLib/Hardware/Motherboard/Identification.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ public static Model GetModel(string name)
129129
return Model.B450_Pro4;
130130
case var _ when name.Equals("B450M Pro4", StringComparison.OrdinalIgnoreCase):
131131
return Model.B450M_Pro4;
132+
case var _ when name.Equals("B450M Pro4 R2.0", StringComparison.OrdinalIgnoreCase):
133+
return Model.B450M_Pro4_R2_0;
132134
case var _ when name.Equals("Fatal1ty AB350 Gaming K4", StringComparison.OrdinalIgnoreCase):
133135
return Model.Fatal1ty_AB350_Gaming_K4;
134136
case var _ when name.Equals("AB350M-HDV", StringComparison.OrdinalIgnoreCase):

LibreHardwareMonitorLib/Hardware/Motherboard/Model.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public enum Model
2525
B450_Pro4,
2626
B450_Steel_Legend,
2727
B450M_Pro4,
28+
B450M_Pro4_R2_0,
2829
B450M_Steel_Legend,
2930
B85M_DGS,
3031
Fatal1ty_AB350_Gaming_K4,

LibreHardwareMonitorLib/Hardware/Motherboard/SuperIOHardware.cs

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

32083208
break;
32093209

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

0 commit comments

Comments
 (0)