Contribute
Register

[Guide] Laptop backlight control using AppleBacklightFixup.kext

sorry about that. Please find attached the newly generated "Problem Reporting" files. And the output for sudo kextcache -u is as follows:

Code:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooHDA.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext RealtekRTL8111.kext

KernelCache ID: FDFCBD0CA2EA8270A47C6C750536A4F8

Thank you.

Your kextcache output shows that AppleBacklightInjector.kext is not installed.
I didn't check anything else.

Read post #1.
 
Your kextcache output shows that AppleBacklightInjector.kext is not installed.
I didn't check anything else.

Read post #1.

I'm a bit confused since I just checked my /Library/Extensions folder and it shows AppleBacklightInjector.kext being in there. The command I used to move it there was as follows:

Code:
sudo cp -R ~/Projects/probook.git/kexts/AppleBacklightInjector.kext /Library/Extensions

and then I ran sudo kextcache -i /

I'm not sure if there is any sort of no-duh assumption outside of the instructions of post #1, like having a particular kext not mentioned, as I tried to stick as much to the instructions (at least on the initial go...then I deviated into playing with IntelBacklight.kext, which I immediately reversed) as a self-contained document. Your help is appreciated, as always!
 

Attachments

  • Screen Shot 2017-07-28 at 5.20.05 PM.png
    Screen Shot 2017-07-28 at 5.20.05 PM.png
    95.2 KB · Views: 109
I'm a bit confused since I just checked my /Library/Extensions folder and it shows AppleBacklightInjector.kext being in there. The command I used to move it there was as follows:

Code:
sudo cp -R ~/Projects/probook.git/kexts/AppleBacklightInjector.kext /Library/Extensions

and then I ran sudo kextcache -i /

I'm not sure if there is any sort of no-duh assumption outside of the instructions of post #1, like having a particular kext not mentioned, as I tried to stick as much to the instructions (at least on the initial go...then I deviated into playing with IntelBacklight.kext, which I immediately reversed) as a self-contained document. Your help is appreciated, as always!

Read post #1, "Problem Reporting". Attach all requested files/output.
 
Your profile lacks any details on a laptop.
Please fix as per FAQ.
Probably PNLF._INI needs to do something extra or is for some reason not running.
You will need to do some additional debugging to determine what needs to be done.
Also, could be a BIOS setting problem (make sure CSM enabled, fast boot disabled, etc).

Profile updated.
With CSM (legacy boot) On or Off no changes, fast boot set to Thorough, other available options minimal and auto.
What else can I check?
 
When the slider Brightness has value less than half, the screen becomes black
But it's fine when after sleep
Thanks

Code:
Thanhs-MacBook-Air:RehabMan thanhtu$ kextstat|grep -y acpiplat
   13    2 0xffffff7f82c49000 0x60000    0x60000    com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>
Thanhs-MacBook-Air:RehabMan thanhtu$ kextstat|grep -y appleintelcpu
Thanhs-MacBook-Air:RehabMan thanhtu$ kextstat|grep -y applelpc
Thanhs-MacBook-Air:RehabMan thanhtu$ kextstat|grep -y applehda
Thanhs-MacBook-Air:RehabMan thanhtu$ sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Trackpad.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Mouse.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Keyboard.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Controller.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooHDA.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext SATA-100-series-unsupported.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext Lilu.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelGraphicsFixup.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext GenericUSBXHCI.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext file:///System/Library/Extensions/AppleHDADisabler.kext/ is in hash exception list, allowing to load
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleBacklightInjector.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext
KernelCache ID: 655A4DF74F9DFB20C2C4A659E31126B5
Thanhs-MacBook-Air:RehabMan thanhtu$
 

Attachments

  • Thanh’s MacBook Air.zip
    545.3 KB · Views: 78
  • Thanh’s MacBook Air.zip
    545.3 KB · Views: 77
  • CLOVER.zip
    1.1 MB · Views: 69
Profile updated.
With CSM (legacy boot) On or Off no changes, fast boot set to Thorough, other available options minimal and auto.
What else can I check?

Debug PNLF._INI to see if it is running and doing what we expect.
 
When the slider Brightness has value less than half, the screen becomes black
But it's fine when after sleep
Thanks

Code:
Thanhs-MacBook-Air:RehabMan thanhtu$ kextstat|grep -y acpiplat
   13    2 0xffffff7f82c49000 0x60000    0x60000    com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>
Thanhs-MacBook-Air:RehabMan thanhtu$ kextstat|grep -y appleintelcpu
Thanhs-MacBook-Air:RehabMan thanhtu$ kextstat|grep -y applelpc
Thanhs-MacBook-Air:RehabMan thanhtu$ kextstat|grep -y applehda
Thanhs-MacBook-Air:RehabMan thanhtu$ sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Trackpad.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Mouse.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Keyboard.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Controller.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooHDA.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext SATA-100-series-unsupported.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext Lilu.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelGraphicsFixup.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext GenericUSBXHCI.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext file:///System/Library/Extensions/AppleHDADisabler.kext/ is in hash exception list, allowing to load
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleBacklightInjector.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext
KernelCache ID: 655A4DF74F9DFB20C2C4A659E31126B5
Thanhs-MacBook-Air:RehabMan thanhtu$

"Problem Reporting" files are incomplete.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
 
Thanks for this, everything works perfectly on 10.12.6. I just was wondering what value to use to set the minimum brightness 20% lower. The maximum slider value is fine, but I am having issues figuring out which hex value to use for the lower boundary.
 
I was asking because previously the intelbacklight kext allowed a 20% lower backlight range. Not sure if there is anyway to override the value or if it is permanently set in Apple's backlight kext design.
 
Thanks for this, everything works perfectly on 10.12.6. I just was wondering what value to use to set the minimum brightness 20% lower. The maximum slider value is fine, but I am having issues figuring out which hex value to use for the lower boundary.
I was asking because previously the intelbacklight kext allowed a 20% lower backlight range. Not sure if there is anyway to override the value or if it is permanently set in Apple's backlight kext design.

Each brightness level is in the AppleBacklightInjector Info.plist data.
 
Back
Top