Contribute
Register

[Guide] Laptop backlight control using AppleBacklightFixup.kext

I got the post wrong, sorry. Now installed all kexts to S/L/E. now I don't understand why the changes I directly made to plist don't show up in Clover and are ignored on boot.
 

Attachments

  • debug_16177.zip
    3.2 MB · Views: 121
I got the post wrong, sorry. Now installed all kexts to S/L/E. now I don't understand why the changes I directly made to plist don't show up in Clover and are ignored on boot.

As per FAQ, on 10.11 and later, kexts should be installed to /L/E, not /S/L/E.

You still have misspelled KextsToPatch in your config.plist (you have #KextsToPatch). Clover will not read #KextsToPatch.
Look at your config.plist carefully and it will be obvious.

I don't know which "changes" you're referring to, nor what you mean by "show up in Clover".
 
Thanks very much for your patience. Now it works.
 
Ambient Light Sensor

Some laptops have an ambient light sensor device defined in DSDT. This will interfere with backlight restore as they don't tend to be compatible with macOS/OS X ambient light sensor driver (those drivers have Mac SMC dependencies).

Such devices should be disabled by causing _STA to return zero.

You can check your DSDT for an ambient light sensor (could be in an SSDT too) by looking for its _HID identifier: ACPI0008.

For example:
You can edit the _STA method so it returns zero:
how do I get "Automatically adjust brightness" option in SysPrefs->Displays?
no '_HID identifier: ACPI0008' in DSDT and SSDTs.
 

Attachments

  • debug_15133.zip
    1.4 MB · Views: 153
  • Screen Shot 2018-04-20 at 7.48.57 PM.png
    Screen Shot 2018-04-20 at 7.48.57 PM.png
    104.6 KB · Views: 225
how do I get "Automatically adjust brightness" option in SysPrefs->Displays?

It comes from having an ALS device (ambient light sensor).
You can read about it in the ACPI specification.
 
It comes from having an ALS device (ambient light sensor).
You can read about it in the ACPI specification.
should I use SSDT-ALS0.aml?
 
As per post #1, only if necessary to correct restore of backlight level after reboot.
Ambient Light Sensor is showing in my laptop BIOS.
But it is disabled by default.
Should I enable it?
 

Attachments

  • 20180420_203605.jpg
    20180420_203605.jpg
    221.8 KB · Views: 158
Ambient Light Sensor is showing in my laptop BIOS.
But it is disabled by default.
Should I enable it?

Is this unlocked BIOS or stock BIOS?
You could try enabling it, but if the hardware isn't actually present, it won't work (not even in Windows).
And it is unlikely to work in macOS as Apple's implementation seems to depend on Apple specific/secret things in the SMC.
 
Back
Top