Contribute
Register

[Guide] Patching DSDT/SSDT for LAPTOP backlight control

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,109
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
I'm using Voodoops2controller, my Dell's brightness keys are fn + up / down arrow.
I already use your Acpidebug.kext to clover/kext/other, patching dsdt debug method + ec queries and also put your ioio to /usr/bin but i still can't see the debug log keyboard on console ?
No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.
 
Joined
Aug 23, 2017
Messages
92
Motherboard
ASUS S451LB
CPU
i3-4010U
Graphics
HD 4400 / GT 740M
Mac
MacBook Pro
Mobile Phone
Android

Attachments

Joined
Aug 23, 2017
Messages
92
Motherboard
ASUS S451LB
CPU
i3-4010U
Graphics
HD 4400 / GT 740M
Mac
MacBook Pro
Mobile Phone
Android
You need to patch the BRT6 method.
Read post #1.
BRT6 has been patched to dsdt, and also acpidebug has been loaded. But still no result in console when i'm pressing the fn+up / down arrow.
 

Attachments

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,109
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
BRT6 has been patched to dsdt, and also acpidebug has been loaded. But still no result in console when i'm pressing the fn+up / down arrow.
Read here for how to collect kernel logs:
https://www.tonymacx86.com/threads/readme-common-problems-in-10-13-high-sierra.233582/

Note:
The reason your brightness keys are not working is due to incorrect _OSI patching. You have unpatched _OSI calls in the OSID method (look closely at your DSDT code).

Best to use OSID->XSID, _OSI->XOSI, and SSDT-XOSI.aml. Read my ACPI hotpatch guide for details.
 
Joined
Aug 23, 2017
Messages
92
Motherboard
ASUS S451LB
CPU
i3-4010U
Graphics
HD 4400 / GT 740M
Mac
MacBook Pro
Mobile Phone
Android
Read here for how to collect kernel logs:
https://www.tonymacx86.com/threads/readme-common-problems-in-10-13-high-sierra.233582/

Note:
The reason your brightness keys are not working is due to incorrect _OSI patching. You have unpatched _OSI calls in the OSID method (look closely at your DSDT code).

Best to use OSID->XSID, _OSI->XOSI, and SSDT-XOSI.aml. Read my ACPI hotpatch guide for details.
Something like this ? How to determine that correct method about down / up arrow ? It's showing many 'sending key' log
 

Attachments

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,109
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Something like this ? How to determine that correct method about down / up arrow ? It's showing many 'sending key' log
You already have the correct patches for the BRT6 method.
But your _OSI handling is wrong, as previously mentioned.
 
Joined
Aug 23, 2017
Messages
92
Motherboard
ASUS S451LB
CPU
i3-4010U
Graphics
HD 4400 / GT 740M
Mac
MacBook Pro
Mobile Phone
Android

Attachments

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,109
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Joined
Aug 23, 2017
Messages
92
Motherboard
ASUS S451LB
CPU
i3-4010U
Graphics
HD 4400 / GT 740M
Mac
MacBook Pro
Mobile Phone
Android
I see no issue in that image. You will need to clarify your problem.
This file will tell you my problem, at the first boot the brightness level and also slider isn't working. But strangely when i do the sleep and then wake again, the brighntess level are working also the slider. So what is the main problem ?
 

Attachments

Top