Contribute
Register

[Guide] Laptop backlight control using AppleBacklightFixup.kext

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,624
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hi!

Is it possible to enable the smooth transition when changing brightness with FN keys?

While it may be "possible", no such patch has been discovered.
 
Joined
Mar 23, 2018
Messages
5
Hi, can you help me with a issue?
I have a Dell Inspiron 15R 5537 with Sierra 10.12.6 and my brightness doesn't work.
First, I followed this guide: https://www.tonymacx86.com/threads/guide-patching-dsdt-ssdt-for-laptop-backlight-control.152659/
and the brightness bar appeared at Systempref>Display but didn't work.
Today, I found this guide and followed the steps, removed the others kexts, but I could not solve the problem.
I tried to remove the anothers DSDT and SSDT patched files but, doing this, my graphic card Intel 4400 has been desconfigured. Maybe the issue is in this folder.
 

Attachments

  • fabioFiles.zip
    11.2 MB · Views: 66

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,624
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hi, can you help me with a issue?
I have a Dell Inspiron 15R 5537 with Sierra 10.12.6 and my brightness doesn't work.
First, I followed this guide: https://www.tonymacx86.com/threads/guide-patching-dsdt-ssdt-for-laptop-backlight-control.152659/
and the brightness bar appeared at Systempref>Display but didn't work.
Today, I found this guide and followed the steps, removed the others kexts, but I could not solve the problem.
I tried to remove the anothers DSDT and SSDT patched files but, doing this, my graphic card Intel 4400 has been desconfigured. Maybe the issue is in this folder.

Start with config.plist from the guide:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/

And for correct ACPI patching, read here:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
 
Joined
Mar 23, 2018
Messages
5

I renamed and pasted the config_HD4600_4400_4200.plist into my CLOVER folder. But, when I rebooted my notebook, the option to boot my macOS disappeared while a new option called "Start UEFI Shell 64" appeared. Now, I fixed it with my bootable pen drive that showed the Clover with the boot option.

What I forgot?

I'm sorry to bother you with this questions, that's my first Hackintosh.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,624
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
I renamed and pasted the config_HD4600_4400_4200.plist into my CLOVER folder. But, when I rebooted my notebook, the option to boot my macOS disappeared while a new option called "Start UEFI Shell 64" appeared. Now, I fixed it with my bootable pen drive that showed the Clover with the boot option.

What I forgot?

I'm sorry to bother you with this questions, that's my first Hackintosh.

Off-topic, but you likely forgot HFSPlus.efi in drivers64UEFI.
You should probably read the guide more carefully.
 
Joined
Mar 23, 2018
Messages
5
Hi again, first of all, thanks for your help.

I used your recommended config.plist and, with PlistEdit, added the Apple Backlight. Also, I removed IntelBacklight.kext and ACPIBacklight.kext, installed AppleBacklightInjector.kext to /L/E and pasted SSDT-PNLF.aml in ACPI/patched.

In ACPI/patched, I removed others files and the system is 100% working (my graphic car, for example, continue correctly identified as Intel HD Graphics 4400 1536 MB).

But, after all this, the brightness bar doesn't apperar in Systempref/Display. I check the kextcache and I observe something odd:

AppleMuxControl.kext - dependency 'com.apple.driver.AppleBacklightExpert' not found.

I researched abouth this and found a topic, where you says to restore the kexts with macOS installer. Can you explain more about it? If I run the installer without erasing my HDD, it just will restore the kexts whitout delete my files? And, for last, that can be the problem?

I would appreciate if you take a look at my files attached below and tell me if see more anything wrong.

Thank you again.
 

Attachments

  • fabioFiles2.zip
    11.2 MB · Views: 59

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,624
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hi again, first of all, thanks for your help.

I used your recommended config.plist and, with PlistEdit, added the Apple Backlight. Also, I removed IntelBacklight.kext and ACPIBacklight.kext, installed AppleBacklightInjector.kext to /L/E and pasted SSDT-PNLF.aml in ACPI/patched.

In ACPI/patched, I removed others files and the system is 100% working (my graphic car, for example, continue correctly identified as Intel HD Graphics 4400 1536 MB).

But, after all this, the brightness bar doesn't apperar in Systempref/Display. I check the kextcache and I observe something odd:

AppleMuxControl.kext - dependency 'com.apple.driver.AppleBacklightExpert' not found.

I researched abouth this and found a topic, where you says to restore the kexts with macOS installer. Can you explain more about it? If I run the installer without erasing my HDD, it just will restore the kexts whitout delete my files? And, for last, that can be the problem?

I would appreciate if you take a look at my files attached below and tell me if see more anything wrong.

Thank you again.

Why did you delete AppleBacklightExpert.kext?

Run the macOS installer to refresh all kexts.

Also:
- NullCPUPowerManagement.kext should not be installed.
- neither AHCI_Intel_Generic_SATA.kext
 
Joined
Dec 31, 2016
Messages
14
Motherboard
HP Elitebook 8470p-Clover
CPU
i5-3320M
Graphics
HD 4000, 1366x768
Mobile Phone
  1. iOS
I've just updated to 10.13.4, and now the brightness transitions are abrupt when doing things like going to sleep or turning off the display, rather than the smooth transitions I had before the update. Anything I can do?
 
Joined
Jul 4, 2015
Messages
7
Motherboard
Asus > need model # > See Rules!
CPU
i7-4700HQ
Graphics
GT 840m
Mobile Phone
  1. Android
Hi @RehabMan,
I tried everything you said, clone repo and get last Iasl but faced with a problem while compiling SSDT-IGPU.dsl.
It says:
hotpatch/SSDT-IGPU.dsl(394) : error 6126 - syntax error, unexpected '{'
hotpatch/SSDT-IGPU.dsl(432) : error 6126 - syntax error, unexpected PARSEOP_IF

Other files compiled successfully.

Any suggestion?
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,624
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hi @RehabMan,
I tried everything you said, clone repo and get last Iasl but faced with a problem while compiling SSDT-IGPU.dsl.
It says:


Other files compiled successfully.

Any suggestion?

You can see which version of iasl you're using and where it is loading from in Terminal:
Code:
iasl -v
which iasl

That may help you discover why you're using the wrong version.
 
Top