Jump to content

Need help with parsing tables (ssdt+dsdt).


existation
 Share

3 posts in this topic

Recommended Posts

Hi. Sorry for my english. This is not my native lenguage.

I decided to redo my dsdt.

First I booted clover on usb and press F4 to dump all my tables.

Then I open dsdt and at the begin of code i see this warning.

/*
     * iASL Warning: There were 5 external control methods found during
     * disassembly, but additional ACPI tables to resolve these externals
     * were not specified. This resulting disassembler output file may not
     * compile because the disassembler did not know how many arguments
     * to assign to these methods. To specify the tables needed to resolve
     * external control method references, use the one of the following
     * example iASL invocations:
     *     iasl -e <ssdt1.aml,ssdt2.aml...> -d <dsdt.aml>
     *     iasl -e <dsdt.aml,ssdt2.aml...> -d <ssdt1.aml>
     */
Just after
"DefinitionBlock ("iASLCu1SQC.aml", "DSDT", 1, "LENOVO", "CB-01   ", 0x00000001)
{
"
Ok. I'll do what he wants.
I run this command ...
/Users/alexey/Documents/Lenovo\ Y570/Tools/iasl_20130626_64/iasl -e SSDT-0.aml,SSDT-1.aml,SSDT-2.aml,SSDT-3x.aml,SSDT-4x.aml,SSDT-5x.aml,SSDT-6x.aml,SSDT-7.aml -d DSDT.aml
... and i saw this output 

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20130626-64 [Jul  3 2013]
Copyright (c) 2000 - 2013 Intel Corporation
 
Loading Acpi table from file DSDT.aml
Acpi table [DSDT] successfully installed and loaded
Loading Acpi table from file SSDT-7.aml
Acpi table [SSDT] successfully installed and loaded
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
Loading Acpi table from file SSDT-6x.aml
Acpi table [SSDT] successfully installed and loaded
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
Loading Acpi table from file SSDT-5x.aml
Acpi table [SSDT] successfully installed and loaded
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
Loading Acpi table from file SSDT-4x.aml
Acpi table [SSDT] successfully installed and loaded
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
Loading Acpi table from file SSDT-3x.aml
Acpi table [SSDT] successfully installed and loaded
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
Loading Acpi table from file SSDT-2.aml
Acpi table [SSDT] successfully installed and loaded
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
Loading Acpi table from file SSDT-1.aml
Acpi table [SSDT] successfully installed and loaded
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
Loading Acpi table from file SSDT-0.aml
Acpi table [SSDT] successfully installed and loaded
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)
 
Parsing completed
 
Found 5 external control methods, reparsing with new information
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)
 
Parsing completed
Disassembly completed
ASL Output:    DSDT.dsl - 451774 bytes
 
iASL Warning: There were 5 external control methods found during
disassembly, but only 0 was resolved (5 unresolved). Additional
ACPI tables are required to properly disassemble the code. The
resulting disassembler output file may not compile because the
disassembler did not know how many arguments to assign to the
unresolved methods.
I open DSDT.dsl and i see this warning again. 
What i do wrong? 

 

Link to comment
Share on other sites

You did everything right. This is the correct way of decompiling a DSDT. Alternatively you can use "-da" option to save some time typing in all the SSDT names.

The additional information is not always found but it should not make a difference when recompiling the DSDT.

Link to comment
Share on other sites

 Share

×
×
  • Create New...