Contribute
Register

[Guide] Laptop backlight control using AppleBacklightFixup.kext

Joined
Sep 9, 2015
Messages
23
Motherboard
LaVie Z PC-LZ550LS-Clover
CPU
i5-3337U/UM77
Graphics
HD 4000 (1600 x 900)
Mobile Phone
  1. Android
In certain cases, you may wish to modify the PWMMax value used to match the specifics of your framebuffer. This is especially true if you're not using the typical ig-platform-id and your ig-platform-id uses a different PWMMax.

One example would be Haswell ig-platform-id 0xa2e0008, which uses 0x56c instead of the typical 0xad9 (as used by 0xa260006).

In this case you will need to provide a custom LMAX, since the PWMMax determined based on device-id will not match your ig-platform-id.

This can be done by providing an SSDT-RMCF.aml in ACPI/patched. You will find SSDT-RMCF.dsl in the main guide/hotpatch repo: https://github.com/RehabMan/OS-X-Clover-Laptop-Config. Look in the 'hotpatch' folder.

I am not using a typical ig-platform-id 0x1660004 on my ivy platform, i use 0x01660008 instead. So where or how do i can find the correct PWMMax?

Thanks!
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
186,728
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
I tried your other suggestion, still negative sir. Idk if I had done anything wrong.
This is what I've tried so far:
  1. using ACPIBacklight.kext alone with DSDT patched with Brightness fix (APCI 100) (AppleBacklightFixup.kext and SSDT-PNLF removed)
  2. using both

in either case I don't have my brightness at max, nor the brightness slider in syspreps.

Do you suggest me having done anything wrong sir? You need my debug files in any cases? I'm back to the start ATM with my brightness at max.

Seems as if you forgot about "Brightness by bergdesign".
Always read carefully.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
186,728
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hi, for 4 days I have been trying to solve the problem with the no control of the screen brightness, I have done all the steps of the manual in forum but control not yet working :(. Is anyone able to point out a problem with the attachments provided? I'm sorry for my English.
"Problem Reporting" files are incomplete.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.
 

RehabMan

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

I have implemented successfully backlight control using AppleBacklightFixup.kext and SSDT-PNLF.aml as per this guide.

According to the changelog in WhateverGreen (from version 1.2.5 onwards) the AppleBacklightFixup code has been added to WhateverGreen directly, so should we upgrate to latest WhateverGreen and delete AppleBacklightFixup.kext? Any other changes needed?

Thanks

Your decision.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
186,728
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
I am not using a typical ig-platform-id 0x1660004 on my ivy platform, i use 0x01660008 instead. So where or how do i can find the correct PWMMax?

Thanks!

It is same 0x710.
Refer to dumps at this thread:
 
Joined
Nov 8, 2015
Messages
33
Motherboard
MSi B150M BAZOOKA
CPU
i5-6500
Graphics
Sapphire Tri-X R9 290X
Mac
  1. MacBook
Classic Mac
  1. PowerBook
Mobile Phone
  1. Android
  2. iOS
Hi

I have implemented successfully backlight control using AppleBacklightFixup.kext and SSDT-PNLF.aml as per this guide.

According to the changelog in WhateverGreen (from version 1.2.5 onwards) the AppleBacklightFixup code has been added to WhateverGreen directly, so should we upgrate to latest WhateverGreen and delete AppleBacklightFixup.kext? Any other changes needed?

Thanks

Thank you for reminding me of this. I'd been using the Kext Updater app and haven't been reading any kext update notes lately. The 2 most recent version of Whatevergreen broke my ACPIBrightness and Brightness by Bergdesign because of the included AppleBacklightFixup.

There are some laptop's brightness control will only work with ACPIBrightness and Brightness by Bergdesign. My MSi GE60 is 1 of them. My Lenovo and MSi GL62m works doesn't have this issue.

Whatevergreen 1.2.5 and 1.2.6 broke mine until I reverted back to 1.2.4.

Actually, in 1.2.6, you can add "applbkl=0" boot argument to disable AppleBacklight patching code. Let me try...

update..nope, adding that boot argument didn't work.
 
Last edited:
Joined
Feb 5, 2019
Messages
33
Motherboard
HP ZBook G4
CPU
i7-7700HQ
Graphics
HD 630 & GT M1200
Mac
  1. iMac
  2. MacBook Air
  3. MacBook Pro
Mobile Phone
  1. iOS
I had no backlight control and the backlight was full on, so I installed the stuff as described in this guide and all worked fine! However after the Mojave update to 10.14.3 the backlight control has been broken.
Are there any other users with the same issue?
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
186,728
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
I had no backlight control and the backlight was full on, so I installed the stuff as described in this guide and all worked fine! However after the Mojave update to 10.14.3 the backlight control has been broken.
Are there any other users with the same issue?
No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.
 
Joined
Feb 5, 2019
Messages
33
Motherboard
HP ZBook G4
CPU
i7-7700HQ
Graphics
HD 630 & GT M1200
Mac
  1. iMac
  2. MacBook Air
  3. MacBook Pro
Mobile Phone
  1. iOS
Sorry I have to reply like this, but the read carefully does apply to more people! I was not directly reporting a problem, I was just asking if more people have issues with the latest Mojave 10.14.3 update. I wanted to determine first if the change in behaviour is more a general OS update thing or something very specific to my situation. If it is very specific to my situation then it make sense to figure all that stuf out and spend time on making all the debug files. If many people have the same issue after the latest update, then I rather spend my time differently. Although I'm a MacOs user for years the Hackintosh thing is new to me and it takes a considerable amount of time. I do not do this for myself, I do this for somebodies else laptop and thus I also have limited access to the hardware.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
186,728
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Sorry I have to reply like this, but the read carefully does apply to more people! I was not directly reporting a problem, I was just asking if more people have issues with the latest Mojave 10.14.3 update. I wanted to determine first if the change in behaviour is more a general OS update thing or something very specific to my situation. If it is very specific to my situation then it make sense to figure all that stuf out and spend time on making all the debug files. If many people have the same issue after the latest update, then I rather spend my time differently. Although I'm a MacOs user for years the Hackintosh thing is new to me and it takes a considerable amount of time. I do not do this for myself, I do this for somebodies else laptop and thus I also have limited access to the hardware.

This is not a general discussion thread.
This thread is specific to the guide in post #1.
Please refer to post #1.
 
Top