Contribute
Register

Compiling DSDT - syntax errors and 'external control methods'

Joined
Oct 2, 2020
Messages
1
Motherboard
unknown
CPU
unknown
Graphics
unknown
Mac
  1. MacBook Air
Hi all. Having some problems compiling a patched DSDT (though these errors are present even when using the unpatched DSDT.dsl file). I'm very far from an expert, but there are problems already there that I haven't introduced.

Steps taken:
1. dump files to EFI partition by pressing F4 while Clover is booting.
2. mount EFI partition, copy the files out to Downloads.
3. extract files with command line: "iasl -da -dl -fe refs.txt DSDT.aml SSDT*.aml"
(I tried this initially without using refs.txt, and the same errors seem to come up.)
4. Open DSDT.dsl in MaciASL.

Tried to compile it immediately, just to get used to what might happen, and encountered the errors:

6126 syntax error, unexpected '}'
6126 syntax error, unexpected $end and premature End-Of-File

In addition, the header of DSDT.dsl has iASL warning "There were 17 control methods found during disassembly, but only 8 were resolved" etc.

I have the most recent RehabMan fork of MaciASL, and the newest version of iASL.

I'd very much appreciate some pointers; I'm pretty inexperienced at this, and happy to be told I've done something dumb. Thanks for your help.

nick
 

Attachments

  • DSDT.dsl
    917.7 KB · Views: 25
Top