Contribute
Register

[Guide] Laptop backlight control using AppleBacklightFixup.kext

Joined
Dec 22, 2018
Messages
1
CPU
i3-370M
Graphics
Intel HD Graphics
Hello guys, I need help. I've tried to fix my brightness in os Sierra, I installed applebacklightfix to /L/E, lily.kext in my folder kext/other, and SSDT-PNLF, but my brightness still won't work.
Here's my spec:
Acer 4739 core i 370M
Intel HD Graphics
Ram 4GB
Clover legacy
I also attached my config.list and ioreg
Thanks
 

Attachments

  • ioreg.ioreg
    4.1 MB · Views: 154
  • config.plist
    5 KB · Views: 202
  • Screen Shot 2019-02-17 at 7.19.40 AM.png
    Screen Shot 2019-02-17 at 7.19.40 AM.png
    102.2 KB · Views: 149
Joined
Feb 23, 2019
Messages
10
Motherboard
HP 837D
CPU
i5-8250U
Graphics
UHD 620
Mac
  1. iMac
  2. MacBook Air
  3. MacBook Pro
Classic Mac
  1. iBook
Mobile Phone
  1. iOS
Update: The brightness controls now work! Thanks @RehabMan!

What was I missing or doing wrong? I needed to rename GFX0 to IGPU. You can do that using Clover Configurator (it is one of the available patches (Acpi/DSDT/Patches - click on "List of patches") or you can edit the config.plist using your favourite editor changing config.plist/ACPI/DSDT/Patches to:
<key>Patches</key>
<array>
<dict>
<key>Comment</key>
<string>change GFX0 to IGPU</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
R0ZYMA==
</data>
<key>Replace</key>
<data>
SUdQVQ==
</data>
</dict>
</array>

To summarise the other steps:
  • Copy SSDT-PNLF.aml to EFI/ACPI/patched
  • Copy AppleBacklightFixup.kext to kexts/extensions

------ original post below ------
I have followed the instructions but I still do not have a brightness slider on the Systems Preferences -> Displays preference pane.

To recap, I copied the files (SSDT-PNLF.aml to EFI/ACPI/patched, AppleBacklightFixup.kext to EFI/..../kexts/extensions). I've rebooted many times. The kernel extension is installed:

17 0 0xffffff7f80e66000 0x3000 0x3000 com.hieplpvip.AppleBacklightFixup (1.0.2) 364D711A-CCC3-3CE3-B9CC-AE9F283A7DBA <16 8 6 5 3 2 1>
16 3 0xffffff7f80e43000 0x23000 0x23000 as.vit9696.Lilu (1.3.4) 9F9C2E70-2712-3EC1-8A38-A469BCD3F66F <8 6 5 3 2 1>

This did not work. I have no other backlight fixes. I don't know what DSDTs and SSDTs are but I have not added anything myself.

I tried updating clover.plist with the entries:
config.plist/Graphics/EDID/Inject=true
config.plist/Graphics/EDID/ProductID=0x9c7c
(This is now commented out in config.plist)

That did not help. I tried the "Devices/Properties/PciRoot(0)/Pci(0x02,0)" option but that caused my laptop to reboot in an infinite loop. (In the config.plist this is commented out at "#myProperties")

I tried combinations of the above (only Devices/Properties without Graphics/EDID, with both Devices/Properties and Graphics/EDID, with Graphics/EDID without Devices/Properties).

I also tried adding "SortedOrder" with "SSDT-PNLF.aml" in config.plist, but this made no difference.

I have read and re-read the instructions many times and I cannot see what I might be doing wrong.

I have used F2 and F4 in Clover and I see that many AML files have been dumped to CLOVER/ACPI/origin. Maybe something there provides a clue? I'd appreciate and pointers.

Setup
macOS: 10.14.3 Mojave
HP ProBook 450 G5 (laptop)
CPU: I5-8250 @ 1.6GHz
Intel HD 620
8GB RAM
Clover UEFI
Working: ethernet, graphics, sound, keyboard, trackpad (works as a mouse), camera, microphone
 

Attachments

  • CLOVER.zip
    2.8 MB · Views: 154
  • screenshots.zip
    11.3 MB · Views: 149
Last edited:
Joined
Feb 15, 2019
Messages
9
Motherboard
HP Pavilion 23-q120 All-in-One Desktop
CPU
i3-4170T/H81
Graphics
HD 4400
Hello,

I know the SSDT-PNLF.aml provided in the guide is to get laptop brightness working but I've actually used the provided SSDT-PNLF.aml on my AIO desktop to get my internal display backlight working and I'm wondering if that would cause any issues that I mentioned here https://www.tonymacx86.com/threads/need-help-with-low-unchangeable-brightness-after-wake-all-in-one-pc.271967/ since its meant for laptops.

again, I'm terribly sorry. I know its for laptops and I'm not exactly sure where to look for help since it has an internal display.

will be very grateful if someone can help me to the right direction. Thank You!
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,155
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hello guys, I need help. I've tried to fix my brightness in os Sierra, I installed applebacklightfix to /L/E, lily.kext in my folder kext/other, and SSDT-PNLF, but my brightness still won't work.
Here's my spec:
Acer 4739 core i 370M
Intel HD Graphics
Ram 4GB
Clover legacy
I also attached my config.list and ioreg
Thanks
"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
188,155
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
I have followed the instructions but I still do not have a brightness slider on the Systems Preferences -> Displays preference pane.

To recap, I copied the files (SSDT-PNLF.aml to EFI/ACPI/patched, AppleBacklightFixup.kext to EFI/..../kexts/extensions). I've rebooted many times. The kernel extension is installed:

17 0 0xffffff7f80e66000 0x3000 0x3000 com.hieplpvip.AppleBacklightFixup (1.0.2) 364D711A-CCC3-3CE3-B9CC-AE9F283A7DBA <16 8 6 5 3 2 1>
16 3 0xffffff7f80e43000 0x23000 0x23000 as.vit9696.Lilu (1.3.4) 9F9C2E70-2712-3EC1-8A38-A469BCD3F66F <8 6 5 3 2 1>

This did not work. I have no other backlight fixes. I don't know what DSDTs and SSDTs are but I have not added anything myself.

I tried updating clover.plist with the entries:
config.plist/Graphics/EDID/Inject=true
config.plist/Graphics/EDID/ProductID=0x9c7c
(This is now commented out in config.plist)

That did not help. I tried the "Devices/Properties/PciRoot(0)/Pci(0x02,0)" option but that caused my laptop to reboot in an infinite loop. (In the config.plist this is commented out at "#myProperties")

I tried combinations of the above (only Devices/Properties without Graphics/EDID, with both Devices/Properties and Graphics/EDID, with Graphics/EDID without Devices/Properties).

I also tried adding "SortedOrder" with "SSDT-PNLF.aml" in config.plist, but this made no difference.

I have read and re-read the instructions many times and I cannot see what I might be doing wrong.

I have used F2 and F4 in Clover and I see that many AML files have been dumped to CLOVER/ACPI/origin. Maybe something there provides a clue? I'd appreciate and pointers.

Setup
macOS: 10.14.3 Mojave
HP ProBook 450 G5 (laptop)
CPU: I5-8250 @ 1.6GHz
Intel HD 620
8GB RAM
Clover UEFI
Working: ethernet, graphics, sound, keyboard, trackpad (works as a mouse), camera, microphone
"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
188,155
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hello,

I know the SSDT-PNLF.aml provided in the guide is to get laptop brightness working but I've actually used the provided SSDT-PNLF.aml on my AIO desktop to get my internal display backlight working and I'm wondering if that would cause any issues that I mentioned here https://www.tonymacx86.com/threads/need-help-with-low-unchangeable-brightness-after-wake-all-in-one-pc.271967/ since its meant for laptops.

again, I'm terribly sorry. I know its for laptops and I'm not exactly sure where to look for help since it has an internal display.

will be very grateful if someone can help me to the right direction. Thank You!

I replied in your linked thread.

Hint: Custom LMAX matching the LMAX for your ig-platform-id data. Also, you may need custom data in AppleBacklightFixup.kext (Info.plist).
 
Joined
Feb 15, 2019
Messages
9
Motherboard
HP Pavilion 23-q120 All-in-One Desktop
CPU
i3-4170T/H81
Graphics
HD 4400
Wow thank you so much RehabMan! Ive been searching the issue for weeks. I will do as you suggested right away
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,155
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Wow thank you so much RehabMan! Ive been searching the issue for weeks. I will do as you suggested right away

Note that you'll need to refer to ig-platform dump to determine the PWMMax used by 0x0d220003.
 
Joined
Feb 23, 2019
Messages
10
Motherboard
HP 837D
CPU
i5-8250U
Graphics
UHD 620
Mac
  1. iMac
  2. MacBook Air
  3. MacBook Pro
Classic Mac
  1. iBook
Mobile Phone
  1. iOS
"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.
I have it working now, thanks to your documentation. I've updated my original post with the details. And thanks also for the tip about using the gen_debug.sh tool.
^_^
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,155
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
I have it working now, thanks to your documentation. I've updated my original post with the details. And thanks also for the tip about using the gen_debug.sh tool.
^_^

Great.
 
Top