Contribute
Register

[Guide] Laptop backlight control using AppleBacklightFixup.kext

Joined
May 1, 2013
Messages
20
Motherboard
HP Envy 15T K200
CPU
4th Gen. Intel Quad Core i7-4720HQ Processor 2.6GHz
Graphics
Integrated Intel HD Graphics 4600
No such thing as user/bin. It is /usr/bin.
It is directory. A folder is the same as a directory. (note: /usr/bin is not hidden on my system).
If you followed the HP Envy guide, you should already have iasl in /usr/bin, as it is downloaded by download.sh and placed there by install_downloads.sh.

I already explained how you can copy iasl61 from MaciASL.app to /usr/bin. Read post #18.

You can check that you have iasl installed correctly by:
Code:
ls -l /usr/bin/iasl

Should show:
Code:
[email protected] 1 root  wheel  1067924 Dec  8 17:56 /usr/bin/iasl

And:
Code:
which iasl

Should show:
Code:
/usr/bin/iasl

And:
Code:
iasl -v

Should show:
Code:
Intel ACPI Component Architecture
ASL+ Optimizing Compiler version 20160422-64(RM)
Copyright (c) 2000 - 2016 Intel Corporation

I am not certain why the necessary files no longer exist from having completed the HP Envy guide for my Sierra install. And your absolutely right, I was mistakenly typing user for usr which I know makes it difficult/confusing in trying to decipher my post. I have Parkinson's disease and often times as typing becomes difficult, I type with one hand, loose accuracy and make unnecessary mistakes. At any rate thank you.

PS. Wouldn't you know it with all that effort control wise for me this patch is not providing any control brightness wise whatsoever. Almost certain that the HP Envy guide always used the IntelBacklight.kext exclusively and I do not believe that another patch exist that would be defeating this one. Oh well.
 
Last edited:
Joined
Mar 28, 2017
Messages
9
Motherboard
HM170
CPU
i7-6700HQ
Graphics
HD530 + NVIDIA970
Mobile Phone
  1. Android
I follow the request
1. Clover added SSDT-PNLF.aml;
2. AppleBacklightInjector.kext in /Library/Extensions;
3. Add the KextsToPatch patch to config.plist.
But I have no brightness.
Will the need to put IntelBacklight.kext in Clover/kexts? I tried and found a scroll bar still can not adjust the brightness.
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,775
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
PS. Wouldn't you know it with all that effort control wise for me this patch is not providing any control brightness wise whatsoever. Almost certain that the HP Envy guide always used the IntelBacklight.kext exclusively and I do not believe that another patch exist that would be defeating this one. Oh well.

Read post #1 "Problem Reporting".
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,775
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
I follow the request
1. Clover added SSDT-PNLF.aml;
2. AppleBacklightInjector.kext in /Library/Extensions;
3. Add the KextsToPatch patch to config.plist.
But I have no brightness.
Will the need to put IntelBacklight.kext in Clover/kexts? I tried and found a scroll bar still can not adjust the brightness.

Read post #1, "Problem Reporting".
 
Joined
Mar 28, 2017
Messages
9
Motherboard
HM170
CPU
i7-6700HQ
Graphics
HD530 + NVIDIA970
Mobile Phone
  1. Android
Read post #1, "Problem Reporting".
I re-confirmed it once. According to the tutorial I have no problem.
I have added
Code:
change GFX0 to IGPU
and Brightness Fix
After deleting AppleBacklightInjector.kext only I will appear with the brightness scroll bar. But he can only adjust the brightest and darkest.
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,775
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
I re-confirmed it once. According to the tutorial I have no problem.
I have added
Code:
change GFX0 to IGPU
and Brightness Fix
After deleting AppleBacklightInjector.kext only I will appear with the brightness scroll bar. But he can only adjust the brightest and darkest.

AppleBacklightInjector.kext is required.
There should be no other "Brightness Fix"/PNLF patch (it is done by SSDT-PNLF.aml).
Read post #1 carefully.
If you have an issue, attach files as per post #1, "Problem Reporting".
 
Joined
Apr 6, 2015
Messages
10
Motherboard
HP 14-n040br (Clover)
CPU
Intel Core i5 4200U (Haswell)
Graphics
Intel Graphics HD 4400, AMD Radeon 8670M
Mobile Phone
  1. iOS
You have a conflicting PNLF definition in SSDT-6.aml.
That's right, I forgot this one. Brightness working now, thanks RehabMan!
 
Joined
Mar 28, 2017
Messages
9
Motherboard
HM170
CPU
i7-6700HQ
Graphics
HD530 + NVIDIA970
Mobile Phone
  1. Android
AppleBacklightInjector.kext is required.
There should be no other "Brightness Fix"/PNLF patch (it is done by SSDT-PNLF.aml).
Read post #1 carefully.
If you have an issue, attach files as per post #1, "Problem Reporting".
Thank you for your help.
I read the article again and again, to determine what is missing. Unfortunately, there is no repair of the brightness problem.
Please allow me to say about my situation:
Before installing the patch, upgrade to 10.12.4 version after the brightness of the scroll bar, but can only be adjusted to the brightest and darkest.
After installing the patch, I have no scroll bar. Wake up after sleep will be directly black.
Maybe my notebook does not apply this.
 
Joined
Sep 23, 2015
Messages
56
Motherboard
Asus N550JV
CPU
i7-4700hq
Graphics
Intel HD 4600
Mobile Phone
  1. Android
Hi RehabMan,

I followed your instructions and got the brightness working. But when I boot my laptop the brightness is at max and I am not able to change it. Once I wake up from sleep brightness fix works fine. I have attached the necessary files.'

Code:
[[email protected]]:~ $ sudo touch /System/Library/Extensions && sudo kextcache -u /
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleBacklightInjector.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext USBInjectAll.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext RealtekRTL8111.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext HDAEnabler.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_LPCSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_GPUSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_CPUSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_ACPISensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Intel_HDMI_Audio.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Intel_HD_Graphics.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Broadcom_WiFi.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext CodecCommander.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BrcmPatchRAM2.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BrcmFirmwareRepo.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2Keyboard.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2Controller.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2SmartTouchPad.kext
kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext
kext file:///System/Library/Extensions/AirParrotDriver.kext/ is in hash exception list, allowing to load
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext aDummyHDA.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext
KernelCache ID: B6D950914DEBDC86DCC15BEEEF678E58

Code:
[[email protected]]:~ $ kextstat|grep -y acpiplat
   13    2 0xffffff7f835da000 0x66000    0x66000    com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>
[[email protected]]:~ $ kextstat|grep -y appleintelcpu
[[email protected]]:~ $ kextstat|grep -y applelpc
[[email protected]]:~ $ kextstat|grep -y applehda
  107    1 0xffffff7f834fd000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (279.48) ED51F180-19C8-3DE1-AF81-0E389D98ADDE <106 97 73 12 7 6 5 4 3 1>
  126    0 0xffffff7f8386a000 0xb5000    0xb5000    com.apple.driver.AppleHDA (999.1.1fc1) 806B8C17-50CA-3C6B-90B3-195F38D8FB89 <125 107 106 97 90 73 6 5 4 3 1>
 

Attachments

  • Brightness issue.zip
    2.7 MB · Views: 196
Joined
Sep 23, 2015
Messages
56
Motherboard
Asus N550JV
CPU
i7-4700hq
Graphics
Intel HD 4600
Mobile Phone
  1. Android
I realised I had not added SSDT-PNLF.aml to the sortedOrder. Once I added brightness started working.
 
Top