Contribute
Register

[Guide] Patching DSDT/SSDT for LAPTOP backlight control

I'm running your VodooPS2Controller.kext.

The particular brightness keys did not generate PS2 codes in system.log. Some other FN keys did.

The keys generate ACPI events. I identified the keys as _Q1D (down) and _Q1C (up).

I tried

into method label _Q1D replace_content
begin
// Brightness Down\n
Notify(\_SB.PCI0.LPCB.PS2K, 0x0405)\n
end;
into method label _Q1C replace_content
begin
// Brightness Up\n
Notify(\_SB.PCI0.LPCB.PS2K, 0x0406)\n
end;

But MaciASL could not compile. I do not have this device in my DSDT _SB.PCI0.LPCB.PS2K. I have a _SB.PCI0.LPCB.PS2M only (mouse?).

Searching for "PS2K" in my dsdt.aml yields only 1 result. A value that says "1" , well deep under _SB.PCI0.LPCB.EC0.

What's my next step?

Read post #1, "Problem Reporting".
 
- apply "Instrument EC Queries"
Quick question, maybe you can answer. This is the part I'm having a problem with, it says "0 Changes" and does not allow me to Apply this patch. Everything up until this point has worked perfectly (no PS2 codes generated, using your kext). It appears my DSDT doesn't have the same _QXX labeling for keys, maybe? Any help appreciated, thanks! (original Clover F4 DSDT.dsl attached)
 

Attachments

  • DSDT.dsl
    284.4 KB · Views: 141
Quick question, maybe you can answer. This is the part I'm having a problem with, it says "0 Changes" and does not allow me to Apply this patch. Everything up until this point has worked perfectly (no PS2 codes generated, using your kext). It appears my DSDT doesn't have the same _QXX labeling for keys, maybe? Any help appreciated, thanks! (original Clover F4 DSDT.dsl attached)

No EC related code here. Either your laptop has no EC (rare), or the EC related code is in an SSDT.
Read post #1, "Problem Reporting".
 
No EC related code here. Either your laptop has no EC (rare), or the EC related code is in an SSDT.
Read post #1, "Problem Reporting".
I checked all SSDT files as well, nothing. I did skip the SSDT X files. I'll do a more accurate problem report shortly.
 
I checked all SSDT files as well, nothing. I did skip the SSDT X files. I'll do a more accurate problem report shortly.

If you find no EmbeddedControl and no EC query methods (_Qxx), then it is likely your keys are handled via GPE methods. There is a patch to instrument those methods too (_Lxx).
 
If you find no EmbeddedControl and no EC query methods (_Qxx), then it is likely your keys are handled via GPE methods. There is a patch to instrument those methods too (_Lxx).
There were no EmbeddedControl or EC references. I applied the GPE patch (it allowed me to), but still nothing in the system log.
 
There were no EmbeddedControl or EC references. I applied the GPE patch (it allowed me to), but still nothing in the system log.

Keep in mind new mechanisms to display the kernel logs in Sierra.
And if you need help...
Read post #1, "Problem Reporting".

Also, your profile/signature has no laptop hardware details. Hopefully, you're not expecting to implement backlight keys on your desktop...

If you actually have a laptop, read FAQ for correct/accurate details to be placed in your profile/signature.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
 
Sorry, that was very outdated. I've updated my signature. I'm also on El Capitan, I should have just attempted Sierra but read there are unresolved issues.
 
Sorry, that was very outdated. I've updated my signature. I'm also on El Capitan, I should have just attempted Sierra but read there are unresolved issues.

Your profile details are not complete (read the FAQ request carefully).
No "Problem Reporting" files attached.
 
Is the ACPIBacklight.kext better for brightness control than IntelBacklight.kext?
Can I use the "Brightness Fix (Haswell/Broadwell)" also for skylake?
 
Back
Top