Contribute
Register

[Guide] Laptop backlight control using AppleBacklightFixup.kext

Hi RehabMan,
I follow the guide carefully but seems like it's not enough.
Brightness working only if you wake PC from sleep.

Dell e7470 Bios 1.12.4
Clover 4097

No PNLF patch in SSDT.

- SSDT-PNLF.aml in ACPI/patched
- AppleBacklight patch in config.plist/KernelAndKextPatches/KextsToPatch I used xcode not a CC
- AppleBacklightInjector.kext installed to /L/E
Code:
MBP-Marek:~ seeker_pl$ sudo kextcache -i /
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 EAPDFix.kext
kext file:///Library/Extensions/DisableTurboBoostBattery.kext/ is in hash exception list, allowing to load
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 -67030 0xFFFFFFFFFFFEFA2A for kext AppleHDA_ALC293.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleBacklightInjector.kext
kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext
KernelCache ID: 2FE0FCAF4ED5828E967CB8E9FD840DB9
Code:
MBP-Marek:~ seeker_pl$ kextstat|grep -y acpiplat
   13    2 0xffffff7f831f7000 0x66000    0x66000    com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>
Code:
MBP-Marek:~ seeker_pl$ kextstat|grep -y applelpc
  104    0 0xffffff7f82c1a000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <83 12 5 4 3>
Code:
MBP-Marek:~ seeker_pl$ kextstat|grep -y applehda
   94    1 0xffffff7f81129000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (279.48) ED51F180-19C8-3DE1-AF81-0E389D98ADDE <93 92 77 12 7 6 5 4 3 1>
  118    0 0xffffff7f812cb000 0xb5000    0xb5000    com.apple.driver.AppleHDA (9267.0) 806B8C17-50CA-3C6B-90B3-195F38D8FB89 <117 97 94 93 92 77 12 11 6 5 4 3 1>

Clover folder with Origin(f4) and ioReg in attached.
 

Attachments

  • CLOVER_seeker.zip
    7.9 MB · Views: 102
  • MacBook Pro (Marek).ioreg
    5.5 MB · Views: 95
Hi RehabMan,
I follow the guide carefully but seems like it's not enough.
Brightness working only if you wake PC from sleep.

Dell e7470 Bios 1.12.4
Clover 4097

No PNLF patch in SSDT.

- SSDT-PNLF.aml in ACPI/patched
- AppleBacklight patch in config.plist/KernelAndKextPatches/KextsToPatch I used xcode not a CC
- AppleBacklightInjector.kext installed to /L/E
Code:
MBP-Marek:~ seeker_pl$ sudo kextcache -i /
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 EAPDFix.kext
kext file:///Library/Extensions/DisableTurboBoostBattery.kext/ is in hash exception list, allowing to load
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 -67030 0xFFFFFFFFFFFEFA2A for kext AppleHDA_ALC293.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleBacklightInjector.kext
kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext
KernelCache ID: 2FE0FCAF4ED5828E967CB8E9FD840DB9
Code:
MBP-Marek:~ seeker_pl$ kextstat|grep -y acpiplat
   13    2 0xffffff7f831f7000 0x66000    0x66000    com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>
Code:
MBP-Marek:~ seeker_pl$ kextstat|grep -y applelpc
  104    0 0xffffff7f82c1a000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <83 12 5 4 3>
Code:
MBP-Marek:~ seeker_pl$ kextstat|grep -y applehda
   94    1 0xffffff7f81129000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (279.48) ED51F180-19C8-3DE1-AF81-0E389D98ADDE <93 92 77 12 7 6 5 4 3 1>
  118    0 0xffffff7f812cb000 0xb5000    0xb5000    com.apple.driver.AppleHDA (9267.0) 806B8C17-50CA-3C6B-90B3-195F38D8FB89 <117 97 94 93 92 77 12 11 6 5 4 3 1>

Clover folder with Origin(f4) and ioReg in attached.

Does ApplePanelRawBrightness under PNLF in ioreg change when you manipulate the brightness slider in SysPrefs->Displays?
 
Sorry brightness slider move in SysPref, let me check ioReg.
 
no, it's not moving. It changed once from 0x56c to 0x12c, but only once.
 
no, it's not moving. It changed once from 0x56c to 0x12c, but only once.

What is "not moving"?
If you mean "ApplePanelRawBrightness is not changing when moving the slider", make sure you update the ioreg view with Registry->Update Now (or Command+U).
 
What is "not moving"?
If you mean "ApplePanelRawBrightness is not changing when moving the slider", make sure you update the ioreg view with Registry->Update Now (or Command+U).

It's changing when I refresh ioreg.
 
It's changing when I refresh ioreg.

But no change in the brightness level to correspond?
If so, try patching EDID as per post #1 (your ioreg shows you have not).
 
Code:
Siddharths-MacBook-Pro:RehabMan siddharth$ kextstat|grep -y acpiplat
   15    2 0xffffff7f82b0a000 0x9b000    0x9b000    com.apple.driver.AppleACPIPlatform (6.1) 13F84E88-67F0-3F37-8A76-E37DCA1595FB <14 12 11 7 6 5 4 3 1>
Siddharths-MacBook-Pro:RehabMan siddharth$ kextstat|grep -y appleintelcpu
   31    0 0xffffff7f82645000 0x2a000    0x2a000    com.apple.driver.AppleIntelCPUPowerManagement (220.0.0) 706B8B51-EB45-38A3-8E9D-CD8A4C3F9E0A <7 6 5 4 3 1>
   43    0 0xffffff7f82640000 0x3000     0x3000     com.apple.driver.AppleIntelCPUPowerManagementClient (220.0.0) 931165F8-BA12-3CBF-9987-2DD9B5FF9AFA <7 6 5 4 3 1>
Siddharths-MacBook-Pro:RehabMan siddharth$ kextstat|grep -y applelpc
  105    0 0xffffff7f82467000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) 6508B7E7-548A-3FCA-8596-423CADE0F611 <91 12 5 4 3>
Siddharths-MacBook-Pro:RehabMan siddharth$ kextstat|grep -y applehda
  111    1 0xffffff7f826fd000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (280.12) 2DBFE83E-EC40-3F23-A029-7FF8768159B6 <110 102 88 12 7 6 5 4 3 1>
  126    0 0xffffff7f8287b000 0xb7000    0xb7000    com.apple.driver.AppleHDA (280.12) FFFC6092-8B49-3F30-B756-A01EA4C78C54 <125 111 110 102 90 88 6 5 4 3 1>

Code:
Siddharths-MacBook-Pro:RehabMan siddharth$ sudo touch /System/Library/Extensions && sudo kextcache -u /
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fb93ecd7100 [0x7fffbaf41830]> { URL = "AppleBacklightInjector.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.injector.AppleBacklightInjector" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fb93ecb5fa0 [0x7fffbaf41830]> { URL = "IOath3kfrmwr.kext/ -- file:///System/Library/Extensions/", ID = "org.rehabman.driver.IOath3kfrmwr" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fb93e9d7750 [0x7fffbaf41830]> { URL = "AtherosWiFiInjector.kext/ -- file:///System/Library/Extensions/", ID = "com.nawcom.plist.AtherosWifFiInjector" }
Kext with invalid signatured (-67030) allowed: <OSKext 0x7fb93c5dbd30 [0x7fffbaf41830]> { URL = "AppleIntelHDGraphicsFB.kext/ -- file:///System/Library/Extensions/", ID = "com.apple.driver.AppleIntelHDGraphicsFB" }
KernelCache ID: 2C85B0E745C6D8D02038EFBC9CDBF3BC

I removed the PNLF patch from the DSDT and these are the results after it. Any help?
 
Back
Top