Contribute
Register

[Guide] Laptop backlight control using AppleBacklightFixup.kext

The ioreg indicates the patch for AppleBacklight is not applied.
I think you just need to rebuild cache and reboot.
Clover can only patch what is in cache.
isn't it?
 

Attachments

  • Screen Shot 2017-04-13 at 4.49.16 AM.png
    Screen Shot 2017-04-13 at 4.49.16 AM.png
    157.6 KB · Views: 149
isn't it?

The fact that it shows "ApplePanels" instead of "ApplePanel" means the patch is not applied.
You can use config.plist/KernelAndKextPatches/Debug=true to enable kext patching debug logs. That way you can see if Clover is patching the kext as we expect.
 
According to the ioreg in 'nonworking4', backlight control is working.
Everything there is as expected.
You need to provide more details on the problem...
Although it injects the profile, brightness keys and slider doesn't affect the brightness. That is and was always the problem. Correct profile doesn't mean that it works. I don't know how many times I said it with more than 5 proofs up to today. I don't know why it is very hard to convince you. This time I am attaching a video. I hope you find this details more convincing.

 
Although it injects the profile, brightness keys and slider doesn't affect the brightness. That is and was always the problem. Correct profile doesn't mean that it works. I don't know how many times I said it with more than 5 proofs up to today. I don't know why it is very hard to convince you. This time I am attaching a video. I hope you find this details more convincing.


With nonworking4 setup, try adding only:
config.piist/Graphics/Inject/EDID/Inject=true
config.plist/Graphics/Inject/EDID/ProductID=0x9c7c
Remove any custom EDID bits you're injecting (via Clover or ACPI).

I want to know difference between native EDID and EDID with *only* the display-id changed.
 
No succes yet, but i did some progress.

I figured how to renamed GFX0 to IGPU using Clover hotpatch.

Still not working, i make some mistakes.
 

Attachments

  • Archive.zip
    1.9 MB · Views: 70
No succes yet, but i did some progress.

I figured how to renamed GFX0 to IGPU using Clover hotpatch.

Still not working, i make some mistakes.

You have the wrong files in ACPI/patched.
Based on ACPI/origin you should have:
DSDT.aml
SSDT.aml (ssdtPRgen.sh)
SSDT-PNLF.aml (this guide)
SSDT-0.aml
SSDT-1.aml
SSDT-2.aml
SSDT-3.aml
SSDT-4.aml
SSDT-5.aml
SSDT-13.aml

And your setting for DropOem is wrong.
See ACPI patching guide: https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/

You have the wrong patches for AppleBacklight in config.plist. Use only the single patch as per post #1.
Make sure you update your files to current github content ('git pull').

I think you also deleted the AppleBacklight.kext. Restore all your kexts to vanilla by running the macOS installer.
 
The fact that it shows "ApplePanels" instead of "ApplePanel" means the patch is not applied.
You can use config.plist/KernelAndKextPatches/Debug=true to enable kext patching debug logs. That way you can see if Clover is patching the kext as we expect.
I already use Debug=true and I see it patching AppleBacklight.kext. but maybe this problem because I use Nvidia Web Driver? this is my ss for my Display Preferences
 

Attachments

  • Screen Shot 2017-04-13 at 5.46.33 AM.png
    Screen Shot 2017-04-13 at 5.46.33 AM.png
    105.4 KB · Views: 107
You told me to change DropOEM from false to true, did i understand?

When i try to do this, after restart, none of my usb ports doesn't work. Why?
 
I already use Debug=true and I see it patching AppleBacklight.kext. but maybe this problem because I use Nvidia Web Driver? this is my ss for my Display Preferences

As per post #1, this guide is only for Intel graphics:
Requirements

This guide is only for Intel graphics laptops.
 
You told me to change DropOEM from false to true, did i understand?

When i try to do this, after restart, none of my usb ports doesn't work. Why?

USB is off-topic. Open a separate thread.
 
Back
Top