Jump to content

Neet help for dsdt patching about syntax error


jamesxxx1997
 Share

3 posts in this topic

Recommended Posts

Hi everyone~

Now using mojave 10.14.4 , I am patching my dsdt and ssdt but have four syntax error with my dsdt.dsl , and I don't know how to fix it.

 

My specs:

lenovo thinkpad x1 yoga 3rd

CPU : i7-8550u

graphics : uhd620

 

The file of my dsdt and ssdt , ioreg , and my efi is in this link:https://drive.google.com/drive/folders/1T1nv1QgqDtczXrohdlQUJ_8O-kPpoSEf?usp=sharing

 

thanks!

Link to comment
Share on other sites

18 hours ago, gengik84 said:

use the latest MaciASL https://github.com/acidanthera/MaciASL/releases

Delete One at line 265 and 267

Very thankful to you for your reply , I'll try it again~

13 hours ago, Hervé said:

There you are:

DSDT.aml.zip

 

Fixes applied:

  • error reported line 21354

Before:
            Store (MMTB (), Arg0)
            Local0
After:
            Store (MMTB (Arg0), Local0)

 

  • error reported line 21664

Before:
            Add (MMTB (), Arg0, 0x0544)
            Local0
After:
            Add (MMTB (Arg0), 0x0544, Local0)

 

  • error reported line 21824

Before:
            Store (MMTB (), Arg0)
            Local2
After:
            Store (MMTB (Arg0), Local2)


Then 2 x new errors are reported for variables already existing in scope.


Fixes applied in declarations at top of DSDT: comment out the following lines
    // External (RTBT, IntObj)    // (from opcode) --> commented out
    External (SGMD, UnknownObj)    // (from opcode)
    // External (TBTS, IntObj)    // (from opcode) --> commented out

 

Thanks bro~~~

No with proper DSDT patch , my laptop finally have battery status , use keyboard for brightness control...

Thanks again!!!

Link to comment
Share on other sites

 Share

×
×
  • Create New...