Contribute
Register

syntax error, unexpected PARSEOP_ARG0 (Device (SAT0)), last error

Status
Not open for further replies.
Joined
Feb 21, 2011
Messages
304
Motherboard
GA-Z170X-UD3
CPU
I5-6600K
Graphics
Vega 64
Mac
  1. MacBook Air
  2. MacBook Pro
Mobile Phone
  1. iOS
Hi

I'm unable to find any information about how to fix this to compile my DSDT.

I'm getting the following error:

Code:
14109, 6126, syntax error, unexpected PARSEOP_ARG0

Which is the line "Arg0" in this block:
Code:
        Device (SAT0)
        {
            Name (_ADR, 0x00170000)  // _ADR: Address
            Method (_DSM, 4, Serialized)  // _DSM: Device-Specific Method
            {
                If (PCIC (Arg0))
                {
                    Return (PCID (Arg0, Arg1, Arg2, Arg3))
                }

                If (CondRefOf (\_SB.PCI0.SAT0.SDSM))
                {
                    Return (SDSM)
                    Arg0
                    Arg1
                    Arg2
                    Arg3
                }

                Return (Zero)
            }

I extracted my ACPI tables using F4 in Clover and decompiled them using the following command:
Code:
iasl -da -dl *.aml

I'm compiling the DSDT using version 5.1 in MaciASL.

I have also attached my DSDT with only that error left and my original (decompiled) DSDT.
 

Attachments

  • DSDT.orig.dsl.zip
    68.3 KB · Views: 156
  • DSDT.dsl.zip
    68.3 KB · Views: 258
Hi

I'm unable to find any information about how to fix this to compile my DSDT.

I'm getting the following error:

Code:
14109, 6126, syntax error, unexpected PARSEOP_ARG0

Which is the line "Arg0" in this block:
Code:
        Device (SAT0)
        {
            Name (_ADR, 0x00170000)  // _ADR: Address
            Method (_DSM, 4, Serialized)  // _DSM: Device-Specific Method
            {
                If (PCIC (Arg0))
                {
                    Return (PCID (Arg0, Arg1, Arg2, Arg3))
                }

                If (CondRefOf (\_SB.PCI0.SAT0.SDSM))
                {
                    Return (SDSM)
                    Arg0
                    Arg1
                    Arg2
                    Arg3
                }

                Return (Zero)
            }

I extracted my ACPI tables using F4 in Clover and decompiled them using the following command:
Code:
iasl -da -dl *.aml

I'm compiling the DSDT using version 5.1 in MaciASL.

I have also attached my DSDT with only that error left and my original (decompiled) DSDT.

You can remove the entire If (CondRefOf) block. Clearly, the SDSM isn't defined anywhere so the CondRefOf will always evaluate false.
 
i think there is extra code after return, just delete Arg0 Arg1 Arg2 Arg3 .
 
This helped me guys. Thanks.
 
I need help!
Pleas fix my dsds.aml please.
 

Attachments

  • DSDT.aml
    56.5 KB · Views: 216
Status
Not open for further replies.
Back
Top