Contribute
Register

[Guide] Laptop backlight control using AppleBacklightFixup.kext

Your ioreg shows AppleBacklight not patched.
Not 100% sure what this shows but it looks like it is patching it.

EDIT: On a side note, after I posted above and said I was going to edit my signature, I made the signature edit and saved it then my account was deleted? reached my username and found old posts that all say I'm a guest. I recreated the account with the same exact username but I lost my signature. Not sure how that happened.
 

Attachments

  • FullSizeRender.jpg.jpeg
    FullSizeRender.jpg.jpeg
    160.3 KB · Views: 116
Then add the other Txxx profiles (with M/L/D/LD/DL suffix) to AppleBacklightInjector Info.plist
F14TxxxxM
F14TxxxxL
F14TxxxxD
F14TxxxxLD
F14TxxxxDL

Do I just add new children to the ApplePanels with these Keys? What about the Values?
 

Attachments

  • Screen Shot 2017-04-30 at 9.31.55 AM.png
    Screen Shot 2017-04-30 at 9.31.55 AM.png
    210.8 KB · Views: 113
Yes/use same data as for F14Txxxx.
Made these changes. Debug message now says patched 6 times, however, still no brightness control (slider or keys).

EDIT: Also still no backlight when wake from sleep. Typing this with a flashlight :lol:
 
Made these changes. Debug message now says patched 6 times, however, still no brightness control (slider or keys).

EDIT: Also still no backlight when wake from sleep. Typing this with a flashlight :lol:

Read post #1, "Problem Reporting".
 

Attachments

  • Help.zip
    11.9 MB · Views: 88
re-assembled signature and compiled all files in new "help.zip" attached

Your ioreg shows that the modified AppleBacklightInjector.kext is not installed.

Also, note kextcache output (super obvious problem...):
Code:
AppleBacklightInjector.kext has incorrect permissions; omitting.

You might want to find out where AppleBacklightInjector (the old one) is loading from, because obviously, it is still installed somewhere... (as per data in ioreg).
 
Also, note kextcache output (super obvious problem...):
Sorry, I did notice that and had fixed it but forgot to update that part of the attachment. See below:

Code:
Last login: Sun Apr 30 10:45:50 on console
ScubaMac:~ Steven$ sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleBacklightInjector.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Trackpad.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Mouse.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Keyboard.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Controller.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooHDA.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext toledaARPT.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext LPCSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext GPUSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext CPUSensors.kext
kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext
kext file:///System/Library/Extensions/AppleHDADisabler.kext/ is in hash exception list, allowing to load
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPISensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext
KernelCache ID: F99012D83F21B8218BD244ACFEF2357B
ScubaMac:~ Steven$
Also attaching current IOReg.
 

Attachments

  • MacBook Pro.ioreg
    3.5 MB · Views: 108
Sorry, I did notice that and had fixed it but forgot to update that part of the attachment. See below:

Code:
Last login: Sun Apr 30 10:45:50 on console
ScubaMac:~ Steven$ sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleBacklightInjector.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Trackpad.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Mouse.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Keyboard.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Controller.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooHDA.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext toledaARPT.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext LPCSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext GPUSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext CPUSensors.kext
kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext
kext file:///System/Library/Extensions/AppleHDADisabler.kext/ is in hash exception list, allowing to load
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPISensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext
KernelCache ID: F99012D83F21B8218BD244ACFEF2357B
ScubaMac:~ Steven$
Also attaching current IOReg.

Still none of the profiles in ApplePanels matches what the system is expecting.
You will need to experiment with other profiles... note:
Code:
SPEEDY-NUC:Downloads rehabman$ strings /System/Library/Extensions/AppleBacklight.kext/Contents/MacOS/AppleBacklight 
AppleIntelPanel
IOACPIPlatformDevice
_UID
ApplePanels
ApplePanel
DisplayProductID
F%uP%04x
F%uT%04xM
F%uT%04xL
F%uT%04xD
F%uT%04xLD
F%uT%04xDL
F%uT%04x
AppleSense
F%uS%04x
Default
AppleIntelPanelA
MacBook
AAPL,display-alias
iMac
AppleBacklightAtBoot
AppleRestoreBacklight
ApplePanelRawBrightness
AppleMaxBrightness
com.apple.driver.AppleBacklight
1.0.0d1
 
Back
Top