Jump to content
Allubz

[HP Pavillion 15-cx0500nd - Mojave] Maximum Brightness very low

Recommended Posts

Hiya, I have some trouble while using the latest Lilu + Whatevergreen + AddPNLF in Clover. The maximum brightness is very low (say 50% or less of what it should be). The slider does work, but only to darker.


When I use the PNLF.ssdt instead of AddPFNL in Clover, there is no brightness slider. When I use IntelBacklightFixup.kext (with or without PNLF.ssdt) separately it doesn't work either. I now assume IBF.kext is ncluded in Whatevergreen anyway.


I tried in Clover:

- enable_cfl_backlight_fix (boot-arg)

- Graphics/InjectEDID + ProductID: 9c7c

- SetIntelBacklight + SetIntelMaxBacklight (no value, not needed according to Whatevergreen Wiki)


I tried looking into using SSDT-RMCF but honestly I don't know where to go with it.


Hopefully you can help me find a fix!


PS: Laptop is HP Pavilion 15-cx0500nd (Intel Core i7-8750H, HD630)

Link to comment
Share on other sites

  • Administrators

[ref]Allubz[/ref], for proc 8th use it with weg kext load

 

into_all device label PNLF remove_entry;
into scope label _SB insert
begin
Device (PNLF)\n
       {\n
           Name (_ADR, Zero)  // _ADR: Address\n
           Name (_HID, EisaId ("APP0002"))  // _HID: Hardware ID\n
           Name (_CID, "backlight")  // _CID: Compatible ID\n
           Name (_UID, 0x13)  // _UID: Unique ID\n
           Name (_STA, 0x0B)  // _STA: Status\n
       }\n
end

Support Olarila Vanilla Hackintosh by making a donation HERE

About Premium Users you can check HERE

Problems with Paypal HERE

Link to comment
Share on other sites

@MaLd0n Thanks for responding! I've tried to assemble the code as an .AML file but that won't work due to errors, so I suspect I have to add it into my DSDT? I tried using it a as a patch and it set in, but gives me the following error when compiling:


Line 11961 Code 6058 Invalid Type ([Device] found, Store operator requires [integer|String|Buffer|Package|DbdHandle|Reference])


Now, when using ReHab's patch on the DSDT Laptop distro, it could compile. It has an extra line at the bottom which seems to prevent said error.


After removing a leftover AppleBacklightFixup.kext from S/L/E (oops!) I got 99% dark brightness, with very vague icons on the desktop. I fixed it by setting enabled "SetIntelBacklight" and "SetIntelMaxBacklight" in Clover, without specifying max value. Only the darkest value is now fully screen off, instead of low brightness. Not sure how to fix this, but thanks a lot for getting back to me!

Link to comment
Share on other sites

MaLd0n Thanks for the suggestion! I changed my DSDT to your suggested UID, but I have found no difference in the functionality of the backlight. The lowest brightness is still 100% dark, but this isn't a major issue.


My last obstacle is trying to get sleep to work. Should I open a separate topic on this? I'm not sure what I need for this laptop to get it to work properly.


I have:

1) Disabled dGPU through DiscreteSpoof.aml

2) Using PluginType=1 for power management

3) Using USBInjectAll.kext (I made a proper SSDT for this)


Right now the system shows a black screen with movable cursor when coming back, but I can't do anything like logging in, and after a while the system hangs and reboots with the notion of a Kernel Panick.


Am I overlooking anything for proper sleep functionality? I don't care what type of sleep, honestly, as long as it's not just a turned off display.


Thanks!

Link to comment
Share on other sites

[ref]MaLd0n[/ref] Here is the zipped log. The outstanding issues with the laptop are:


- Coming back from sleep results in a black screen with cursor and after a minute or two total freeze and reboot, apparently KP. I tried to optimize the three settings as I noted in my previous post;


- Battery seems to drain rather fast, I'm not sure if the dGPU is correctly disabled. I did look for the ACPI location in Windows and edited DiscreteSpoof.aml accordingly, I believe;


- Brightness Keys (lowest priority)

 

debug.zip

 

Thank you!

Link to comment
Share on other sites

Hi [ref]MaLd0n[/ref], thanks very much for getting back to me. The DSDT didn't quite do it yet. I get the following trouble at startup with the replaced file:


<IMGUR id="kt9UMVn"><a href=https://i.imgur.com/kt9UMVn.jpg' alt='IMGUR>'>


I wouldn't know how to go from here. I recognize many lines referring to XDSM, the GPU, etc.

Link to comment
Share on other sites

Dear [ref]MaLd0n[/ref], I'm not sure what you are referring to. To be fair I use a clean clover with an Apple image. I build up the necessary edits to ACPI-files and Clover from scratch, without pre-defined images/distros or downloads like prepped EFI-folders.


Can I ask what changes you have made to my DSDT which would help with what? I may be able to learn from it and apply my own changes to get those three items working.


Insofar I've tried using Olarila files, I found that your Google Drive currently has its limit exceeded, so I couldn't download anything.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.





×
  • Create New...
The popup will be closed in 15 seconds...