Contribute
Register

[Guide] Patching DSDT/SSDT for LAPTOP backlight control

Read post #1 carefully. The patches/codes required for the ELAN driver are explained.

Thanks for the quick reply. I've read post #1 back and forth a few times. I also read the readme for ACPIKeyboard, and in my ioreg I found that indeed ADB code for Brightness up=0x4d, Brightness down=0x4f.

Some newer versions of the ELAN driver may have direct support with codes 0x10 and 0x20. So, no need for ACPIKeyboard.kext in this case.

But what is ADB code, and what are the codes 0x10 and 0x20? I want to try directly notifying the keyboard first.
 
But what is ADB code, and what are the codes 0x10 and 0x20? I want to try directly notifying the keyboard first.

It is not an ADB code, but those are the codes requires by the ELAN driver (arbitrary choice by the driver author).
 
Right - Slider works, but the brightness keys are still a challenge.

I followed the guide and enabled the key logging.

When I press the F5 an F6 keys on my vaio keyboard I can see a message in the console all.

F5 AppleP2Keyboard sending key 3f=60 down
F6 ApplePsKeyboard sending key 40=61 down

But when I add the "Fn" key no message appears on the console

Brightness control works with the "Pause" and "Fn+Del" key and I would like to map them to the original F5 & F6 keys

When pressing the "Pause" key for brightness up it reports

AppleP2Keyboard sending key e045=71 down

And when when pressing the "Fn+Del" key for brightness down it reports

AppleP2Keyboard sending key 46=6b down

How to proceed to map the current brightness keys to the printed ones?
 
Right - Slider works, but the brightness keys are still a challenge.

I followed the guide and enabled the key logging.

When I press the F5 an F6 keys on my vaio keyboard I can see a message in the console all.

F5 AppleP2Keyboard sending key 3f=60 down
F6 ApplePsKeyboard sending key 40=61 down

But when I add the "Fn" key no message appears on the console

Probably handled via ACPI. Read post #1.
 
I went through the guide again and and again, but no luck.

I checked the ACPI debug patches EC, GPE, WKA and Lido but no message appears on the console when I press the printed keys for brightness down (Fn+F5) and brightness up (Fn+F6)

Any ideas on this?

Can I map the actual P2K keys on the right (printed on) keys Fn+F5 and Fn+F6 ?
 
I went through the guide again and and again, but no luck.

I checked the ACPI debug patches EC, GPE, WKA and Lido but no message appears on the console when I press the printed keys for brightness down (Fn+F5) and brightness up (Fn+F6)

Any ideas on this?

Can I map the actual P2K keys on the right (printed on) keys Fn+F5 and Fn+F6 ?

Did you patch for Windows emulation ("OS Check Fix")?
 
Yes. I tried different versions. Win 7, Win 8 and one other.

I found a hint on a special kext that could be another way to catch up the signal sendung from the Fn+F5 keys. The kext is called

IOWMIFamily.kext

by Dolmor

Could this be a valuable way, or should I try to oatchbone of the ssdts?

And again. I'm lost
 
Dell Haswell Brightness Fix needed

I’m trying to get the Brightness slider working on my Dell Inspiron 7437 with El Capitan installed. It has a Intel Haswell 4th Generation Core i7-4500U Processor, Video Card: Intel HD Graphics 4400. I’ve tried the following combinations without success. I hope someone can help me.

Extracted files using Clover F4
——
External(MDBG, MethodObj, 1)
External(_GPE.MMTB, MethodObj, 0)
External(_SB_.PCI0.LPCB.H_EC.ECWT, MethodObj, 2)
External(_SB_.PCI0.LPCB.H_EC.ECRD, MethodObj, 1)
External(_SB_.PCI0.PEG0.PEGP.SGPO, MethodObj, 2)
External(_SB.PCI0.GFX0.DD02._BCM, MethodObj, 1)
External(_SB.PCI0.SAT0.SDSM, MethodObj, 4)
External(_SB.PCI0.SAT1.SDSM, MethodObj, 4)
External(_GPE.VHOV, MethodObj, 3)
——
pbpaste>refs.txt
iasl -da -dl -fe refs.txt *.aml
——

Using MaciASL with the repository http://raw.github.com/RehabMan/Laptop-DSDT-Patch/master
Combination 1:
Combination 2.1:
  • IntelBacklight.kext
  • SSDT-7.dsl patched:
“[igpu] Rename GFX0 to IGPU”
“[igpu] Haswell HD4400/HD4600/HD5000”
“[igpu] Brightness fix (Haswell/Broadwell)”

Combination 2.2:
  • IntelBacklight.kext
  • SSDT-7.dsl patched:
“[igpu] Rename GFX0 to IGPU”
“[igpu] Haswell HD4400/HD4600/HD5000”
“[igpu] Brightness fix (Haswell/Broadwell)”
“[igpu] Rename B0D3 to HDAU”

All aml files placed in EFI/CLOVER/ACPI/patched
Kexts placed in EFI/CLOVER/kexts/10.11 folder AND using Kext Utility installed in system
 
Last edited:
Yes. I tried different versions. Win 7, Win 8 and one other.

I found a hint on a special kext that could be another way to catch up the signal sendung from the Fn+F5 keys. The kext is called

IOWMIFamily.kext

by Dolmor

Could this be a valuable way, or should I try to oatchbone of the ssdts?

And again. I'm lost

I don't use the IOWMIFamily in this guide. It is not necessary.
 
Dell Haswell Brightness Fix needed

I’m trying to get the Brightness slider working on my Dell Inspiron 7437 with El Capitan installed. It has a Intel Haswell 4th Generation Core i7-4500U Processor, Video Card: Intel HD Graphics 4400. I’ve tried the following combinations without success. I hope someone can help me.

Extracted files using Clover F4
——
External(MDBG, MethodObj, 1)
External(_GPE.MMTB, MethodObj, 0)
External(_SB_.PCI0.LPCB.H_EC.ECWT, MethodObj, 2)
External(_SB_.PCI0.LPCB.H_EC.ECRD, MethodObj, 1)
External(_SB_.PCI0.PEG0.PEGP.SGPO, MethodObj, 2)
External(_SB.PCI0.GFX0.DD02._BCM, MethodObj, 1)
External(_SB.PCI0.SAT0.SDSM, MethodObj, 4)
External(_SB.PCI0.SAT1.SDSM, MethodObj, 4)
External(_GPE.VHOV, MethodObj, 3)
——
pbpaste>refs.txt
iasl -da -dl -fe refs.txt *.aml
——

Using MaciASL with the repository http://raw.github.com/RehabMan/Laptop-DSDT-Patch/master
Combination 1:
Combination 2.1:
  • IntelBacklight.kext
  • SSDT-7.dsl patched:
“[igpu] Rename GFX0 to IGPU”
“[igpu] Haswell HD4400/HD4600/HD5000”
“[igpu] Brightness fix (Haswell/Broadwell)”

Combination 2.2:
  • IntelBacklight.kext
  • SSDT-7.dsl patched:
“[igpu] Rename GFX0 to IGPU”
“[igpu] Haswell HD4400/HD4600/HD5000”
“[igpu] Brightness fix (Haswell/Broadwell)”
“[igpu] Rename B0D3 to HDAU”

All aml files placed in EFI/CLOVER/ACPI/patched
Kexts placed in EFI/CLOVER/kexts/10.11 folder AND using Kext Utility installed in system

Read post #1, "Problem Reporting".
 
Back
Top