Jump to content

ASRock H110M-DGS/i5 6500 - unexpected PARSEOP_ARG1


maiikel-
 Share

11 posts in this topic

Recommended Posts

Hi.

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

I'm getting the following error:
 

13496, 6126, syntax error, unexpected PARSEOP_ARG1

 

It refers to line Arg1 in this block of 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)
            }

 

To compile my own DSDT I've used MaciASL, version of compiler is 6.2a. Then I did the method with iasl including DSDT.aml, SSDT.aml and refs.txt - it spat DSDT.dsl and there are over 150 warnings. Then I've put few patches and then it all comes down only to ONE error (I think it deleted all _DSM):

 

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

And then I don't know what to do. All I'm trying is to fix my sleep/wake problem by deleting _PRW methods inside GLAN and XDCI ("Wake reason: GLAN XDCI") but first of all I need to sort out my mentioned earlier problem with compiling DSDT.

 

 

DSDT:SSDT before refs.zip

DSDT:SSDT after refs and patches.zip

Link to comment
Share on other sites

2 minutes ago, MaLd0n said:

don't need ssdt

DSDT.aml.zip

 

correct rename patches


change GFX0 to IGPU
47465830 
49475055 

change HDAS to HDEF
48444153 
48444546 

change HECI to IMEI
48454349 
494d4549 

change SAT0 to SATA
53415430 
53415441

 

DSDT.aml.zip

 

Got question for those rename patches. I see that here's GFX0 to IGPU but I forgot to mention I'm running on High Sierra 10.13.6 and GTX 1050Ti and eGPU works fine.

Link to comment
Share on other sites

4 minutes ago, maiikel- said:

Everything now works fine, I've delete _PRW on USBs. PC goes to sleep and doesn't immediately wake. But then after wake, it goes very laggy and my clock speed dips down to 800MHz and whole system is unresponsive. 

if ssdt by Piker-Alpha script solve it, just use ssdt

Link to comment
Share on other sites

33 minutes ago, Hervé said:

If you can, press F4 at Clover main menu to extract your raw ACPI tables in the EFI/CLOVER/ACPI/origin folder, then post a zipped copy of the folder. We can then look at where this SDSM method or object is actually defined.

 

In your DSDT, it's declared as an external integer (IntObj) which I guess is wrong. It's probably a method and should be declared as such:


External (SDSM, MethodObj)

 

The code in the _DSM method of device SAT0 could then be:


Return (SDSM (Arg0, Arg1, Arg2, Arg3))

like it is for the Return (PCID... line just above and PCID is defined as a method...

 

I think it has been already solved by @MaLd0n and it won't be a problem anyway. But sure, I can drop these.

 

31 minutes ago, MaLd0n said:

if ssdt by Piker-Alpha script solve it, just use ssdt

 

The thing is: that SSDT that I've uploaded is the one that was created with .sh by Piker so I don't know what else I can do.

origin.zip

Edited by maiikel-
Link to comment
Share on other sites

58 minutes ago, maiikel- said:

 

I think it has been already solved by @MaLd0n and it won't be a problem anyway. But sure, I can drop these.

 

 

The thing is: that SSDT that I've uploaded is the one that was created with .sh by Piker so I don't know what else I can do.

origin.zip

upload ur full efi folder

Link to comment
Share on other sites

 Share

×
×
  • Create New...