Skip to content

Commit

Permalink
Add Gigabyte 970A-DS3P (and FX rev 2.1 model) support (LibreHardwareM…
Browse files Browse the repository at this point in the history
…onitor#1363)

* Add Gigabyte 970A-DS3P (and FX rev 2.1 model)

* Fix CMOS Battery calculation

As well as use a more appropriate name
  • Loading branch information
Tellinq authored Jun 16, 2024
1 parent ba59ab7 commit 905b2a4
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,9 @@ public static Model GetModel(string name)
return Model.G41MT_S2;
case var _ when name.Equals("G41MT-S2P", StringComparison.OrdinalIgnoreCase):
return Model.G41MT_S2P;
case var _ when name.Equals("970A-DS3P", StringComparison.OrdinalIgnoreCase):
case var _ when name.Equals("970A-DS3P FX", StringComparison.OrdinalIgnoreCase):
return Model._970A_DS3P;
case var _ when name.Equals("GA-970A-UD3", StringComparison.OrdinalIgnoreCase):
return Model._970A_UD3;
case var _ when name.Equals("GA-MA770T-UD3", StringComparison.OrdinalIgnoreCase):
Expand Down
1 change: 1 addition & 0 deletions LibreHardwareMonitorLib/Hardware/Motherboard/Model.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ public enum Model

// Gigabyte
_965P_S3,
_970A_DS3P,
_970A_UD3,
AB350_Gaming_3,
AX370_Gaming_5,
Expand Down
21 changes: 21 additions & 0 deletions LibreHardwareMonitorLib/Hardware/Motherboard/SuperIOHardware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1214,6 +1214,27 @@ private static void GetIteConfigurationsB(ISuperIO superIO, Manufacturer manufac

break;

case Model._970A_DS3P: // IT8620E
v.Add(new Voltage("Vcore", 0));
v.Add(new Voltage("DIMM", 1));
v.Add(new Voltage("+12V", 2, 5, 1));
v.Add(new Voltage("+5V", 3, 1.5f, 1));
v.Add(new Voltage("+3.3V", 4, 6.5f, 10));
v.Add(new Voltage("+3V Standby", 7, 10, 10));
v.Add(new Voltage("CMOS Battery", 8, 10, 10));
t.Add(new Temperature("System", 0));
t.Add(new Temperature("CPU Package", 1));
t.Add(new Temperature("CPU Cores", 2));
f.Add(new Fan("CPU Fan", 0));
f.Add(new Fan("System Fan #1", 1));
f.Add(new Fan("System Fan #2", 2));
f.Add(new Fan("Power Fan", 4));
c.Add(new Control("CPU Fan", 0));
c.Add(new Control("System Fan #1", 1));
c.Add(new Control("System Fan #2", 2));

break;

case Model.H81M_HD3: //IT8620E
v.Add(new Voltage("Vcore", 0));
v.Add(new Voltage("Voltage #2", 1, true));
Expand Down

0 comments on commit 905b2a4

Please sign in to comment.