Jump to content

DSDT Error: unexpected PARSEOP_LOCAL0


vandebergz
 Share

10 posts in this topic

Recommended Posts

I need help in fixing dsdt for my ASUS X555L notebook

DSDT is extracted by DPCIManager

Decompiled it, and fixed some error and what remains is this unexpected PARSEOP_LOCAL0

 

Can someone help me fix the error?

Name (ASBN, Zero)
        Method (SBRN, 0, Serialized)
        {
            If (^^^GFX0.PRST)
            {
                Store (^^^GFX0.GCBL, ^^^GFX0.CBLV)
                Local0
                Subtract (0x0A, Local0, Local1)
                If (LNotEqual (Local1, LBTN))
                {
                    Store (Local1, LBTN)
                }
            }
        }

https://www.dropbox.com/s/ocm7thoixvnmkoi/DSDT.dsl?dl=0 link to dsdt.dsl

https://www.dropbox.com/s/3p5fggrawjgaabw/DSDT.aml?dl=0 link to dsdt.aml

Link to comment
Share on other sites

I need help in fixing dsdt for my ASUS X555L notebook

DSDT is extracted by DPCIManager

Decompiled it, and fixed some error and what remains is this unexpected PARSEOP_LOCAL0

 

Can someone help me fix the error?

Name (ASBN, Zero)
        Method (SBRN, 0, Serialized)
        {
            If (^^^GFX0.PRST)
            {
                Store (^^^GFX0.GCBL, ^^^GFX0.CBLV)
                Local0
                Subtract (0x0A, Local0, Local1)
                If (LNotEqual (Local1, LBTN))
                {
                    Store (Local1, LBTN)
                }
            }
        }
https://www.dropbox.com/s/ocm7thoixvnmkoi/DSDT.dsl?dl=0 link to dsdt.dsl

https://www.dropbox.com/s/3p5fggrawjgaabw/DSDT.aml?dl=0 link to dsdt.aml

 

Disassemble with all OEM SSDTs as context and you'll have less errors.

# assuming all OEM SSDT/DSDT are in current directory
iasl -da -dl *.aml
Link to comment
Share on other sites

Okay thanks.

Now I only have 3 errors: 2 PARSEOP_ZERO and PARSEOP_ARG0

What do I have to do to them?

Errors cannot be diagnosed with an isolated error message. The code that is causing them is required context.

Link to comment
Share on other sites

  • 1 month later...

Sorry to bump. I'm trying to redo it again. But when decompiling I got stuck:

 

Intel ACPI Component Architecture

ASL+ Optimizing Compiler version 20141107-64 [Jan  2 2015]

Copyright © 2000 - 2014 Intel Corporation

 

Loading Acpi table from file   APIC.aml - Length 00000114 (000072)

Loading Acpi table from file   XSDT.aml - Length 00000172 (0000AC)

Pass 1 parse of [XSDT]

ACPI Warning: Invalid character(s) in name (0xC9ECA550), repaired: [P***] (20141107/utstring-708)

Could not parse external ACPI tables, AE_AML_NO_OPERAND

 

I used iasl -da -dl *.aml as you've written above

Link to comment
Share on other sites

Sorry to bump. I'm trying to redo it again. But when decompiling I got stuck:

 

Intel ACPI Component Architecture

ASL+ Optimizing Compiler version 20141107-64 [Jan  2 2015]

Copyright © 2000 - 2014 Intel Corporation

 

Loading Acpi table from file   APIC.aml - Length 00000114 (000072)

Loading Acpi table from file   XSDT.aml - Length 00000172 (0000AC)

Pass 1 parse of [XSDT]

ACPI Warning: Invalid character(s) in name (0xC9ECA550), repaired: [P***] (20141107/utstring-708)

Could not parse external ACPI tables, AE_AML_NO_OPERAND

 

I used iasl -da -dl *.aml as you've written above

Only put DSDT* and SSDT* to the folder, remove other files before runnning those command

 

Or you can run this:

iasl -da -dl DSDT.aml SSDT*.aml

  • Like 1
Link to comment
Share on other sites

Only put DSDT* and SSDT* to the folder, remove other files before runnning those command

 

Or you can run this:

iasl -da -dl DSDT.aml SSDT*.aml

 

Thank you very much.

 

For compiling, to avoid errors, do we need to compile again via Terminal or saving .dsl as .aml from MaciASL is okay?

Link to comment
Share on other sites

Thank you very much.

 

For compiling, to avoid errors, do we need to compile again via Terminal or saving .dsl as .aml from MaciASL is okay?

To reduce errors when compile, you can go to Preferences and switch between IASL 4/5. No need for a specific command.

Link to comment
Share on other sites

 Share

×
×
  • Create New...