From a883d4722d0de8f0ffc2c54d88b4877ce9c04aca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=B6ller?= Date: Sat, 14 May 2011 13:26:09 +0000 Subject: [PATCH] Fixed the ATI GPU fan control. The settings now restore correctly to default settings (previously the "manual mode" was kept on some systems). --- Hardware/ATI/ATIGPU.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Hardware/ATI/ATIGPU.cs b/Hardware/ATI/ATIGPU.cs index 11c8226..5a2154f 100644 --- a/Hardware/ATI/ATIGPU.cs +++ b/Hardware/ATI/ATIGPU.cs @@ -106,6 +106,9 @@ namespace OpenHardwareMonitor.Hardware.ATI { if (restoreDefaultFanSpeedRequired) { ADL.ADL_Overdrive5_FanSpeed_Set(adapterIndex, 0, ref this.initialFanSpeedValue); + if ((initialFanSpeedValue.Flags & + ADL.ADL_DL_FANCTRL_FLAG_USER_DEFINED_SPEED) == 0) + ADL.ADL_Overdrive5_FanSpeedToDefault_Set(adapterIndex, 0); restoreDefaultFanSpeedRequired = false; } }