Patching ACPI requires correct disassembly. It is not possible to disassemble DSDT.aml by itself. Read the guide carefully.
Hi RehabMan i follow guide in this link...
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
and exactly the following istructions:
Disassembling ACPI files
Although the extracted native files can be opened directly in MaciASL, it is not recommended. Opening an AML file directly in MaciASL will cause MaciASL to disassemble the file (with iasl) standalone, and if the AML has complex references to other AMLs, it will not disassemble it correctly. You'll be left with many hard to fix errors.
As a result, it is better to disassemble all files as a group using iasl in Terminal. To prepare, place all DSDT and SSDT files in a single directory (DO NOT copy ACPI files that don't begin with DSDT or SSDT), and change the names such that they have an .aml extension.
Then disassemble in OS X Terminal:
Code (Text):
cd "to directory where you placed all SSDT/DSDT"
iasl -da -dl *.aml
Note: Do NOT attempt to disassemble other ACPI files with the -da option. It will not work.
Note: Also read the section below regarding refs.txt. Using refs.txt takes little effort, but can eliminate many common errors.
From this point onward, you will
work exclusively with the resulting *.dsl files using MaciASL. Of course, to use them you must save as "ACPI Machine Language Binary" with an extension .aml and place them where they will be loaded by the bootloader. But keep your patched .dsl files in case you need to apply more patches in the future.
Let me state it quite simply (because this comes up a lot): If you are
opening an AML file directly in MaciASL and
clicking Compile,
you are doing it WRONG. Let that soak into the gray matter between your ears for a minute.
Note: The new tools with ACPI 6.1 are much more robust when dealing with AML files that have been compiled with the new version of iasl. ACPI 6.1 adds a feature to the compiler where opcodes for External references are added to the AML binary. ACPI interpreters ignore this data, but the data is useful to the disassembler (also only ACPI 6.1 version of iasl) to create a better disassembly from a standalone AML. As a result, you might find that AML files that have been recompiled with the latest tools may open directly more reliably. Of course, existing OEM ACPI DSDT and SSDTs are not using the new tools at this point, so you still must disassemble initially with all DSDT/SSDT with option -da, as described in this guide.
Note regarding Snow Leopard ACPI implementation: Unfortunately, the 10.6.8 ACPI is old enough that it chokes on AMLs with the external opcode. If you are planning to use your ACPI files with Snow Leopard use the undocumented "-oe" switch to iasl when you compile your AML files. This option is not set when you compile (Save As) from MaciASL, so you will need to compile your files in Terminal. The "-oe" option disables generation of the external opcode in the output AML files.
After this i have : 12526 6126 Syntax error, unexpected PARSEOP_ARG1
I attach my dsdt.dsl
What i wrong?