Contribute
Register

[Guide] Laptop backlight control using AppleBacklightFixup.kext

Joined
Mar 28, 2017
Messages
9
Motherboard
HM170
CPU
i7-6700HQ
Graphics
HD530 + NVIDIA970
Mobile Phone
  1. Android
You did not provide kextcache output as requested in "Problem Reporting".
The files in ACPI/orgin are too old to compare against your DSDT in ACPI/patched (you forgot to press F4).
But of the things you did provide, everything looks correct.

Except for the strange patch you have for AppleIntelSKLGraphicsFramebuffer commented as "eDP, port 0000".
Remove it.

Note: AppleBacklight.kext not likely to work with eDP displays. I'm almost certain I read that the PWM controls are for LVDS only.
Thank.
I will remove sDP after. Compare other people's information to ensure that nothing is missing.
 

Attachments

  • CLOVER.zip
    4.6 MB · Views: 95
  • ioreg.zip
    914.2 KB · Views: 99
  • output-kextstat.txt
    729 bytes · Views: 175
  • output-sudo-touch.txt
    363 bytes · Views: 147
  • RehabMan.zip
    39.1 KB · Views: 96
Joined
Aug 3, 2014
Messages
102
Motherboard
Thinkpad T440p
CPU
i7-4710MQ (replaced stock i5)
Graphics
HD4600
Mac
  1. MacBook
  2. MacBook Pro
Classic Mac
  1. Power Mac
  2. PowerBook
Mobile Phone
  1. Android
  2. Other
I had been using the RehabMan IntelBacklight kext and setting Clover's AddPNLF_1000000 to true for brightness control. It broke a couple of reboots after 10.12.4.

So I deleted IntelBacklight, removed AddPNLF_1000000 from config.plist and then followed the instructions in Post #1. Still no working backlight controls (No slider in Displays pref pane, no Fn keys, and the nice 3rd party brightness menubar slider has no effect.). Before deleting IntelBacklight kext, the brightness was stuck at a the my usual low setting. After, it is stuck at a very bright max? level.
 

Attachments

  • CLOVER.zip
    1.3 MB · Views: 86
  • ioreg.zip
    665.1 KB · Views: 82
  • kextcache_u.txt.zip
    750 bytes · Views: 84
  • kextstat_out.txt.zip
    582 bytes · Views: 92
  • RehabMan_patchmatic_aml.zip
    61.6 KB · Views: 113
Joined
Aug 3, 2014
Messages
102
Motherboard
Thinkpad T440p
CPU
i7-4710MQ (replaced stock i5)
Graphics
HD4600
Mac
  1. MacBook
  2. MacBook Pro
Classic Mac
  1. Power Mac
  2. PowerBook
Mobile Phone
  1. Android
  2. Other
Please disregard. I hadn't updated ~/Projects/probook.git since September 2016. Was not fixing that which was not broken. Doh!

Following the instructions in post #1 and then updating all of my SSDTs by running ./install_acpi.sh install_8x70 got F13/14 brightness keys working.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,169
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
I had been using the RehabMan IntelBacklight kext and setting Clover's AddPNLF_1000000 to true for brightness control. It broke a couple of reboots after 10.12.4.

So I deleted IntelBacklight, removed AddPNLF_1000000 from config.plist and then followed the instructions in Post #1. Still no working backlight controls (No slider in Displays pref pane, no Fn keys, and the nice 3rd party brightness menubar slider has no effect.). Before deleting IntelBacklight kext, the brightness was stuck at a the my usual low setting. After, it is stuck at a very bright max? level.

Please disregard. I hadn't updated ~/Projects/probook.git since September 2016. Was not fixing that which was not broken. Doh!

Following the instructions in post #1 and then updating all of my SSDTs by running ./install_acpi.sh install_8x70 got F13/14 brightness keys working.

The Probook guide has never used AddPNLF_1000000.
And as you found out, the Probook github (beta branch) has already been updated to use the patches documented in post #1 here.
 
Joined
Nov 12, 2012
Messages
217
Motherboard
Lenovo G570
CPU
2.4 GHz Intel Core i5
Graphics
Intel HD 3000
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
I did everything according to the guide. should I need to change the name of SSDT-PNLF.aml because I am using SSDT in sorted order in my Config.plist or use as it is.
One more thing I used BrightnessFIX patch in my DSDT so I have to re-patched DSDT without BrightnessFIX patch, right.
than install all files and kext.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,169
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
One more thing I used BrightnessFIX patch in my DSDT so I have to re-patched DSDT without BrightnessFIX patch, right.

As per post #1, you cannot have any "Brightness" patch other than SSDT-PNLF.aml.
 
Joined
Aug 3, 2014
Messages
102
Motherboard
Thinkpad T440p
CPU
i7-4710MQ (replaced stock i5)
Graphics
HD4600
Mac
  1. MacBook
  2. MacBook Pro
Classic Mac
  1. Power Mac
  2. PowerBook
Mobile Phone
  1. Android
  2. Other
The Probook guide has never used AddPNLF_1000000.


Doh! Doh! I was thinking of my other hackintosh laptop when I wrote that (Lenovo Y570 HD3000). Sorry to add to the confusion.
 
Joined
Aug 31, 2014
Messages
265
Motherboard
Asus T300LA-DH51T
CPU
Intel Core i5 4200U
Graphics
Intel HD Graphics 4400
Mobile Phone
  1. Android
followed guide still no controls.
 

Attachments

  • backlightt300la.zip
    2.6 MB · Views: 123

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,169
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
followed guide still no controls.

Did you rebuild cache and reboot?
Why are you using ig-platform-id 0xa260000?
Typical is 0xa260006 for a Haswell laptop.
Use config.plist/KernelAndKextPatches/Debug=true to see if the kext is being patched as expected.
 
Joined
Aug 31, 2014
Messages
265
Motherboard
Asus T300LA-DH51T
CPU
Intel Core i5 4200U
Graphics
Intel HD Graphics 4400
Mobile Phone
  1. Android
Did you rebuild cache and reboot?
Why are you using ig-platform-id 0xa260000?
Typical is 0xa260006 for a Haswell laptop.
Use config.plist/KernelAndKextPatches/Debug=true to see if the kext is being patched as expected.

yes
so i don't have to use more patches
the kext isn't getting patched
 
Top