Jump to content

[HELP] Compiling in MacASL: spits out 6 errors


flyinghackintosh
 Share

1 post in this topic

Recommended Posts


SOLUTION: Found out I was using the wrong version of MaciASL (1.4). The correct version is 1.31 RM.

 

Hi everyone,

 

So my end goal is to disable USB wake from sleep by applying either "usb_prw_0x0d_xhc.txt" or the "usb_prw_0x6d_xhc.txt" patch from RehabMan's repository. But before the (patched) DSDT.dsl can be compiled the following errors need to be cleared.

 

So far I did the following:

  • Used Clover + F4 to get DSDT.aml and the SSDT.aml files
  • Used iasl in Terminal (iasl -da -dl DSDT.aml SSDT*.aml) to decompile DSDT.aml and SSDTs
  • Opened DSDT.dsl in MaciASL
When trying to compile the (unmodified, for testing's sake) DSDT.dsl file MaciASL spits out 6 errors. Tried both the 5.0A and 5.1 compiler: same result. 4.0 causes even more errors.

  • 13920 6126 syntax error, unexpected PARSEOP_ARG0
  • 15571 6126 syntax error, unexpected PARSEOP_NAMESEG, expecting '('
  • 15733 6126 syntax error, unexpected PARSEOP_NAMESEG, expecting '('
  • 15746 6126 syntax error, unexpected PARSEOP_STORE
  • 15748 6126 syntax error, unexpected PARSEOP_STORE
  • 15757 6126 syntax error, unexpected PARSEOP_METHOD, expecting $end and premature End-Of-File
How can these errors be fixed? I don't have enough knowdledge on the subject to fix it on my own. Help is greatly appreciated!

 


 


 

Update: Managed to get rid of 1 error by using refs.txt in the disassembly process as described in this thread.

Link to comment
Share on other sites

 Share

×
×
  • Create New...