Contribute
Register

[Guide] Patching DSDT/SSDT for LAPTOP backlight control

Joined
Aug 23, 2017
Messages
92
Motherboard
ASUS S451LB
CPU
i3-4010U
Graphics
HD 4400 / GT 740M
Mac
  1. MacBook Pro
Mobile Phone
  1. Android

Attachments

  • Problem Report 2.zip
    6.3 MB · Views: 43
Joined
Aug 23, 2017
Messages
92
Motherboard
ASUS S451LB
CPU
i3-4010U
Graphics
HD 4400 / GT 740M
Mac
  1. MacBook Pro
Mobile Phone
  1. 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

  • Report.zip
    6 MB · Views: 67

RehabMan

Moderator
Joined
May 3, 2012
Messages
186,727
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. 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
  1. MacBook Pro
Mobile Phone
  1. 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

  • Screen Shot 2018-12-03 at 01.12.23.png
    Screen Shot 2018-12-03 at 01.12.23.png
    368.6 KB · Views: 76

RehabMan

Moderator
Joined
May 3, 2012
Messages
186,727
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. 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
  1. MacBook Pro
Mobile Phone
  1. Android

Attachments

  • Archive.zip
    16.6 MB · Views: 93
Joined
Aug 23, 2017
Messages
92
Motherboard
ASUS S451LB
CPU
i3-4010U
Graphics
HD 4400 / GT 740M
Mac
  1. MacBook Pro
Mobile Phone
  1. 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

  • Problem File.zip
    6 MB · Views: 51
  • Documentation.zip
    12.8 MB · Views: 61

RehabMan

Moderator
Joined
May 3, 2012
Messages
186,727
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
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 ?

Did you enable CSM/legacy boot in BIOS?
 
Top