Jump to content
hus2020

LCD Brightness Value Reset after every boot

Recommended Posts

I am having problem with my lcd brightness value reset to full brightness on everyboot.

I am running hackintosh High Sierra on a Lenovo x260.

Clover is installed as UEFI only with rc scripts and using EMUVariable driver for nvram emulation. I can confirm nvram emulation is working from the nvram - p output of terminal as below. Right now, all values are retained such as volume level and other ids, except for the lcd brightness value. I am using AppleBacklightInjector kext for my lcd and patched ssdt. I am also attaching my config, kexts,ssd/dsdt in clover. Can anyone advice what should I do?

fakesmc-key-BEMB-flag    %01
fakesmc-key-RPlt-ch8*    j130%00%00%00%00
fakesmc-key-RBr -ch8*    2016mb%00%00
EFILoginHiDPI    %00%00%00%00
fakesmc-key-#KEY-ui32    %00%00%00%12
SystemAudioVolumeDB    %ee
fakesmc-key-BATP-flag    %00
platform-uuid    %cc%92%87d%d3-%b2%11%a8\%94g%ec%cf'%c0
fakesmc-key-MSTc-ui8    %00
EmuVariableUefiPresent    Yes
security-mode    none
fakesmc-key-BNum-ui8    %01
csr-active-config    g%00%00%00
fakesmc-key-$Num-ui8    %01
fakesmc-key-MSFW-ui8    %01%00
fakesmc-key-MSPS-ui16    %00%03
fakesmc-key-REV -ch8*    %026%0f%00%00%97
fmm-computer-name    My%e2%80%99s MacBook Pro
backlight-level    %1c%00
bootercfg    (%00
fakesmc-key-$Adr-ui32    %00%00%03%00
fakesmc-key-EPCI-ui32    %09 %f0%00
bluetoothActiveControllerInfo    +%0a%87%80%00%00%00%00`%14%e4%a7%a0%0b%e1%94
fakesmc-key-MSAc-ui16    %00%00
fakesmc-key-MSLD-ui8    %00
SystemAudioVolume    ?
specialbootdevice    %02%01%0c%00%d0A%03%0a%00%00%00%00%01%01%06%00%00%17%03%12%0a%00%01%00%00%00%00%00%04%01*%00%02%00%00%00(@%06%00%00%00%00%00%a8%f7=%09%00%00%00%00%84%8b[%c5%dd%10eA%8b%f5%ba%d1%b1%0ab%84%02%02%7f%ff%04%00
fakesmc-key-RMde-char    A
fakesmc-key-BBIN-ui8    %01
flagstate    %00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00
fakesmc-key-MSWr-ui8    %00
 

CLOVER.zip

Share this post


Link to post
Share on other sites

I have this issue before and implementing the PNLF & ALS0 ssdt pacth fixed my problem. PNLF & ALS0 patch is linked on applabacklightinjector thread

  • Like 1

Share this post


Link to post
Share on other sites

And, if it doesn't work even after adding a Fake ALS device you might wanna reset hardware NVRAM from clover EFI shell.

 

How to do it:

  • At clover boot screen select UEFI Shell option

In that, type:

# For cd to EFI voulme
FS0:

# For cd to EFI dir
cd EFI

# For dumping vars
dmpstore -all -s somefile.txt

# Now, when it is dumping the vars you need to take a note of your drive's GUID (use a phone to record)

# Once you know the GUID, use
dmpstore -d -guid YOUR-GUID-GOES-HERE

Regards

Share this post


Link to post
Share on other sites

Hi, I the tips, got the SSDT-ALS0 file added to Clover>ACPI>Patched.
I rebooted and the same thing, defaults to full brightness. I also deleted the clover nvram.plist to force it to generate a new one, did reboot couple of times but still the same problem. I'm out of ideas what to do. Can you help me out. I am attaching my SSDT-PNLF, SSDT-ALS0, config.plist and nvram.plist.

Archive.zip

Share this post


Link to post
Share on other sites

×
×
  • Create New...