Skip to content

Commit e6e2b23

Browse files
papa12804PhyxionNL
andauthored
Add support for ASRock Z790 Nova WiFi. (#1278)
* Add support for ASRock Z790 Nova WiFi. * Correct the temperature source of motherboard. * Change the name of `T_SENSOR` to `External Temperature`. * Add "CPU System Agent" and "Vcore" under first SIO. Adjust the order of voltages. * Add `+5V Standby` voltage readings. * Update SuperIOHardware.cs * Update SuperIOHardware.cs * Update SuperIOHardware.cs --------- Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
1 parent f0681e1 commit e6e2b23

3 files changed

Lines changed: 56 additions & 2 deletions

File tree

LibreHardwareMonitorLib/Hardware/Motherboard/Identification.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,8 @@ public static Model GetModel(string name)
599599
return Model.X570_Gaming_Plus;
600600
case var _ when name.Equals("ROG MAXIMUS Z790 FORMULA", StringComparison.OrdinalIgnoreCase):
601601
return Model.ROG_MAXIMUS_Z790_FORMULA;
602+
case var _ when name.Equals("Z790 Nova WiFi", StringComparison.OrdinalIgnoreCase):
603+
return Model.Z790_Nova_WiFi;
602604
case var _ when name.Equals("ROG MAXIMUS XII HERO (WI-FI)", StringComparison.OrdinalIgnoreCase):
603605
return Model.ROG_MAXIMUS_XII_HERO_WIFI;
604606
case var _ when name.Equals("X870E AORUS PRO", StringComparison.OrdinalIgnoreCase):

LibreHardwareMonitorLib/Hardware/Motherboard/Model.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public enum Model
3939
Z790_Pro_RS,
4040
X570_Phantom_Gaming_4,
4141
Z790_Taichi,
42+
Z790_Nova_WiFi,
4243
B650M_C,
4344
H61M_DGS,
4445

LibreHardwareMonitorLib/Hardware/Motherboard/SuperIOHardware.cs

Lines changed: 53 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public SuperIOHardware(Motherboard motherboard, ISuperIO superIO, Manufacturer m
3636
GetBoardSpecificConfiguration(superIO,
3737
manufacturer,
3838
model,
39+
index,
3940
out IList<Voltage> v,
4041
out IList<Temperature> t,
4142
out IList<Fan> f,
@@ -181,6 +182,7 @@ private static void GetBoardSpecificConfiguration
181182
ISuperIO superIO,
182183
Manufacturer manufacturer,
183184
Model model,
185+
int superIOIndex,
184186
out IList<Voltage> v,
185187
out IList<Temperature> t,
186188
out IList<Fan> f,
@@ -353,7 +355,7 @@ private static void GetBoardSpecificConfiguration
353355
case Chip.NCT6798D:
354356
case Chip.NCT6799D:
355357
case Chip.NCT6683D:
356-
GetNuvotonConfigurationD(superIO, manufacturer, model, v, t, f, c);
358+
GetNuvotonConfigurationD(superIO, manufacturer, model, superIOIndex, v, t, f, c);
357359
break;
358360

359361
case Chip.NCT6686D:
@@ -2932,7 +2934,7 @@ private static void GetNuvotonConfigurationF(ISuperIO superIO, Manufacturer manu
29322934
}
29332935
}
29342936

2935-
private static void GetNuvotonConfigurationD(ISuperIO superIO, Manufacturer manufacturer, Model model, IList<Voltage> v, IList<Temperature> t, IList<Fan> f, IList<Control> c)
2937+
private static void GetNuvotonConfigurationD(ISuperIO superIO, Manufacturer manufacturer, Model model, int index, IList<Voltage> v, IList<Temperature> t, IList<Fan> f, IList<Control> c)
29362938
{
29372939
switch (manufacturer)
29382940
{
@@ -3312,6 +3314,55 @@ private static void GetNuvotonConfigurationD(ISuperIO superIO, Manufacturer manu
33123314
c.Add(new Control("Chassis Fan #3", 6));
33133315
break;
33143316

3317+
case Model.Z790_Nova_WiFi:
3318+
if (index != 0)
3319+
{
3320+
// second SIO
3321+
v.Add(new Voltage("1.05V CPU", 0));
3322+
v.Add(new Voltage("CPU I/O", 1));
3323+
v.Add(new Voltage("0.82V Chipset", 4));
3324+
v.Add(new Voltage("1.05V Chipset", 12, 5, 100));
3325+
3326+
f.Add(new Fan("VRM", 0));
3327+
f.Add(new Fan("MOS", 1));
3328+
3329+
c.Add(new Control("VRM", 0));
3330+
c.Add(new Control("MOS", 1));
3331+
}
3332+
else
3333+
{
3334+
v.Add(new Voltage("Vcore", 0));
3335+
v.Add(new Voltage("+5V", 1, 20, 10));
3336+
v.Add(new Voltage("+3.3V", 3, 34, 34));
3337+
v.Add(new Voltage("+12V", 4, 110, 10));
3338+
v.Add(new Voltage("CPU Input Auxiliary", 5, 1, 1));
3339+
v.Add(new Voltage("CPU System Agent", 13, 1, 1));
3340+
v.Add(new Voltage("+5V Standby", 14, 235, 100));
3341+
3342+
f.Add(new Fan("Chassis #3", 0));
3343+
f.Add(new Fan("CPU #1", 1));
3344+
f.Add(new Fan("CPU #2", 2));
3345+
f.Add(new Fan("Chassis #1", 3));
3346+
f.Add(new Fan("Chassis #2", 4));
3347+
f.Add(new Fan("Chassis #4", 5));
3348+
f.Add(new Fan("Chassis #5", 6));
3349+
3350+
c.Add(new Control("Chassis #3", 0));
3351+
c.Add(new Control("CPU #1", 1));
3352+
c.Add(new Control("CPU #2", 2));
3353+
c.Add(new Control("Chassis #1", 3));
3354+
c.Add(new Control("Chassis #2", 4));
3355+
c.Add(new Control("Chassis #4", 5));
3356+
c.Add(new Control("Chassis #5", 6));
3357+
3358+
t.Add(new Temperature("CPU Core", 0));
3359+
t.Add(new Temperature("Motherboard", 2));
3360+
t.Add(new Temperature("External #1", 3));
3361+
t.Add(new Temperature("External #2", 4));
3362+
t.Add(new Temperature("External #3", 5));
3363+
}
3364+
break;
3365+
33153366
case Model.B650M_C: // NCT6799D
33163367
v.Add(new Voltage("Vcore", 0));
33173368
v.Add(new Voltage("+12V", 1, 56, 10));

0 commit comments

Comments
 (0)