Contribute
Register

[Guide] Laptop backlight control using AppleBacklightFixup.kext

Joined
Nov 27, 2011
Messages
32
Motherboard
HP Envy 15 as-043 (Clover)
CPU
i7-6560U
Graphics
HD 540 - 4K
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
Thank you. Will follow your recommendations.
 
Joined
Aug 24, 2018
Messages
3
Motherboard
Acer Aspire V3 772G
CPU
i7-4712MQ
Graphics
HD 4600 + GTX 850M
You cannot expect to use a desktop ig-platform-id for a laptop. Your ioreg proves it... 0x0d220003 is desktop.
See guide for correct plists:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/

It is also possible you have SSDT-IGPU.aml misconfigured (you really should not be using it anyway,... best to use config.plist for graphics injection). But if you insist on SSDT-IGPU, make sure it is configured correctly with SSDT-RMCF.

Also,
Your kextcache output proves kexts are not installed correctly.
All kexts you need must be installed to the system volume.
Read post #2 of the Clover guide for details:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/

Thank you very much RehabMan! The backlight control work perfectly now! You helped me understand more about the hotpatch and clover configuration. Very interesting!
 

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
Thank you very much RehabMan! The backlight control work perfectly now! You helped me understand more about the hotpatch and clover configuration. Very interesting!

Good to hear.
 
Joined
Dec 12, 2011
Messages
6
Motherboard
Acer V5 473
CPU
i5-4200
Graphics
HD 4400M (GT740M Disabled)
I'm a bit confused as to what is wrong in the ACPI. Would you be able to elaborate a bit further. I read the guide and was still unsure about what is wrong with my ACPI.

Thanks, and I apologize for not understanding
 

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'm a bit confused as to what is wrong in the ACPI. Would you be able to elaborate a bit further. I read the guide and was still unsure about what is wrong with my ACPI.

Thanks, and I apologize for not understanding

Should have:
- config.plist/ACPI/AutoMerge=true (no need for DropOem=true)
- patched SSDT names in ACPI/patched should match those in ACPI/origin
- renames should be done only with config.plist/ACPI/DSDT/Patches
- do not place SSDTs that require no patches in ACPI/patched
- do not apply (manually) patches (to SSDTs or DSDT) already done in config.plist/ACPI/DSDT/Patches
 
Joined
Sep 6, 2013
Messages
13
Motherboard
Inspiron 15 7000 Series 7559
CPU
Intel Quad Core i7-6700HQ
Graphics
HD 530m
I don't understand what you mean by
AppleBacklight patch in config.plist/KernelAndKextPatches/KextsToPatch
 

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 don't understand what you mean by
AppleBacklight patch in config.plist/KernelAndKextPatches/KextsToPatch

It is covered in post #1.
Read it carefully.
 
Joined
Oct 5, 2016
Messages
48
Motherboard
Dell XPS 9570 - Clover
CPU
i7-8750h/CM246
Graphics
UHD630, 1920x1080
Mobile Phone
  1. iOS
Great guide!

Backlight control now works from SysPrefs->Displays on macOS Mojave.

There is one problem left to fix though: if I put the brightness slider on 100%, the screen still has a very low brightness (also, putting the slider at 20% results in a black screen instead of a low brightness screen).

Any idea on how to calibrate this correctly?
 

Attachments

  • debug_649.zip
    2 MB · Views: 84

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
Great guide!

Backlight control now works from SysPrefs->Displays on macOS Mojave.

There is one problem left to fix though: if I put the brightness slider on 100%, the screen still has a very low brightness (also, putting the slider at 20% results in a black screen instead of a low brightness screen).

Any idea on how to calibrate this correctly?

You need to use SSDT-PNLF.dsl from the beta branch.
And AppleBacklightInjector.kext from the Probook beta_weg branch.

And just made some changes that allow it to detect CFL ids automatically and pick the larger LMAX=0xff7b.

With everything setup correctly, you should have in ioreg, PNLF._UID=19, F19Txxxx backlight profile data.
 
Joined
Oct 5, 2016
Messages
48
Motherboard
Dell XPS 9570 - Clover
CPU
i7-8750h/CM246
Graphics
UHD630, 1920x1080
Mobile Phone
  1. iOS
You need to use SSDT-PNLF.dsl from the beta branch.
And AppleBacklightInjector.kext from the Probook beta_weg branch.

And just made some changes that allow it to detect CFL ids automatically and pick the larger LMAX=0xff7b.

With everything setup correctly, you should have in ioreg, PNLF._UID=19, F19Txxxx backlight profile data.
You are a hero, it works perfectly now.
 
Top