Skip to content

Commit c23dea3

Browse files
committed
Add MSI controller for AIOs
Fan RPM read, thermal sensor & fan control
1 parent 2b94bd4 commit c23dea3

10 files changed

Lines changed: 701 additions & 0 deletions

File tree

OpenHardwareMonitorLib/Hardware/Computer.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
using OpenHardwareMonitor.Hardware.Controller.AquaComputer;
99
using OpenHardwareMonitor.Hardware.Controller.Heatmaster;
1010
using OpenHardwareMonitor.Hardware.Controller.Arctic;
11+
using OpenHardwareMonitor.Hardware.Controller.MSI;
1112
using OpenHardwareMonitor.Hardware.Controller.Nzxt;
1213
using OpenHardwareMonitor.Hardware.Controller.Razer;
1314
using OpenHardwareMonitor.Hardware.Controller.TBalancer;
@@ -123,6 +124,7 @@ public bool IsControllerEnabled
123124
Add(new NzxtGroup(_settings));
124125
Add(new RazerGroup(_settings));
125126
Add(new ArcticGroup(_settings));
127+
Add(new MsiGroup(_settings));
126128
}
127129
else
128130
{
@@ -133,6 +135,7 @@ public bool IsControllerEnabled
133135
RemoveType<NzxtGroup>();
134136
RemoveType<RazerGroup>();
135137
RemoveType<ArcticGroup>();
138+
RemoveType<MsiGroup>();
136139
}
137140
}
138141

@@ -548,6 +551,7 @@ private void AddGroups()
548551
Add(new NzxtGroup(_settings));
549552
Add(new RazerGroup(_settings));
550553
Add(new ArcticGroup(_settings));
554+
Add(new MsiGroup(_settings));
551555
}
552556

553557
if (_storageEnabled)
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
using System.Collections.Generic;
2+
3+
namespace OpenHardwareMonitor.Hardware.Controller.MSI;
4+
5+
internal static class MsiConstants
6+
{
7+
public static readonly IReadOnlyList<MsiDevice> SupportedDevices = new List<MsiDevice>
8+
{
9+
new MsiDevice(MsiDeviceType.S280, 0x0DB0, 0x75B6, 0x6A04),
10+
new MsiDevice(MsiDeviceType.S360, 0x0DB0, 0x9BA6, 0x6A05),
11+
new MsiDevice(MsiDeviceType.S360MEG, 0x1462, 0x9BA6, 0x6A05),
12+
new MsiDevice(MsiDeviceType.X360, 0x0DB0, 0x5259, 0x6A11),
13+
new MsiDevice(MsiDeviceType.X240, 0x0DB0, 0xC7B2, 0x6A10),
14+
new MsiDevice(MsiDeviceType.D360, 0x0DB0, 0x8DBF, 0x6A15),
15+
new MsiDevice(MsiDeviceType.D240, 0x0DB0, 0xD085, 0x6A16),
16+
};
17+
}

0 commit comments

Comments
 (0)