Contribute
Register

[Guide] Laptop backlight control using AppleBacklightFixup.kext

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,506
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
hello ! here are my files if someone can take a look. thanks!

As per post #1, you must rename GFX0->IGPU. It is a requirement/assumption of SSDT-PNLF.aml.
 
Joined
Mar 21, 2017
Messages
17
Motherboard
Allsparks 5A
CPU
i7-6700hq
Graphics
Intel HD530 + nVidia GTX 960m
Mobile Phone
  1. iOS
When i try to patch ssdt-pnlf i recive this errors.
 

Attachments

  • IMG_1091.JPG
    IMG_1091.JPG
    5.9 MB · Views: 102
  • IMG_1092.JPG
    IMG_1092.JPG
    4.9 MB · Views: 98
Joined
Aug 31, 2014
Messages
264
Motherboard
Asus T300LA-DH51T
CPU
Intel Core i5 4200U
Graphics
Intel HD Graphics 4400
Mobile Phone
  1. Android
Possible a mistake has led to unstable kernel cache, which will make Clover kext patching problematic/unreliable.
But who knows... you haven't tried the latest yet...


Thanks for the info. I'll be taking a peek.

it's works now. I had to update to a newer Clover build than the recommended one for 10.12.4. i was on build 3998 and it didn't work. build 4049 worked.
thanks
 
Last edited:
Joined
Nov 10, 2012
Messages
29
Motherboard
HP Elitebook 8460p MacOs Sierra 10.12.1
CPU
i5 2.5ghz 12GB ram
Graphics
HD 3000 1600x900
Hello,
How did you do these 3 things, it is not explained :
- SSDT-PNLF.aml in ACPI/patched
- AppleBacklight patch in config.plist/KernelAndKextPatches/KextsToPatch
- AppleBacklightInjector.kext installed to /L/E

Thank you
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,506
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
When i try to patch ssdt-pnlf i recive this errors.

Your incorrect edits to the file are causing the error.
You should not be changing SSDT-PNLF.dsl.
 
Last edited:

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,506
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
it's works now. I had to update to a newer Clover build than the recommended one for 10.12.4. i was on build 3998 and it didn't work. build 4049 worked.
thanks

Probably kext patching was broken in the specific version you had...
Thanks for testing.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,506
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hello,
How did you do these 3 things, it is not explained :
- SSDT-PNLF.aml in ACPI/patched
- AppleBacklight patch in config.plist/KernelAndKextPatches/KextsToPatch
- AppleBacklightInjector.kext installed to /L/E

Thank you

You load SSDT-PNLF.dsl in MaciASL and Save As (format: ACPI Machine Language Binary) to SSDT-PNLF.aml.
Then you copy the resulting file to ACPI/patched on your EFI partition.
The AppleBacklight patch is simple copy/paste from config_patches.plist to your own config.plist.
There are many ways to install kexts. The guide in post #1 uses Terminal. You should read it.
 
Joined
Mar 21, 2017
Messages
17
Motherboard
Allsparks 5A
CPU
i7-6700hq
Graphics
Intel HD530 + nVidia GTX 960m
Mobile Phone
  1. iOS
I put "Ssdt-pnlf" to efi/clover/acpi/patched.

AppleBacklight patch in config.plist/krenelandkextpaches/kexttopatch.

AppleBacklightInjector.kext installed to /L/E.

Should i patch dsdt with "rename gfx0 to igpu"? I tried but didnt work beacause after restart i see this screen:
 
Top