Added first experimental support for the IT8728F super I/O chip.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
The Initial Developer of the Original Code is
|
||||
Michael Möller <m.moeller@gmx.ch>.
|
||||
Portions created by the Initial Developer are Copyright (C) 2009-2010
|
||||
Portions created by the Initial Developer are Copyright (C) 2009-2011
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
@@ -46,7 +46,7 @@ namespace OpenHardwareMonitor.Hardware {
|
||||
StringSplitOptions.RemoveEmptyEntries);
|
||||
|
||||
foreach (string line in lines) {
|
||||
string[] array = line.Split(new[] { ' ' },
|
||||
string[] array = line.Split(new[] { ' ', '\t' },
|
||||
StringSplitOptions.RemoveEmptyEntries);
|
||||
if (array.Length == 0)
|
||||
continue;
|
||||
|
||||
@@ -55,6 +55,7 @@ namespace OpenHardwareMonitor.Hardware.LPC {
|
||||
IT8720F = 0x8720,
|
||||
IT8721F = 0x8721,
|
||||
IT8726F = 0x8726,
|
||||
IT8728F = 0x8728,
|
||||
|
||||
NCT6771F = 0xB470,
|
||||
NCT6776F = 0xC330,
|
||||
@@ -86,10 +87,11 @@ namespace OpenHardwareMonitor.Hardware.LPC {
|
||||
|
||||
case Chip.IT8712F: return "ITE IT8712F";
|
||||
case Chip.IT8716F: return "ITE IT8716F";
|
||||
case Chip.IT8718F: return "ITE IT8718F";
|
||||
case Chip.IT8721F: return "ITE IT8721F";
|
||||
case Chip.IT8718F: return "ITE IT8718F";
|
||||
case Chip.IT8720F: return "ITE IT8720F";
|
||||
case Chip.IT8721F: return "ITE IT8721F";
|
||||
case Chip.IT8726F: return "ITE IT8726F";
|
||||
case Chip.IT8728F: return "ITE IT8728F";
|
||||
|
||||
case Chip.NCT6771F: return "Nuvoton NCT6771F";
|
||||
case Chip.NCT6776F: return "Nuvoton NCT6776F";
|
||||
|
||||
@@ -129,7 +129,7 @@ namespace OpenHardwareMonitor.Hardware.LPC {
|
||||
fans = new float?[5];
|
||||
|
||||
// The IT8721F uses a 12mV resultion ADC, all others 16mV
|
||||
if (chip == Chip.IT8721F) {
|
||||
if (chip == Chip.IT8721F || chip == Chip.IT8728F) {
|
||||
voltageGain = 0.012f;
|
||||
} else {
|
||||
voltageGain = 0.016f;
|
||||
@@ -154,6 +154,9 @@ namespace OpenHardwareMonitor.Hardware.LPC {
|
||||
case Chip.IT8721F:
|
||||
gpioCount = 8;
|
||||
break;
|
||||
case Chip.IT8728F:
|
||||
gpioCount = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -355,6 +355,7 @@ namespace OpenHardwareMonitor.Hardware.LPC {
|
||||
case 0x8720: chip = Chip.IT8720F; break;
|
||||
case 0x8721: chip = Chip.IT8721F; break;
|
||||
case 0x8726: chip = Chip.IT8726F; break;
|
||||
case 0x8728: chip = Chip.IT8728F; break;
|
||||
default: chip = Chip.Unknown; break;
|
||||
}
|
||||
if (chip == Chip.Unknown) {
|
||||
|
||||
@@ -425,6 +425,7 @@ namespace OpenHardwareMonitor.Hardware.Mainboard {
|
||||
break;
|
||||
|
||||
case Chip.IT8721F:
|
||||
case Chip.IT8728F:
|
||||
switch (manufacturer) {
|
||||
case Manufacturer.ECS:
|
||||
switch (model) {
|
||||
@@ -464,7 +465,7 @@ namespace OpenHardwareMonitor.Hardware.Mainboard {
|
||||
v.Add(new Voltage("Voltage #1", 0, true));
|
||||
v.Add(new Voltage("Voltage #2", 1, true));
|
||||
v.Add(new Voltage("Voltage #3", 2, true));
|
||||
v.Add(new Voltage("Analog +3.3V", 3, 10, 10, 0, true));
|
||||
v.Add(new Voltage("Voltage #4", 3, true));
|
||||
v.Add(new Voltage("Voltage #5", 4, true));
|
||||
v.Add(new Voltage("Voltage #6", 5, true));
|
||||
v.Add(new Voltage("Voltage #7", 6, true));
|
||||
|
||||
@@ -37,5 +37,5 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("0.3.0.1")]
|
||||
[assembly: AssemblyInformationalVersion("0.3.0.1 Alpha")]
|
||||
[assembly: AssemblyVersion("0.3.0.2")]
|
||||
[assembly: AssemblyInformationalVersion("0.3.0.2 Alpha")]
|
||||
Reference in New Issue
Block a user