Contribute
Register

[Guide] Laptop backlight control using AppleBacklightFixup.kext

You should do a fresh install. Something must be setting your brightness level after boot.
Note: I don't see anything wrong regarding backlight restore in this config.plist.

i have tried doing a fresh install to same issues...waiting for u to update IntelBacklight
 
Here is what I tried. I removed custom part. just left Inject Edid true.
- I restarted laptop
- I saw low resolution on boot screen.
- Continued with boot but black screen afterwards cant see desktop.
- Shutdown computer by pushing power button.
- Start computer
- Again same low resolution.
- I selected my backup config named config1 which has native EDID
- Computer booted and I saw the desktop.

I attached faulty clover config and clover bootlog
 

Attachments

  • Archive.zip
    9.5 KB · Views: 97
Hello. So I just updated to 10.12.4 and as expected, my laptop's brightness control stopped working (it stayed at 100% throughout the slider). I followed this guide, rebooted, rebuilt caches, rebooted again, rebuilt caches again, but I'm not even getting brightness controls anymore, no slider on the Display prefpane either. I must be doing something wrong. Here's my files. Thanks for helping.

Code:
Mhks-MacBook-Pro:RehabMan mhk$  sudo touch /System/Library/Extensions && sudo kextcache -u /
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleBacklightInjector.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext SATSMARTDriver.kext
kext file:///System/Library/Extensions/MotMobileUSB.kext/Contents/PlugIns/MotMobileUSBSwch.kext/ is in hash exception list, allowing to load
kext file:///System/Library/Extensions/MotMobileUSB.kext/Contents/PlugIns/MotMobileUSBLANMerge.kext/ is in hash exception list, allowing to load
kext file:///System/Library/Extensions/MotMobileUSB.kext/Contents/PlugIns/MotMobileMTP.kext/ is in hash exception list, allowing to load
kext file:///System/Library/Extensions/MotMobileUSB.kext/Contents/PlugIns/MotMobileMS.kext/ is in hash exception list, allowing to load
kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleHDAHardwareConfigDriver.kext
kext-dev-mode allowing invalid signature -67061 0xFFFFFFFFFFFEFA0B for kext AppleHDA.kext
KernelCache ID: 5204E93F6D439D0D1A00F2F53E98B2AC
Mhks-MacBook-Pro:RehabMan mhk$  kextstat|grep -y acpiplat
   13    2 0xffffff7f83158000 0x60000    0x60000    com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>
Mhks-MacBook-Pro:RehabMan mhk$ kextstat|grep -y appleintelcpu
   24    0 0xffffff7f82d6a000 0x2b000    0x2b000    com.apple.driver.AppleIntelCPUPowerManagement (219.0.0) C2841490-D1F6-30D4-AC81-48D63A8FA04C <7 6 5 4 3 1>
   33    0 0xffffff7f82d65000 0x3000     0x3000     com.apple.driver.AppleIntelCPUPowerManagementClient (219.0.0) B802638B-251C-3602-BA8C-001F87228765 <7 6 5 4 3 1>
Mhks-MacBook-Pro:RehabMan mhk$ kextstat|grep -y applelpc
  111    0 0xffffff7f82a3e000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <94 12 5 4 3>
Mhks-MacBook-Pro:RehabMan mhk$ kextstat|grep -y applehda
  107    1 0xffffff7f82e0f000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (278.56) CFB0D0AE-F09A-3660-8F95-7A02FD5FBF07 <106 87 80 12 7 6 5 4 3 1>
  127    0 0xffffff7f82f91000 0xb4000    0xb4000    com.apple.driver.AppleHDA (278.56) A4EB06C9-A40A-39EF-9C4A-D7F23DB9A2F9 <126 107 106 91 87 80 6 5 4 3 1>
  128    0 0xffffff7f82e0b000 0x2000     0x2000     com.apple.driver.AppleHDAHardwareConfigDriver (278.56) 06C594F4-3E5D-3BF4-A783-90C741DAA3F0 <4 3>
Mhks-MacBook-Pro:RehabMan mhk$
 

Attachments

  • Archive.zip
    4 MB · Views: 88
Here is what I tried. I removed custom part. just left Inject Edid true.
- I restarted laptop
- I saw low resolution on boot screen.
- Continued with boot but black screen afterwards cant see desktop.
- Shutdown computer by pushing power button.
- Start computer
- Again same low resolution.
- I selected my backup config named config1 which has native EDID
- Computer booted and I saw the desktop.

I attached faulty clover config and clover bootlog

It is easy to see that Clover cannot detect your EDID:
Code:
15:163  0:000  EdidDiscovered size=0

Probably due to buggy BIOS/VESA code. Par for the course with Sony...
 
It is easy to see that Clover cannot detect your EDID:
Code:
15:163  0:000  EdidDiscovered size=0

Probably due to buggy BIOS/VESA code. Par for the course with Sony...

For anybody who uses CustomEDID, EDID patch is necessary. That is all I am saying. I guess finally we agreed that Clover can't inject EDID for whatever reason. This laptop btw correctly boots with Ubuntu and Windows without any EDID patch, that is why I believe that this is a bug from Clover side. Anyway, I guess that is the way it is. I hope this knowledge can help other people who has trouble of selecting correct product id due to buggy EDID. Have a nice day/night. It is 4 AM here. Good bye.
 
For anybody who uses CustomEDID, EDID patch is necessary. That is all I am saying.

Not really.
If the display id already in the EDID causes no problem, then nothing more need be done. It is only if brightness doesn't work, that it is worth a try to patch the id.

And there are probably a lot of people using EDID/Custom or CustomEDID when they don't need to (eg. Clover EDID detection works most of the time). And in that case, they should be encouraged to use just EDID/Inject=true, with EDID/ProductID=0x1111. It is only in the rare case that Clover cannot detect EDID that EDID/Custom with patched id must be used.

I guess finally we agreed that Clover can't inject EDID for whatever reason.

Yes, of course this would have been easier if you had stated this at the outset. But then again, this is the first time you're looking at your Clover bootlog, so we really only just now confirmed this.

This laptop btw correctly boots with Ubuntu and Windows without any EDID patch, that is why I believe that this is a bug from Clover side.

Windows and Ubuntu will not be getting EDID from BIOS/VESA. They will get it from IGPU hardware. And the drivers there probably have some additional code to work more generally than the OS X/macOS drivers do. After all, OS X/macOS only has to work with Apple hardware. It means a lot of special cases and workarounds are not present in the Apple software.

Anyway, I guess that is the way it is. I hope this knowledge can help other people who has trouble of selecting correct product id due to buggy EDID. Have a nice day/night. It is 4 AM here. Good bye.

Thanks for hanging in there to get to the bottom of it.
I can't write about something without a complete understanding...
The problem with your Clover EDID detection was the final missing chunk of information.
Note that it also would have been quicker if even in failed attempts, full "Problem Reporting" files were provided...
 
Make sure you installed current "RC scripts".

No "Problem Reporting" files attached.
How am gonna make sure of installing current RC scripts? I installed Clover_v2.4k_r4049 and it seems it's up to date. Do other parts of Clover update without Clover itself?

Problem Report attached.

Thanks.
 

Attachments

  • Problem Report Native PM AEs MBP.zip
    4.9 MB · Views: 58
How am gonna make sure of installing current RC scripts? I installed Clover_v2.4k_r4049 and it seems it's up to date. Do other parts of Clover update without Clover itself?

Problem Report attached.

Thanks.

The Clover installer only installs what you ask it to install via "Customize".
It is your responsibility to make sure you have the correct selections there.

Your Clover bootlog shows this for backlight-level:
Code:
0:258  0:000   Adding Key: backlight-level: Size = 2, Data: F7 00

Does it correspond to last brightness level you set?
 
i have tried doing a fresh install to same issues...waiting for u to update IntelBacklight

same problem..seems this issue affect on dell laptop only
 
same problem..seems this issue affect on dell laptop only

i have tried doing a fresh install to same issues...waiting for u to update IntelBacklight

Problem is I look at all of each of your recent posts here and neither of you have uploaded any "Problem Reporting" files.
 
Back
Top