Contribute
Register

[Guide] Laptop backlight control using AppleBacklightFixup.kext

rehabman here are my problem reporting files....my issue is my brightness resets to maximum after every reboot or even if i shutdown & switch on back....

thank you
 

Attachments

  • Archive.zip
    4.8 MB · Views: 109
Thx again@RehabMan :clap:

i hope finally understand what you told to me, now i can control the brightness.

In my case (lenovo y700 laptop) should i enable "Inject EDID"? Or is ok to let it disable? Because is it works anyway.
On a hackintosh laptop brightness buttons doesn't work? (i try F1 and F2 and turn off my screen)

Here are my files, hopefully they are ok now.
 

Attachments

  • Archive.zip
    1.9 MB · Views: 80
rehabman here are my problem reporting files....my issue is my brightness resets to maximum after every reboot or even if i shutdown & switch on back....

thank you

You should test your NVRAM (you're using native NVRAM).
 
Thx again@RehabMan :clap:

i hope finally understand what you told to me, now i can control the brightness.

In my case (lenovo y700 laptop) should i enable "Inject EDID"? Or is ok to let it disable? Because is it works anyway.
On a hackintosh laptop brightness buttons doesn't work? (i try F1 and F2 and turn off my screen)

Here are my files, hopefully they are ok now.

No need to inject EDID if everything is working.
Brightness key implementation is covered in the main brightness guide linked from the FAQ.
 
You should not expect the backlight level to restore until macOS boots.
My suggestion:
- fresh install
- make sure your NVRAM configuration is correct (EmuVariable + "RC scripts")
- do CMOS reset
- test result

I'm going to do fresh install after I fix as much as issue I can. Right now I have:
  1. Backlight max brightness issue on every reboot
  2. Keyboard keys (Fn+F4/F5) for brightness level (audio keys are working for some reason)
  3. Keyboard keys in general (Shift+Left/Right arrow keys also activate Volume +/- ?!)
  4. No sound
  5. Power Management v2 (I did the Native PM but you told me to disable NVidia h/w too and it will fix 1.30GHz base CPU clock speed issue which should be 500MHz and 500MHz IGPU base clock speed issue which should be 300MHz. I still don't understand How disabling NVidia should/will fix CPU and IGPU base clock frequencies though)
  6. Wake up blank screen issue after sleep
  7. Screen glitch on Apple Logo Loading screen. I set CSM On in Bios to make it work but it's not a real solution.
  8. Touchpad (Elan custom kext) odd settings registering issue (2 finger tap to right click menu is selected but on everyboot it switches to 3 finger tap like there is a settings for that but there is not. Deselecting and reselecting 2 finger tap to right click menu option fixes the issue but it resets on the next boot)
  9. It would be great to find a way to make dual GPU system work too. We can count this one as a wish. :)

Besides as far as I see people are having the same full brightness issue like me on both this thread and on separate threads like:
https://www.tonymacx86.com/threads/nvram-issues-no-backlight-memory-after-start-up.218577/

While I'm fixing other issue I'll watch that link for a potential fix for max brightness.

Thanks.
 
I followed the instructions in first post, still brightness doesn't work and there is no slider in system preferences.
 

Attachments

  • CLOVER.zip
    1.4 MB · Views: 86
I followed the instructions in first post, still brightness doesn't work and there is no slider in system preferences.

Read post #1. Carefully.

Hint: You have AddPNLF_1000000 in your config.plist!
 
Read post #1. Carefully.

Hint: You have AddPNLF_1000000 in your config.plist!
I removed it. still brightness doesn't work.

edit1: attached CLOVER
 

Attachments

  • CLOVER.zip
    1.4 MB · Views: 123
I removed it. still brightness doesn't work.

edit1: attached CLOVER

You did not rename GFX0->IGPU.
It is a requirement of SSDT-IGPU.aml... clearly stated in post #1.
Please read carefully.

Also, you must provide all "Problem Reporting" files as per post #1, "Problem Reporting" (but so far your mistakes are obvious from looking at your Clover setup)
 
You did not rename GFX0->IGPU.
It is a requirement of SSDT-IGPU.aml... clearly stated in post #1.
Please read carefully.

Also, you must provide all "Problem Reporting" files as per post #1, "Problem Reporting" (but so far your mistakes are obvious from looking at your Clover setup)

1. Now I patched DSDT with 'rename gfx0 to igpu' patch with maciasl
2. Installed AppleBacklightInjector.kext to L/E
3. Placed patched DSDT, copied SSDT-PNLF.aml and SSDT_IGPU.aml from build to ACPI/patched
4. Added patch 'change F%uT%04x to F%uTxxxx in AppleBacklightInjector.kext (credit RehabMan)' to clover config.

I get restricted symbol during boot with patched DSDT files (DSDT.aml,SSDT-PNLF.aml,SSDT-IGPU.aml).
I have to remove those three files to restore boot.

Thankyou.
 

Attachments

  • kextcache.txt
    720 bytes · Views: 104
  • CLOVER.zip
    1.4 MB · Views: 114
  • unpatched_dsdt:ssdt.zip
    65.4 KB · Views: 90
  • kextstat.zip
    681 bytes · Views: 91
  • IOREG.zip
    138 bytes · Views: 84
Back
Top