Contribute
Register

[Guide] Laptop backlight control using AppleBacklightFixup.kext

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:
-rwxr-xr-x@ 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:
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.
 
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".
 
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".
 
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.
 
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".
 
You have a conflicting PNLF definition in SSDT-6.aml.
That's right, I forgot this one. Brightness working now, thanks RehabMan!
 
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.
 
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:
[C@C-MBP]:~ $ 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:
[C@C-MBP]:~ $ 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>
[C@C-MBP]:~ $ kextstat|grep -y appleintelcpu
[C@C-MBP]:~ $ kextstat|grep -y applelpc
[C@C-MBP]:~ $ 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: 216
I realised I had not added SSDT-PNLF.aml to the sortedOrder. Once I added brightness started working.
 
Back
Top