Contribute
Register

[Guide] Laptop backlight control using AppleBacklightFixup.kext

Joined
Mar 17, 2018
Messages
7
Motherboard
Acer Aspire V3 771G Laptop
CPU
i3-3210M
Graphics
Intel HD4000 (Optimus Nvidia 650M)
Mobile Phone
  1. iOS
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: 109

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,775
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
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".
 
Joined
Mar 17, 2018
Messages
7
Motherboard
Acer Aspire V3 771G Laptop
CPU
i3-3210M
Graphics
Intel HD4000 (Optimus Nvidia 650M)
Mobile Phone
  1. iOS
Thanks very much for your patience. Now it works.
 
Joined
Oct 7, 2016
Messages
268
Motherboard
Broadwell, UEFI
CPU
Core i3-5005U
Graphics
Intel HD 5500 (1366 x 768), AMD Radeon R5 M330 2GB
Mobile Phone
  1. Android
  2. iOS
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: 144
  • 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: 220

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,775
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
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.
 
Joined
Oct 7, 2016
Messages
268
Motherboard
Broadwell, UEFI
CPU
Core i3-5005U
Graphics
Intel HD 5500 (1366 x 768), AMD Radeon R5 M330 2GB
Mobile Phone
  1. Android
  2. iOS
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?
 
Joined
Oct 7, 2016
Messages
268
Motherboard
Broadwell, UEFI
CPU
Core i3-5005U
Graphics
Intel HD 5500 (1366 x 768), AMD Radeon R5 M330 2GB
Mobile Phone
  1. Android
  2. iOS
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: 154

RehabMan

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