Contribute
Register

[Guide] Laptop backlight control using AppleBacklightFixup.kext

Joined
Apr 7, 2015
Messages
44
Motherboard
Gigabyte Aero 15 OLED YA
CPU
i9-9980HK
Graphics
UHD 630, RTX 2080 Max-Q, 3840x2160
Mac
  1. Mac mini
Mobile Phone
  1. iOS
What you have there is nonsense.

EDID is 128 bytes of data. You must extract entire 128 bytes, then change just the ProductID, recalculate checksum, then inject the entire patched 128 bytes.

Alright. I'm having a look at the guide with tosbaha's ruby script.
 
Joined
Apr 7, 2015
Messages
44
Motherboard
Gigabyte Aero 15 OLED YA
CPU
i9-9980HK
Graphics
UHD 630, RTX 2080 Max-Q, 3840x2160
Mac
  1. Mac mini
Mobile Phone
  1. iOS
What you have there is nonsense.

EDID is 128 bytes of data. You must extract entire 128 bytes, then change just the ProductID, recalculate checksum, then inject the entire patched 128 bytes.

I guess it should look something like this?
Screenshot 2018-10-10 at 15.31.11.png
 
Joined
Apr 7, 2015
Messages
44
Motherboard
Gigabyte Aero 15 OLED YA
CPU
i9-9980HK
Graphics
UHD 630, RTX 2080 Max-Q, 3840x2160
Mac
  1. Mac mini
Mobile Phone
  1. iOS
What you have there is nonsense.

EDID is 128 bytes of data. You must extract entire 128 bytes, then change just the ProductID, recalculate checksum, then inject the entire patched 128 bytes.

Yay, it worked! Brightness keys are already working but I suppose that's because I'm using a bluetooth apple keyboard? It does appear that my screen colours are a little off now, any idea what the cause of this could be? Also, is there a fix to enable smooth transitions between brightness levels?
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,100
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Alright. I'm having a look at the guide with tosbaha's ruby script.

Because it is unfortunate to lose Clover's EDID features at config.plist/Graphics/EDID, I'm looking at adding some special cases for the Devices/Properties code. It is already done for Graphics/ig-platform-id, Graphics/snb-platform-id, in that Clover will "fixup" any Devices/Properties values that have "-platform-id" in them with the value specified by Graphics/ig-platform-id or Graphics/snb-platform-id. It is all a bit ugly and an unfortunate side effect of the poor design in Clover's property injection code.
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,100
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Yay, it worked! Brightness keys are already working but I suppose that's because I'm using a bluetooth apple keyboard?

Yeah, probably built-in support for that keyboard. Brightness keys on the laptop will require appropriate ACPI patching.

It does appear that my screen colours are a little off now, any idea what the cause of this could be?

Maybe there is a display override for that monitor (0x9c7c) or a color profile. Color profile can be changed in SysPrefs->Displays. And a display override could be deleted or replaced.

Also, is there a fix to enable smooth transitions between brightness levels?

No.
 
Joined
Apr 7, 2015
Messages
44
Motherboard
Gigabyte Aero 15 OLED YA
CPU
i9-9980HK
Graphics
UHD 630, RTX 2080 Max-Q, 3840x2160
Mac
  1. Mac mini
Mobile Phone
  1. iOS
Yeah, probably built-in support for that keyboard. Brightness keys on the laptop will require appropriate ACPI patching.

Maybe there is a display override for that monitor (0x9c7c) or a color profile. Color profile can be changed in SysPrefs->Displays. And a display override could be deleted or replaced.

No.

Changed color profile and it looks fine now.
 

mhk

Joined
Oct 8, 2018
Messages
10
Motherboard
HP Probook 6470b (179c) - Clover
CPU
i5-3320M
Graphics
HD 4000, 1600x900
Mobile Phone
  1. iOS
Your ioreg shows ACPIBacklight.kext installed. As per post #1, ACPIBacklight.kext and IntelBacklight.kext cannot be used since 10.12.4.

Read post #1.

Thanks for your reply.
I check kexts and generate new zip because still no effect. Elier in HS I just add "backlight" in DSDT and just run excellent. After update from beta backlight gone but Jmicron SDcard reader start work and I do nothing to run it. Just start and work great.
Maybe I just something mess up :crazy: when I repair backlight.
I'll be grateful if you look on this one more time.
 

Attachments

  • debug_12013.zip
    3.8 MB · Views: 47

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,100
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Thanks for your reply.
I check kexts and generate new zip because still no effect. Elier in HS I just add "backlight" in DSDT and just run excellent. After update from beta backlight gone but Jmicron SDcard reader start work and I do nothing to run it. Just start and work great.
Maybe I just something mess up :crazy: when I repair backlight.
I'll be grateful if you look on this one more time.

Your kextcache shows ACPIBacklight.kext installed. Plain as day:
Code:
Kext with invalid signatured (-67062) allowed: <OSKext 0x7faea6abe8a0 [0x7fffa8f208e0]> { URL = "ACPIBacklight.kext/ -- file:///System/Library/Extensions/", ID = "com.darwin.driver.ACPIBacklight" }

Follow Probook guide as written:
https://www.tonymacx86.com/threads/...book-zbook-using-clover-uefi-hotpatch.261719/
 

mhk

Joined
Oct 8, 2018
Messages
10
Motherboard
HP Probook 6470b (179c) - Clover
CPU
i5-3320M
Graphics
HD 4000, 1600x900
Mobile Phone
  1. iOS
Your kextcache shows ACPIBacklight.kext installed. Plain as day:
Code:
Kext with invalid signatured (-67062) allowed: <OSKext 0x7faea6abe8a0 [0x7fffa8f208e0]> { URL = "ACPIBacklight.kext/ -- file:///System/Library/Extensions/", ID = "com.darwin.driver.ACPIBacklight" }

Follow Probook guide as written:
https://www.tonymacx86.com/threads/...book-zbook-using-clover-uefi-hotpatch.261719/


:banghead: Sorry I don't no why I don't delete this :oops:
Ok. Last chance for me.
I'm learning everything from the scratch.

Slider gone this time.
 

Attachments

  • debug_9755.zip
    3.7 MB · Views: 45

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,100
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Top