Skip to content

Commit f6a877e

Browse files
committed
Added support for Lenovo V50t Gen 2. (#1897)
1 parent a37ae5e commit f6a877e

4 files changed

Lines changed: 13 additions & 1 deletion

File tree

OpenHardwareMonitorLib/Hardware/Motherboard/Lpc/Chip.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ internal enum Chip : ushort
2626
IT8625E = 0x8625,
2727
IT8628E = 0x8628,
2828
IT8631E = 0x8631,
29+
IT8638E = 0x8638,
2930
IT8655E = 0x8655,
3031
IT8665E = 0x8665,
3132
IT8686E = 0x8686,
@@ -101,6 +102,7 @@ public static string GetName(Chip chip)
101102
case Chip.IT8625E: return "ITE IT8625E";
102103
case Chip.IT8628E: return "ITE IT8628E";
103104
case Chip.IT8631E: return "ITE IT8631E";
105+
case Chip.IT8638E: return "ITE IT8638E";
104106
case Chip.IT8655E: return "ITE IT8655E";
105107
case Chip.IT8665E: return "ITE IT8665E";
106108
case Chip.IT8686E: return "ITE IT8686E";

OpenHardwareMonitorLib/Hardware/Motherboard/Lpc/IT87XX.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ Chip.IT8613E or
9393
Chip.IT8792E or
9494
Chip.IT8655E or
9595
Chip.IT8631E or
96+
Chip.IT8638E or
9697
Chip.IT8696E;
9798

9899
switch (chip)
@@ -124,6 +125,13 @@ Chip.IT8631E or
124125
Controls = new float?[2];
125126
break;
126127

128+
case Chip.IT8638E:
129+
Voltages = new float?[9];
130+
Temperatures = new float?[2];
131+
Fans = new float?[2];
132+
Controls = new float?[2];
133+
break;
134+
127135
case Chip.IT8665E:
128136
Voltages = new float?[9];
129137
Temperatures = new float?[6];
@@ -210,7 +218,7 @@ Chip.IT8631E or
210218
// Conflicting reports on IT8792E: either 0.0109 in linux drivers or 0.011 comparing with Gigabyte board & SIV SW.
211219
_voltageGain = chip switch
212220
{
213-
Chip.IT8613E or Chip.IT8620E or Chip.IT8628E or Chip.IT8631E or Chip.IT8721F or Chip.IT8728F or Chip.IT8771E or Chip.IT8772E or Chip.IT8686E or Chip.IT8688E or Chip.IT8689E or Chip.IT8696E => 0.012f,
221+
Chip.IT8613E or Chip.IT8620E or Chip.IT8628E or Chip.IT8631E or Chip.IT8638E or Chip.IT8721F or Chip.IT8728F or Chip.IT8771E or Chip.IT8772E or Chip.IT8686E or Chip.IT8688E or Chip.IT8689E or Chip.IT8696E => 0.012f,
214222
Chip.IT8625E or Chip.IT8792E or Chip.IT87952E => 0.011f,
215223
Chip.IT8655E or Chip.IT8665E => 0.0109f,
216224
_ => 0.016f

OpenHardwareMonitorLib/Hardware/Motherboard/Lpc/LpcIO.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,7 @@ private bool DetectIT87(LpcPort port, Motherboard motherboard)
580580
0x8625 => Chip.IT8625E,
581581
0x8628 => Chip.IT8628E,
582582
0x8631 => Chip.IT8631E,
583+
0x8638 => Chip.IT8638E,
583584
0x8665 => Chip.IT8665E,
584585
0x8655 => Chip.IT8655E,
585586
0x8686 => Chip.IT8686E,

OpenHardwareMonitorLib/Hardware/Motherboard/SuperIOHardware.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ private static void GetBoardSpecificConfiguration
216216
case Chip.IT8625E:
217217
case Chip.IT8628E:
218218
case Chip.IT8631E:
219+
case Chip.IT8638E:
219220
case Chip.IT8655E:
220221
case Chip.IT8665E:
221222
case Chip.IT8686E:

0 commit comments

Comments
 (0)