Contribute
Register

[Guide] Patching DSDT/SSDT for LAPTOP backlight control

Turns out for mine, both buttons are _Q66.

As I wrote, _Q66 will eventually land in BRT6.
Refer to the code in post #1344 and patch accordingly.
 
As I wrote, _Q66 will eventually land in BRT6.
Refer to the code in post #1344 and patch accordingly.

Right, spent about two hours attempting to patch everything, and there's something dodgy somewhere that's causing everything to just not work.

I have tried the BRT6 patch multiple times, and I cannot get it to work. I am substantially out of my depth in debugging further. DSDT-Patched.aml has the BRT6 patch applied, as is described in your OP.

Code:
2017-12-10 08:33:01.466283+0000 0x76       Default     0x0                  0      0    kernel: (ACPIDebug) ACPIDebug: "EC _Q66 enter"
2017-12-10 08:33:01.469138+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2017-12-10 08:33:01.469139+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2017-12-10 08:33:01.469141+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) [\_SBX.OSID]
2017-12-10 08:33:01.469142+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) [\_SBX.OSID]
2017-12-10 08:33:01.469143+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  Namespace lookup failure, AE_NOT_FOUND
2017-12-10 08:33:01.469144+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  Namespace lookup failure, AE_NOT_FOUND
2017-12-10 08:33:01.469146+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/psargs-463)
2017-12-10 08:33:01.469147+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/psargs-463)
2017-12-10 08:33:01.469150+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) [SMEE] @00011 #002D:
2017-12-10 08:33:01.469151+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) [SMEE] @00011 #002D:
2017-12-10 08:33:01.469154+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)
2017-12-10 08:33:01.469154+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)
2017-12-10 08:33:01.469156+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)
Initialized Local Variables for method [SMEE]:
2017-12-10 08:33:01.469157+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)
Initialized Local Variables for method [SMEE]:
2017-12-10 08:33:01.469158+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)     Local0:
2017-12-10 08:33:01.469159+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)     Local0:
2017-12-10 08:33:01.469160+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ffffff8040baffa0
2017-12-10 08:33:01.469161+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ffffff8040baffa0
2017-12-10 08:33:01.469162+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) <Obj>
2017-12-10 08:33:01.469163+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) <Obj>
2017-12-10 08:33:01.469164+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  Integer
2017-12-10 08:33:01.469165+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  Integer
2017-12-10 08:33:01.469166+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  0000000000000002
2017-12-10 08:33:01.469166+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  0000000000000002
2017-12-10 08:33:01.469167+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)
2017-12-10 08:33:01.469168+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)
2017-12-10 08:33:01.469168+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)
2017-12-10 08:33:01.469169+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)
2017-12-10 08:33:01.469170+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) Initialized Arguments for Method [SMEE]:  (0 arguments defined for method invocation)
2017-12-10 08:33:01.469171+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) Initialized Arguments for Method [SMEE]:  (0 arguments defined for method invocation)
2017-12-10 08:33:01.469179+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)     Arg0:
2017-12-10 08:33:01.469180+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)     Arg0:
2017-12-10 08:33:01.469182+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ffffff8040baf0f0
2017-12-10 08:33:01.469182+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ffffff8040baf0f0
2017-12-10 08:33:01.469183+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) <Obj>
2017-12-10 08:33:01.469184+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) <Obj>
2017-12-10 08:33:01.469185+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  Integer
2017-12-10 08:33:01.469186+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  Integer
2017-12-10 08:33:01.469187+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  0000000000000004
2017-12-10 08:33:01.469187+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  0000000000000004
2017-12-10 08:33:01.469188+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)
2017-12-10 08:33:01.469189+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)
2017-12-10 08:33:01.469190+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)
2017-12-10 08:33:01.469190+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)
2017-12-10 08:33:01.469192+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2017-12-10 08:33:01.469192+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2017-12-10 08:33:01.469194+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) Method parse/execution failed
2017-12-10 08:33:01.469194+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) Method parse/execution failed
2017-12-10 08:33:01.469196+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) [\SMEE] (Node ffffff803da64990)
2017-12-10 08:33:01.469197+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) [\SMEE] (Node ffffff803da64990)
2017-12-10 08:33:01.469198+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) , AE_NOT_FOUND
2017-12-10 08:33:01.469199+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) , AE_NOT_FOUND
2017-12-10 08:33:01.469200+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/psparse-632)
2017-12-10 08:33:01.469201+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/psparse-632)
2017-12-10 08:33:01.469203+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2017-12-10 08:33:01.469204+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2017-12-10 08:33:01.469206+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) Method parse/execution failed
2017-12-10 08:33:01.469207+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) Method parse/execution failed
2017-12-10 08:33:01.469209+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) [\SMIE] (Node ffffff803da649c0)
2017-12-10 08:33:01.469210+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) [\SMIE] (Node ffffff803da649c0)
2017-12-10 08:33:01.469212+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) , AE_NOT_FOUND
2017-12-10 08:33:01.469212+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) , AE_NOT_FOUND
2017-12-10 08:33:01.469214+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/psparse-632)
2017-12-10 08:33:01.469215+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/psparse-632)
2017-12-10 08:33:01.469218+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2017-12-10 08:33:01.469219+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2017-12-10 08:33:01.469221+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) Method parse/execution failed
2017-12-10 08:33:01.469222+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) Method parse/execution failed
2017-12-10 08:33:01.469225+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) [\NEVT] (Node ffffff803da64930)
2017-12-10 08:33:01.469226+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) [\NEVT] (Node ffffff803da64930)
2017-12-10 08:33:01.469228+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) , AE_NOT_FOUND
2017-12-10 08:33:01.469229+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) , AE_NOT_FOUND
2017-12-10 08:33:01.469231+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/psparse-632)
2017-12-10 08:33:01.469232+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/psparse-632)
2017-12-10 08:33:01.469236+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2017-12-10 08:33:01.469236+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2017-12-10 08:33:01.469239+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) Method parse/execution failed
2017-12-10 08:33:01.469240+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) Method parse/execution failed
2017-12-10 08:33:01.469242+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) [\_SB.PCI0.LPCB.EC._Q66] (Node ffffff803da65600)
2017-12-10 08:33:01.469243+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) [\_SB.PCI0.LPCB.EC._Q66] (Node ffffff803da65600)
2017-12-10 08:33:01.469246+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) , AE_NOT_FOUND
2017-12-10 08:33:01.469246+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) , AE_NOT_FOUND
2017-12-10 08:33:01.469248+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/psparse-632)
2017-12-10 08:33:01.469249+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/psparse-632)
2017-12-10 08:33:01.470962+0000 0x76       Default     0x0                  0      0    kernel: (ACPIDebug) ACPIDebug: "EC _Q66 enter"

This is the error that I get when pressing the brightness keys both patched and unpatched. I have included in my debug zip two logs - One with the fully patched DSDT, and one with a normal clean boot. Just before I dumped each log, I pressed both brightness keys one after the other, then immediately saved the log. At the bottom of each should be the output.
Even with a clean boot, I still get this huge spew of error messages whenever I press the brightness keys.

I do not have the knowledge to know what any of this means. I do not know what other patches need to be applied, what this log is telling me, or how to go about writing any other patches. I am at an absolute loss, and I really need some assistance here.

Thanks again
 

Attachments

  • debug_2913.zip
    6.2 MB · Views: 114
Right, spent about two hours attempting to patch everything, and there's something dodgy somewhere that's causing everything to just not work.

I have tried the BRT6 patch multiple times, and I cannot get it to work. I am substantially out of my depth in debugging further. DSDT-Patched.aml has the BRT6 patch applied, as is described in your OP.

Code:
2017-12-10 08:33:01.466283+0000 0x76       Default     0x0                  0      0    kernel: (ACPIDebug) ACPIDebug: "EC _Q66 enter"
2017-12-10 08:33:01.469138+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2017-12-10 08:33:01.469139+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2017-12-10 08:33:01.469141+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) [\_SBX.OSID]
2017-12-10 08:33:01.469142+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) [\_SBX.OSID]
2017-12-10 08:33:01.469143+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  Namespace lookup failure, AE_NOT_FOUND
2017-12-10 08:33:01.469144+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  Namespace lookup failure, AE_NOT_FOUND
2017-12-10 08:33:01.469146+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/psargs-463)
2017-12-10 08:33:01.469147+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/psargs-463)
2017-12-10 08:33:01.469150+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) [SMEE] @00011 #002D:
2017-12-10 08:33:01.469151+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) [SMEE] @00011 #002D:
2017-12-10 08:33:01.469154+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)
2017-12-10 08:33:01.469154+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)
2017-12-10 08:33:01.469156+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)
Initialized Local Variables for method [SMEE]:
2017-12-10 08:33:01.469157+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)
Initialized Local Variables for method [SMEE]:
2017-12-10 08:33:01.469158+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)     Local0:
2017-12-10 08:33:01.469159+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)     Local0:
2017-12-10 08:33:01.469160+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ffffff8040baffa0
2017-12-10 08:33:01.469161+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ffffff8040baffa0
2017-12-10 08:33:01.469162+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) <Obj>
2017-12-10 08:33:01.469163+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) <Obj>
2017-12-10 08:33:01.469164+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  Integer
2017-12-10 08:33:01.469165+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  Integer
2017-12-10 08:33:01.469166+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  0000000000000002
2017-12-10 08:33:01.469166+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  0000000000000002
2017-12-10 08:33:01.469167+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)
2017-12-10 08:33:01.469168+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)
2017-12-10 08:33:01.469168+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)
2017-12-10 08:33:01.469169+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)
2017-12-10 08:33:01.469170+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) Initialized Arguments for Method [SMEE]:  (0 arguments defined for method invocation)
2017-12-10 08:33:01.469171+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) Initialized Arguments for Method [SMEE]:  (0 arguments defined for method invocation)
2017-12-10 08:33:01.469179+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)     Arg0:
2017-12-10 08:33:01.469180+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)     Arg0:
2017-12-10 08:33:01.469182+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ffffff8040baf0f0
2017-12-10 08:33:01.469182+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ffffff8040baf0f0
2017-12-10 08:33:01.469183+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) <Obj>
2017-12-10 08:33:01.469184+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) <Obj>
2017-12-10 08:33:01.469185+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  Integer
2017-12-10 08:33:01.469186+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  Integer
2017-12-10 08:33:01.469187+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  0000000000000004
2017-12-10 08:33:01.469187+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  0000000000000004
2017-12-10 08:33:01.469188+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)
2017-12-10 08:33:01.469189+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)
2017-12-10 08:33:01.469190+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)
2017-12-10 08:33:01.469190+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)
2017-12-10 08:33:01.469192+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2017-12-10 08:33:01.469192+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2017-12-10 08:33:01.469194+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) Method parse/execution failed
2017-12-10 08:33:01.469194+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) Method parse/execution failed
2017-12-10 08:33:01.469196+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) [\SMEE] (Node ffffff803da64990)
2017-12-10 08:33:01.469197+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) [\SMEE] (Node ffffff803da64990)
2017-12-10 08:33:01.469198+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) , AE_NOT_FOUND
2017-12-10 08:33:01.469199+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) , AE_NOT_FOUND
2017-12-10 08:33:01.469200+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/psparse-632)
2017-12-10 08:33:01.469201+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/psparse-632)
2017-12-10 08:33:01.469203+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2017-12-10 08:33:01.469204+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2017-12-10 08:33:01.469206+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) Method parse/execution failed
2017-12-10 08:33:01.469207+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) Method parse/execution failed
2017-12-10 08:33:01.469209+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) [\SMIE] (Node ffffff803da649c0)
2017-12-10 08:33:01.469210+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) [\SMIE] (Node ffffff803da649c0)
2017-12-10 08:33:01.469212+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) , AE_NOT_FOUND
2017-12-10 08:33:01.469212+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) , AE_NOT_FOUND
2017-12-10 08:33:01.469214+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/psparse-632)
2017-12-10 08:33:01.469215+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/psparse-632)
2017-12-10 08:33:01.469218+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2017-12-10 08:33:01.469219+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2017-12-10 08:33:01.469221+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) Method parse/execution failed
2017-12-10 08:33:01.469222+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) Method parse/execution failed
2017-12-10 08:33:01.469225+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) [\NEVT] (Node ffffff803da64930)
2017-12-10 08:33:01.469226+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) [\NEVT] (Node ffffff803da64930)
2017-12-10 08:33:01.469228+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) , AE_NOT_FOUND
2017-12-10 08:33:01.469229+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) , AE_NOT_FOUND
2017-12-10 08:33:01.469231+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/psparse-632)
2017-12-10 08:33:01.469232+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/psparse-632)
2017-12-10 08:33:01.469236+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2017-12-10 08:33:01.469236+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2017-12-10 08:33:01.469239+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) Method parse/execution failed
2017-12-10 08:33:01.469240+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) Method parse/execution failed
2017-12-10 08:33:01.469242+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) [\_SB.PCI0.LPCB.EC._Q66] (Node ffffff803da65600)
2017-12-10 08:33:01.469243+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) [\_SB.PCI0.LPCB.EC._Q66] (Node ffffff803da65600)
2017-12-10 08:33:01.469246+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) , AE_NOT_FOUND
2017-12-10 08:33:01.469246+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform) , AE_NOT_FOUND
2017-12-10 08:33:01.469248+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/psparse-632)
2017-12-10 08:33:01.469249+0000 0x199      Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/psparse-632)
2017-12-10 08:33:01.470962+0000 0x76       Default     0x0                  0      0    kernel: (ACPIDebug) ACPIDebug: "EC _Q66 enter"

This is the error that I get when pressing the brightness keys both patched and unpatched. I have included in my debug zip two logs - One with the fully patched DSDT, and one with a normal clean boot. Just before I dumped each log, I pressed both brightness keys one after the other, then immediately saved the log. At the bottom of each should be the output.
Even with a clean boot, I still get this huge spew of error messages whenever I press the brightness keys.

I do not have the knowledge to know what any of this means. I do not know what other patches need to be applied, what this log is telling me, or how to go about writing any other patches. I am at an absolute loss, and I really need some assistance here.

Thanks again

You have _OSI calls unpatched for "Darwin" (in OSID).
Use _OSI->XOSI, OSID->XSID, and SSDT-XOSI.aml instead of static patching.

Also, you're using the "smarttouchpad" driver, but are attempting to use notify codes for my VoodooPS2Controller.kext. "smarttouchpad" (referred to in the guide as the ELAN kext) uses different codes.
 
You have _OSI calls unpatched for "Darwin" (in OSID).
Use _OSI->XOSI, OSID->XSID, and SSDT-XOSI.aml instead of static patching.

Also, you're using the "smarttouchpad" driver, but are attempting to use notify codes for my VoodooPS2Controller.kext. "smarttouchpad" (referred to in the guide as the ELAN kext) uses different codes.

Hooraaaaaay! Success!

Thank you so much, I know it's taken forever and I've been an absolute idiot about it, but it's working perfectly now. I'm gonna have a quick go at making it work in config.plist/ACPI/Patches, but if I have no luck I'm not too bothered. That's full functionality on my laptop now (Except for an out of phase headphone jack, but I think that's an AppleALC issue).

Do you have any sort of donation page set up? I want to throw a couple of dollars as a thank you for the help.

Thanks!

EDIT: Already given up on the hotpatch lol, since it's patching with a longer string I've got no idea how that works. I also have no idea what I would have to rename to make a new method in an SSDT, especially since it has that weird ^^ bit in the patch.
 
Last edited:
Hooraaaaaay! Success!

Thank you so much, I know it's taken forever and I've been an absolute idiot about it, but it's working perfectly now. I'm gonna have a quick go at making it work in config.plist/ACPI/Patches, but if I have no luck I'm not too bothered. That's full functionality on my laptop now (Except for an out of phase headphone jack, but I think that's an AppleALC issue).

Do you have any sort of donation page set up? I want to throw a couple of dollars as a thank you for the help.

Thanks!

EDIT: Already given up on the hotpatch lol, since it's patching with a longer string I've got no idea how that works. I also have no idea what I would have to rename to make a new method in an SSDT, especially since it has that weird ^^ bit in the patch.

Hotpatch for BRT6 is fits into the "rename/replace" pattern.
 
hey i having some problems with i try to add ACPI 100 I get

4097, 6085, Object not found or not accessible from scope (^^DD02._BCM)
4101, 6085, Object not found or not accessible from scope (^^DD02._BQC)
4105, 6085, Object not found or not accessible from scope (^^DD02._BCL)
4109, 6085, Object not found or not accessible from scope (^^_DOS)
4115, 6085, Object not found or not accessible from scope (^^DD02._BCM)
4119, 6085, Object not found or not accessible from scope (^^DD02._BQC)
 
hey i having some problems with i try to add ACPI 100 I get

4097, 6085, Object not found or not accessible from scope (^^DD02._BCM)
4101, 6085, Object not found or not accessible from scope (^^DD02._BQC)
4105, 6085, Object not found or not accessible from scope (^^DD02._BCL)
4109, 6085, Object not found or not accessible from scope (^^_DOS)
4115, 6085, Object not found or not accessible from scope (^^DD02._BCM)
4119, 6085, Object not found or not accessible from scope (^^DD02._BQC)

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/
 
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/

hey i having some problems with i try to add brightness ACPI 100 I get

4097, 6085, Object not found or not accessible from scope (^^DD02._BCM)
4101, 6085, Object not found or not accessible from scope (^^DD02._BQC)
4105, 6085, Object not found or not accessible from scope (^^DD02._BCL)
4109, 6085, Object not found or not accessible from scope (^^_DOS)
4115, 6085, Object not found or not accessible from scope (^^DD02._BCM)
4119, 6085, Object not found or not accessible from scope (^^DD02._BQC)

can I can help please I've been trying to fix my brightness for almost 2 weeks now this in the only method I haven't tried it yet
 

Attachments

  • CLOVER.zip
    3 MB · Views: 87
  • MSI’s MacBook Pro.ioreg
    5.9 MB · Views: 170
  • Terminal Saved Output.txt
    2.7 KB · Views: 225
  • Screen Shot 2017-12-13 at 1.30.14 PM.png
    Screen Shot 2017-12-13 at 1.30.14 PM.png
    3.1 MB · Views: 142
  • Screen Shot 2017-12-13 at 1.30.40 PM.png
    Screen Shot 2017-12-13 at 1.30.40 PM.png
    3.5 MB · Views: 162
hey i having some problems with i try to add brightness ACPI 100 I get

4097, 6085, Object not found or not accessible from scope (^^DD02._BCM)
4101, 6085, Object not found or not accessible from scope (^^DD02._BQC)
4105, 6085, Object not found or not accessible from scope (^^DD02._BCL)
4109, 6085, Object not found or not accessible from scope (^^_DOS)
4115, 6085, Object not found or not accessible from scope (^^DD02._BCM)
4119, 6085, Object not found or not accessible from scope (^^DD02._BQC)

can I can help please I've been trying to fix my brightness for almost 2 weeks now this in the only method I haven't tried it yet

Your _BCM, _BQC, _BCL methods are in SSDT-5-SaSsdt.aml.
They are at _SB.PCI0.GFX0.DD1F, not DD02.
You most modify the patch (or the patched code) accordingly to use External and to match your DD1F path.

This is the modified (after applying the patch) PNLF._BCM as an example:
Code:
                        // _BCM/_BQC: set/get for brightness level
                        Method (_BCM, 1, NotSerialized)
                        {
                            // Update backlight via existing DSDT methods
                            External(^^DD1F._BCM, MethodObj)
                            ^^DD1F._BCM(Arg0)
                        }

Following that example, here is the complete set:
Code:
                        // _BCM/_BQC: set/get for brightness level
                        Method (_BCM, 1, NotSerialized)
                        {
                            // Update backlight via existing DSDT methods
                            External(^^DD1F._BCM, MethodObj)
                            ^^DD1F._BCM(Arg0)
                        }
                        Method (_BQC, 0, NotSerialized)
                        {
                            External(^^DD1F._BQC, MethodObj)
                            Return(^^DD1F._BQC())
                        }
                        Method (_BCL, 0, NotSerialized)
                        {
                            External(^^DD1F._BCL, MethodObj)
                            Return(^^DD1F._BCL())
                        }
                        Method (_DOS, 1, NotSerialized)
                        {
                            External(^^_DOS, MethodObj)
                            ^^_DOS(Arg0)
                        }
                        // extended _BCM/_BQC for setting "in between" levels
                        Method (XBCM, 1, NotSerialized)
                        {
                            // Update backlight via existing DSDT methods
                            ^^DD1F._BCM(Arg0)
                        }
                        Method (XBQC, 0, NotSerialized)
                        {
                            Return(^^DD1F._BQC())
                        }
 
Back
Top