diff --git a/Changelog.md b/Changelog.md index 26e34a2a..fff61894 100644 --- a/Changelog.md +++ b/Changelog.md @@ -5,6 +5,7 @@ WhateverGreen Changelog - Added the backlight smoother submodule that makes brightness transitions smoother on Intel IVB+ platforms. (by @0xFireWolf) - MMIO Register Access submodules are now available on Intel IVB+ platforms. (by @0xFireWolf) - Improved ASUS-made AMD R9 380 GPU identification +- Fixed `applbkl` property with `<00 00 00 00>` value failing to disable backlight patches - *Note:* This release requires Lilu v1.5.6 or later. #### v1.5.2 diff --git a/WhateverGreen/kern_weg.cpp b/WhateverGreen/kern_weg.cpp index b9056620..ff99f15e 100644 --- a/WhateverGreen/kern_weg.cpp +++ b/WhateverGreen/kern_weg.cpp @@ -242,7 +242,8 @@ void WEG::processKernel(KernelPatcher &patcher) { } // Note, disabled Optimus will make videoExternal 0, so this case checks for active IGPU only. - if (appleBacklightPatch == APPLBKL_DETECT && (devInfo->videoBuiltin == nullptr || extNum > 0)) { + DBGLOG("weg", "resulting applbkl value is %d", appleBacklightPatch); + if (appleBacklightPatch == APPLBKL_OFF || (appleBacklightPatch == APPLBKL_DETECT && (devInfo->videoBuiltin == nullptr || extNum > 0))) { // Either a builtin IGPU is not available, or some external GPU is available. kextBacklight.switchOff(); }