Skip to content

Commit fe15add

Browse files
committed
Add JAF Fan for Godlike Max & fix Pump Fan 2
Update JAF Fan name according to MSI doc.
1 parent be69f79 commit fe15add

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

OpenHardwareMonitorLib/Hardware/Motherboard/Lpc/Nct677X.cs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ public Nct677X(LpcPort lpcPort, Chip chip, byte revision, ushort port)
394394
case Chip.NCT6683D:
395395
case Chip.NCT6686D:
396396
case Chip.NCT6687D:
397-
Fans = new float?[18];
397+
Fans = new float?[17];
398398
Controls = new float?[8];
399399
Voltages = new float?[14];
400400
Temperatures = new float?[11];
@@ -449,18 +449,17 @@ public Nct677X(LpcPort lpcPort, Chip chip, byte revision, ushort port)
449449
// SYS Fan 4 on some older NCT6687Ds
450450
// SYS Fan 5 on some older NCT6687Ds
451451
// SYS Fan 6 on some older NCT6687Ds
452-
// SYS Fan 6 on newer NCT6687Ds
453-
// SYS Fan 5 on newer NCT6687Ds
452+
// SYS Fan 6 on newer NCT6687Ds - PUMP Fan 2 on some NCT6687Ds (e.g. Z790 GODLIKE MAX)
453+
// SYS Fan 5 on newer NCT6687Ds - EZ-Connect Fan 1 (JAF) on some NCT6687Ds (e.g. Z790 GODLIKE MAX)
454454
// SYS Fan 4 on newer NCT6687Ds
455455
// SYS Fan 3 on newer NCT6687Ds
456456
// SYS Fan 2 on newer NCT6687Ds
457457
// SYS Fan 1 on newer NCT6687Ds
458-
// PUMP Fan 2 on some NCT6687Ds - 0x850 (e.g. Z790 GODLIKE MAX)
459458
// SYS Fan 7 on some NCT6687Ds - 0x852 (e.g. Z790 GODLIKE MAX)
460-
_fanRpmRegister = [0x140, 0x142, 0x144, 0x146, 0x148, 0x14A, 0x14C, 0x14E, 0x150, 0x152, 0x154, 0x156, 0x158, 0x15A, 0x15C, 0x15E, 0x850, 0x852];
459+
_fanRpmRegister = [0x140, 0x142, 0x144, 0x146, 0x148, 0x14A, 0x14C, 0x14E, 0x150, 0x152, 0x154, 0x156, 0x158, 0x15A, 0x15C, 0x15E, 0x852];
461460

462-
// On some boards, there will be PUMP Fan 2 and SYS Fan 7 (e.g. MSI MEG Z790 GODLIKE MAX)
463-
_fanCountRegister = [0x850, 0x852];
461+
// On some boards, there will be SYS Fan 7 (e.g. MSI MEG Z790 GODLIKE MAX)
462+
_fanCountRegister = [0x852];
464463

465464
// max value for 13-bit fan counter
466465
_maxFanCount = 0x1FFF;

OpenHardwareMonitorLib/Hardware/Motherboard/SuperIOHardware.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -558,14 +558,15 @@ private static void GetBoardSpecificConfiguration
558558

559559
f.Add(new Fan("CPU Fan", 0));
560560
f.Add(new Fan("Pump Fan #1", 1));
561-
f.Add(new Fan("Pump Fan #2", 16));
561+
f.Add(new Fan("Pump Fan #2", 8));
562562
f.Add(new Fan("System Fan #1", 2));
563563
f.Add(new Fan("System Fan #2", 3));
564564
f.Add(new Fan("System Fan #3", 4));
565565
f.Add(new Fan("System Fan #4", 5));
566566
f.Add(new Fan("System Fan #5", 6));
567567
f.Add(new Fan("System Fan #6", 7));
568-
f.Add(new Fan("System Fan #7", 17));
568+
f.Add(new Fan("System Fan #7", 16));
569+
f.Add(new Fan("EZ-Connect Fan", 9));
569570

570571
c.Add(new Control("CPU Fan", 0));
571572
c.Add(new Control("Pump Fan #1", 1));

0 commit comments

Comments
 (0)