Contribute
Register

[Guide] Laptop backlight control using AppleBacklightFixup.kext

Joined
Mar 9, 2015
Messages
84
Motherboard
Dell Inspiron 15 3521
CPU
Intel i3 3rd Gen 3227U
Graphics
Intel HD Graphics HD4000 1024 MB
Mac
Classic Mac
Mobile Phone
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: 79
Joined
Mar 21, 2017
Messages
17
Motherboard
Allsparks 5A
CPU
i7-6700hq
Graphics
Intel HD530 + nVidia GTX 960m
Mobile Phone
  1. iOS
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: 68

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,517
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
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).
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,517
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
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.
 
Joined
Feb 23, 2017
Messages
274
Motherboard
MSI H97 GAMING 3
CPU
i5-4690
Graphics
HD 4600 & GTX 650 Ti
Mobile Phone
  1. iOS
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.
 
Joined
Feb 10, 2017
Messages
12
Motherboard
asus p5kpl-am/ps
CPU
intel e5200
Graphics
radeon HD 7750
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: 76

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,517
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
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!
 
Joined
Feb 10, 2017
Messages
12
Motherboard
asus p5kpl-am/ps
CPU
intel e5200
Graphics
radeon HD 7750
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: 110

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,517
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
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)
 
Joined
Feb 10, 2017
Messages
12
Motherboard
asus p5kpl-am/ps
CPU
intel e5200
Graphics
radeon HD 7750
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: 91
  • CLOVER.zip
    1.4 MB · Views: 98
  • unpatched_dsdt:ssdt.zip
    65.4 KB · Views: 78
  • kextstat.zip
    681 bytes · Views: 76
  • IOREG.zip
    138 bytes · Views: 70
Top