Contribute
Register

[Guide] Laptop backlight control using AppleBacklightFixup.kext

You did not disable the GPU.

But you did manage to spoof the PCI bridge that is connecting your DGPU such that it is not seen as a PCI bridge anymore. That was done because your SSDT-DiscreteSpoof (you named it SSDT-2.am) is wrong. _SB.PCI0.RP01 should have been _SB.PCI0.RP01.PXSX.

The GPU is still active and using power.

Correctly disabling the DGPU is covered here:
https://www.tonymacx86.com/threads/guide-disabling-discrete-graphics-in-dual-gpu-laptops.163772/

Ah thanks for the confirmation, now I really only need to have a motivation to do the patching.
Anyway forgot to tell that it works now, thanks. But when I tried to go lower the brightness, at the lowest point, it became 100% dark like the LCD is turned off. Is there any workaround for this?
 
But when I tried to go lower the brightness, at the lowest point, it became 100% dark like the LCD is turned off. Is there any workaround for this?

It is correct behavior as per Apple design.
You would find the same on a real Mac.
 
It is correct behavior as per Apple design.
You would find the same on a real Mac.

Ahh, is that so.
Okay, thanks for the information. Sorry for taking your time.
 
I think i followed the guide correctly, remove PNLF, remove IntelBacklight, install AppleBacklightInjector, copy SSDT, patch config.plist. but after reboot i lose brightness control and slider, so i tried to install "brightness slider" from app store to check if brightness works. it works but the brightness range is very short. am i missing something ?
 

Attachments

  • Brightness problem.zip
    3.2 MB · Views: 68
When I try to rebuild kext cache I get this error, how to fix it?
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fb93ecd7100 [0x7fffbaf41830]> { URL = "AppleBacklightInjector.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.injector.AppleBacklightInjector" }
 

Attachments

  • EFI.zip
    17.3 MB · Views: 85
I think i followed the guide correctly, remove PNLF, remove IntelBacklight, install AppleBacklightInjector, copy SSDT, patch config.plist. but after reboot i lose brightness control and slider, so i tried to install "brightness slider" from app store to check if brightness works. it works but the brightness range is very short. am i missing something ?

As per guide, SSDT-PNLF.aml requires GFX0->IGPU rename. The ioreg shows GFX0, not IGPU.
Read post #1 carefully.
Your ACPI setup is wrong.
Read here:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
 
When I try to rebuild kext cache I get this error, how to fix it?
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fb93ecd7100 [0x7fffbaf41830]> { URL = "AppleBacklightInjector.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.injector.AppleBacklightInjector" }

It is not an error.
 
strange, i've already rename all GFX0 to IGPU, but the ioreg always show GFX0. i also checked my DSDT and SSDT-6. all GFX0 is renamed to IGPU.

btw is there any clue for my ACPI setup ? i followed every step in your guide there.

You did not follow my ACPI patching guide.
Currently, you have these files in ACPI/patched:
SSDT-6.aml
DSDT.aml
SSDT-PNLF.aml

In order for SSDT-6.aml to replace the native SSDT-6.aml with this setup, you must use my fork of Clover and set config.plist/ACPI/AutoMerge=true.

You don't have AutoMerge in your config.plist.
And you're not using my version of Clover.

Without my version of Clover (and AutoMerge), you would need to set DropOem=true, use SortedOrder to specify SSDT load order, and have the following files in ACPI/patched:
DSDT.aml
SSDT-0.aml
SSDT-1.aml
SSDT-2.aml
SSDT-6.aml
SSDT-PNLF.aml

Also, SortedOrder should specify the SSDTs in that order.

Note: You also need SSDT-PluginType1.aml to implement CPU PM. Or with my version of Clover, you can set config.plist/ACPI/SSDT/Generate/PluginType=true.

Read carefully:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
 
It is not an error.
But I can't get brightness control from keyboard without or with Fn Brightness ACPI guide. I have tried Fn + any keys but no brightness changes. My syslog can't record my input in my laptop (Fn + left / Fn + right) even after patches by Debug & EC instruments + ACPIDebug in DSDT so I revert my ACPI Fn Brightness changes.
 
Back
Top