Added experimental support for the ITE IT8620E chip (using the same implementation as for the ITE IT8772E).

This commit is contained in:
Michael Möller 2015-12-08 19:54:21 +01:00
parent 5dfad04b31
commit 9afb24db9d
5 changed files with 14 additions and 8 deletions

View File

@ -4,7 +4,7 @@
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (C) 2009-2013 Michael Möller <mmoeller@openhardwaremonitor.org>
Copyright (C) 2009-2015 Michael Möller <mmoeller@openhardwaremonitor.org>
*/
@ -25,6 +25,7 @@ namespace OpenHardwareMonitor.Hardware.LPC {
F71889F = 0x0723,
F71808E = 0x0901,
IT8620E = 0x8620,
IT8705F = 0x8705,
IT8712F = 0x8712,
IT8716F = 0x8716,
@ -70,6 +71,7 @@ namespace OpenHardwareMonitor.Hardware.LPC {
case Chip.F71889F: return "Fintek F71889F";
case Chip.F71808E: return "Fintek F71808E";
case Chip.IT8620E: return "ITE IT8620E";
case Chip.IT8705F: return "ITE IT8705F";
case Chip.IT8712F: return "ITE IT8712F";
case Chip.IT8716F: return "ITE IT8716F";

View File

@ -4,7 +4,7 @@
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (C) 2009-2012 Michael Möller <mmoeller@openhardwaremonitor.org>
Copyright (C) 2009-2015 Michael Möller <mmoeller@openhardwaremonitor.org>
*/
@ -143,9 +143,10 @@ namespace OpenHardwareMonitor.Hardware.LPC {
fans = new float?[chip == Chip.IT8705F ? 3 : 5];
controls = new float?[3];
// IT8721F, IT8728F and IT8772E use a 12mV resultion ADC, all others 16mV
if (chip == Chip.IT8721F || chip == Chip.IT8728F || chip == Chip.IT8771E
|| chip == Chip.IT8772E)
// IT8620E, IT8721F, IT8728F and IT8772E use a 12mV resultion ADC,
// all others 16mV
if (chip == Chip.IT8620E || chip == Chip.IT8721F || chip == Chip.IT8728F
|| chip == Chip.IT8771E || chip == Chip.IT8772E)
{
voltageGain = 0.012f;
} else {
@ -173,6 +174,7 @@ namespace OpenHardwareMonitor.Hardware.LPC {
case Chip.IT8721F:
gpioCount = 8;
break;
case Chip.IT8620E:
case Chip.IT8705F:
case Chip.IT8728F:
case Chip.IT8771E:

View File

@ -331,6 +331,7 @@ namespace OpenHardwareMonitor.Hardware.LPC {
ushort chipID = port.ReadWord(CHIP_ID_REGISTER);
Chip chip;
switch (chipID) {
case 0x8620: chip = Chip.IT8620E; break;
case 0x8705: chip = Chip.IT8705F; break;
case 0x8712: chip = Chip.IT8712F; break;
case 0x8716: chip = Chip.IT8716F; break;

View File

@ -4,7 +4,7 @@
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (C) 2009-2014 Michael Möller <mmoeller@openhardwaremonitor.org>
Copyright (C) 2009-2015 Michael Möller <mmoeller@openhardwaremonitor.org>
*/
@ -186,6 +186,7 @@ namespace OpenHardwareMonitor.Hardware.Mainboard {
ref readFan, ref postUpdate, ref mutex);
break;
case Chip.IT8620E:
case Chip.IT8721F:
case Chip.IT8728F:
case Chip.IT8771E:

View File

@ -10,5 +10,5 @@
using System.Reflection;
[assembly: AssemblyVersion("0.7.1.1")]
[assembly: AssemblyInformationalVersion("0.7.1.1 Alpha")]
[assembly: AssemblyVersion("0.7.1.2")]
[assembly: AssemblyInformationalVersion("0.7.1.2 Alpha")]