Contribute
Register

[Guide] Laptop backlight control using AppleBacklightFixup.kext

Your laptop probably does not use the IGPU PWM registers to control backlight, therefore not compatible with AppleBacklight.kext.
Ok, so any suggestions to get the backlight working?
 
Ok, so any suggestions to get the backlight working?

Assuming your laptop has good Win8 support, El Capitan + ACPIBacklight.kext + "Brightness Fix (ACPI 100)".
Otherwise, you may need custom PNLF patch specific to your computer.
 
Assuming your laptop has good Win8 support, El Capitan + ACPIBacklight.kext + "Brightness Fix (ACPI 100)".
Otherwise, you may need custom PNLF patch specific to your computer.
Ok, so if I reading that right, its a no go on Sierra?
At one point a couple days ago before i made changes brightness did work with Brightness by Berg Design, but it no longer works now.
 
Ok, so if I reading that right, its a no go on Sierra?

Correct. As per post #1, ACPIBacklight.kext, like IntelBacklight.kext, does not work with the system provided controls on 10.12.4+ (they both still work with Brightness by bergdesign).

At one point a couple days ago before i made changes brightness did work with Brightness by Berg Design, but it no longer works now.

Depends a lot on what you mean by "made changes".
As I mention before, if your laptop does not use the IGPU PWM registers to control the backlight, ACPIBacklight.kext can be used. And ACPIBacklight.kext will work with Brightness by bergdesign, but still your slider in SysPrefs->Displays will not work on 10.12.4+.
 
Correct. As per post #1, ACPIBacklight.kext, like IntelBacklight.kext, does not work with the system provided controls on 10.12.4+ (they both still work with Brightness by bergdesign).



Depends a lot on what you mean by "made changes".
As I mention before, if your laptop does not use the IGPU PWM registers to control the backlight, ACPIBacklight.kext can be used. And ACPIBacklight.kext will work with Brightness by bergdesign, but still your slider in SysPrefs->Displays will not work on 10.12.4+.
ACPIBacklight.kext made Brightness by bergdesign work again. Ill live with that. Better than nothing.
 
Followed the guide, cannot seem to get brightness to work
(currently have an invalid-ig-platform (0x12345678) if that affects anything)

Alos-MacBook-Air:RehabMan aloau$ kextstat|grep -y acpiplat

13 2 0xffffff7f82798000 0x66000 0x66000 com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>

Alos-MacBook-Air:RehabMan aloau$ kextstat|grep -y appleintelcpu

Alos-MacBook-Air:RehabMan aloau$ kextstat|grep -y applelpc

105 0 0xffffff7f81fc2000 0x3000 0x3000 com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <86 12 5 4 3>

Alos-MacBook-Air:RehabMan aloau$ kextstat|grep -y applehda

92 1 0xffffff7f82485000 0x1d000 0x1d000 com.apple.driver.AppleHDAController (279.48) ED51F180-19C8-3DE1-AF81-0E389D98ADDE <91 90 73 12 7 6 5 4 3 1>

116 0 0xffffff7f82607000 0xb5000 0xb5000 com.apple.driver.AppleHDA (279.48) 806B8C17-50CA-3C6B-90B3-195F38D8FB89 <115 92 91 90 77 73 6 5 4 3 1>

117 0 0xffffff7f82481000 0x2000 0x2000 com.apple.driver.AppleHDAHardwareConfigDriver (279.48) 14690424-1048-3F1D-8A3D-41657C97EB67 <4 3>

Alos-MacBook-Air:RehabMan aloau$



Alos-MacBook-Air:RehabMan aloau$ 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 -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext

KernelCache ID: 8F8F286E0E5F4FA11BE7F267163885C5

Alos-MacBook-Air:RehabMan aloau$
 

Attachments

  • Alo’s MacBook Air.ioreg
    2.1 MB · Views: 78
  • RehabMan.zip
    34.1 KB · Views: 81
  • CLOVER.zip
    1.9 MB · Views: 77
Followed the guide, cannot seem to get brightness to work
(currently have an invalid-ig-platform (0x12345678) if that affects anything)

Brightness cannot be implemented without proper graphics support.
Get your graphics working correctly first.
 
@RehabMan - I've recently upgraded my T440s to Sierra and I have it mostly working. I was able to apply this new brightness patch to get brightness working.

However, my key mappings (which I found from a guide on this site) are no longer correct. I was able to follow the ACPI-Keyboard guide to figure out which keys are mapping to which method in my EC device using the intercept method:
Mute: _Q43
Microphone Mute: _Q6A
Brightness Down: _Q15
Brightness Up: _Q14
Projector?: _Q16
Wifi Switch: _Q64
Settings: _Q66
Search: _Q67
View Programs: _Q68
View ALL Programs: _Q69

But where I'm confused is learning how to know what to put in these methods. Am I supposed to keep the RMKB device in my DSDT and then play around with the values in the ACPIKeyboard.cpp to invoke brightness? The older patches I found from Yosemite (https://www.tonymacx86.com/threads/lenovo-t440s-working-fn-keys.158288/) are calling the KBD device directly.

Some guidance would be helpful!
 
@RehabMan - I've recently upgraded my T440s to Sierra and I have it mostly working. I was able to apply this new brightness patch to get brightness working.

However, my key mappings (which I found from a guide on this site) are no longer correct. I was able to follow the ACPI-Keyboard guide to figure out which keys are mapping to which method in my EC device using the intercept method:
Mute: _Q43
Microphone Mute: _Q6A
Brightness Down: _Q15
Brightness Up: _Q14
Projector?: _Q16
Wifi Switch: _Q64
Settings: _Q66
Search: _Q67
View Programs: _Q68
View ALL Programs: _Q69

But where I'm confused is learning how to know what to put in these methods. Am I supposed to keep the RMKB device in my DSDT and then play around with the values in the ACPIKeyboard.cpp to invoke brightness? The older patches I found from Yosemite (https://www.tonymacx86.com/threads/lenovo-t440s-working-fn-keys.158288/) are calling the KBD device directly.

Some guidance would be helpful!

Brightness keys are off-topic here.
See guide:
https://www.tonymacx86.com/threads/guide-patching-dsdt-ssdt-for-laptop-backlight-control.152659/
 
Back
Top