vandebergz Posted April 27, 2015 Share Posted April 27, 2015 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 https://www.insanelymac.com/forum/topic/305895-dsdt-error-unexpected-parseop_local0/ Share on other sites More sharing options...
RehabMan Posted April 27, 2015 Share Posted April 27, 2015 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.dslhttps://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 https://www.insanelymac.com/forum/topic/305895-dsdt-error-unexpected-parseop_local0/#findComment-2131271 Share on other sites More sharing options...
vandebergz Posted April 27, 2015 Author Share Posted April 27, 2015 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 Sorry but in terminal it said command not found Link to comment https://www.insanelymac.com/forum/topic/305895-dsdt-error-unexpected-parseop_local0/#findComment-2131273 Share on other sites More sharing options...
RehabMan Posted April 27, 2015 Share Posted April 27, 2015 Sorry but in terminal it said command not found You need to download iasl and place it in your path (eg. /usr/bin). My build of iasl is here: https://bitbucket.org/RehabMan/acpica/downloads Link to comment https://www.insanelymac.com/forum/topic/305895-dsdt-error-unexpected-parseop_local0/#findComment-2131274 Share on other sites More sharing options...
vandebergz Posted April 27, 2015 Author Share Posted April 27, 2015 You need to download iasl and place it in your path (eg. /usr/bin). My build of iasl is here: https://bitbucket.org/RehabMan/acpica/downloads Okay thanks. Now I only have 3 errors: 2 PARSEOP_ZERO and PARSEOP_ARG0 What do I have to do to them? Link to comment https://www.insanelymac.com/forum/topic/305895-dsdt-error-unexpected-parseop_local0/#findComment-2131276 Share on other sites More sharing options...
RehabMan Posted April 27, 2015 Share Posted April 27, 2015 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 https://www.insanelymac.com/forum/topic/305895-dsdt-error-unexpected-parseop_local0/#findComment-2131294 Share on other sites More sharing options...
vandebergz Posted June 25, 2015 Author Share Posted June 25, 2015 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 https://www.insanelymac.com/forum/topic/305895-dsdt-error-unexpected-parseop_local0/#findComment-2148087 Share on other sites More sharing options...
pokenguyen Posted June 25, 2015 Share Posted June 25, 2015 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 1 Link to comment https://www.insanelymac.com/forum/topic/305895-dsdt-error-unexpected-parseop_local0/#findComment-2148089 Share on other sites More sharing options...
vandebergz Posted June 25, 2015 Author Share Posted June 25, 2015 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 https://www.insanelymac.com/forum/topic/305895-dsdt-error-unexpected-parseop_local0/#findComment-2148142 Share on other sites More sharing options...
pokenguyen Posted June 25, 2015 Share Posted June 25, 2015 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 https://www.insanelymac.com/forum/topic/305895-dsdt-error-unexpected-parseop_local0/#findComment-2148192 Share on other sites More sharing options...
Recommended Posts