Contribute
Register

[Guide] Patching DSDT/SSDT for LAPTOP backlight control

Many thanks to onejay09 who provided the files at this link: https://github.com/onejay09/osx

explained in
https://www.insanelymac.com/forum/t...s-control-nvidia-graphics-only-laptop/?page=4

Following his instructions, I created and installed a custom AppleBacklightInjector.kext, applied the PNLF patch to my DSDT and inserted my desired default backlight level in config.plist. After rebooting, backlight works perfectly.

Just wanted to report that onejay09's brightness fix is working for my Thinkpad T61 (Nvidia graphics) running High Sierra 10.13.5. My system is as follows:

  • OSX: High Sierra 10.13.5 (HFS+)
  • Laptop: Thinkpad T61 (Nvidia graphics)
  • CPU: Penryn T9300
  • Graphics: Nvidia Quadro NVS 140m (Nvidia web driver 387.10.10.10.35.106)
  • Bootloader: CLOVER (Legacy) r4509
  • RAM: 8GB DDR2
 
Hey folks, I'd like to get brightness control working on Mojave. I see that the method that worked both on Sierr and High Sierra no longer works. Any suggestions?
 
Hi Rehabman
I success to control backlight with slide bar (both 10.12.6 and 10.13.5) by read your guide https://www.tonymacx86.com/threads/...rol-using-applebacklightinjector-kext.218222/
And now, i try to patch backlight key control
On 10.12.6, the ACPI Event response for backlight is _Q66 method and i apply your patch
Code:
into method label BRT6 replace_content
begin
    If (LEqual (Arg0, One))\n
    {\n
// Brightness Up\n
        Notify (^^LPCB.PS2K, 0x0406)\n
    }\n
    If (And (Arg0, 0x02))\n
    {\n
// Brightness Down\n
        Notify (^^LPCB.PS2K, 0x0405)\n
    }\n
end;

and it works,
but on 10.13.5, no ACPI Event generate when i press my backlight control key, of course, i installed your ACPIDebug.kext and apply ACPI Debug patch as your guide

i try to apply old dsdt work on 10.12.6 for 10.13.5, but it not works

and on 10.13.5, the pixel depth is 24 bit instead 32 bit

my Clover in attachment

hope your answer my question
sorry for my English
Thanks
 

Attachments

  • CLOVER_dell_n3458.zip
    4.8 MB · Views: 128
Last edited:
Hi Rehabman
I success to control backlight with slide bar (both 10.12.6 and 10.13.5) by read your guide https://www.tonymacx86.com/threads/...rol-using-applebacklightinjector-kext.218222/
And now, i try to patch backlight key control
On 10.12.6, the ACPI Event response for backlight is _Q66 method and i apply your patch
Code:
into method label BRT6 replace_content
begin
    If (LEqual (Arg0, One))\n
    {\n
// Brightness Up\n
        Notify (^^LPCB.PS2K, 0x0406)\n
    }\n
    If (And (Arg0, 0x02))\n
    {\n
// Brightness Down\n
        Notify (^^LPCB.PS2K, 0x0405)\n
    }\n
end;

and it works,
but on 10.13.5, no ACPI Event generate when i press my backlight control key, of course, i installed your ACPIDebug.kext and apply ACPI Debug patch as your guide

i try to apply old dsdt work on 10.12.6 for 10.13.5, but it not works

and on 10.13.5, the pixel depth is 24 bit instead 32 bit

my Clover in attachment

hope your answer my question
sorry for my English
Thanks

Your Dell probably uses BRT6.
Read the guide carefully.
 
Your Dell probably uses BRT6.
Read the guide carefully.
Thanks for your reply
i don't understand why on 10.13.5, it not generate any ACPI Event method for backlight key but on 10.12.6 is generate _Q66
On 10.13.5, when i press backlight key, backlight was change but not synchronize with slide bar and not show the brightness icon on screen
 
Thanks for your reply
i don't understand why on 10.13.5, it not generate any ACPI Event method for backlight key but on 10.12.6 is generate _Q66
On 10.13.5, when i press backlight key, backlight was change but not synchronize with slide bar and not show the brightness icon on screen

Your ACPI configuration is wrong.
OSID not patched for _OSI("Darwin").
Looks like you're trying to use SSDT-XOSI.aml, but you forgot to enable the OSID->XSID and _OSI->XOSI patches in config.plist/ACPI/DSDT/Patches.
 

Attachments

  • IMG-2524.JPG
    IMG-2524.JPG
    3.5 MB · Views: 223
  • IMG-2526.JPG
    IMG-2526.JPG
    4.4 MB · Views: 287
Back
Top