From 0a8923a998da64d843e0109b54f86a7a9f23d69d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=B6ller?= Date: Thu, 13 Feb 2020 22:33:35 +0100 Subject: [PATCH] Added an experimental fix for secondary ITE chips. --- Hardware/LPC/LPCPort.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Hardware/LPC/LPCPort.cs b/Hardware/LPC/LPCPort.cs index e8cadea..e80cf4d 100644 --- a/Hardware/LPC/LPCPort.cs +++ b/Hardware/LPC/LPCPort.cs @@ -90,8 +90,11 @@ namespace OpenHardwareMonitor.Hardware.LPC { } public void IT87Exit() { - Ring0.WriteIoPort(registerPort, CONFIGURATION_CONTROL_REGISTER); - Ring0.WriteIoPort(valuePort, 0x02); + // do not exit config mode for secondary super IO + if (registerPort != 0x4E) { + Ring0.WriteIoPort(registerPort, CONFIGURATION_CONTROL_REGISTER); + Ring0.WriteIoPort(valuePort, 0x02); + } } public void SMSCEnter() {