Contribute
Register

Error Disaasembling AML

Joined
Jul 17, 2017
Messages
11
CPU
14I5 6500
Graphics
Nvidia 750 TI
Hi
I am new to DSDT Patching, Just made a few hackintoshes avoid to do this work.
For the first time I am actually encountering DSDT Patching.

This one is for Hp 15 Au118tx
i7 7500U @2.79GHz Kaby lake
16gb Ram
Intel HD Graphics 620
Nvidia Geforce 940mx
Realtek alc 0295
Ethernet RTL 8101E
Dual Band Intel
High Sierra 10.13.6


Figured out to boot and safely run mac with working Intel Graphics, But my config.plist is flushed with random patches(using plist from installer USB)
I am attaching my config.plist as well

Extracted MY DSDT.AML using CLover F4


I am getting this output, Not sure if this is correctly Dissassembled
@RehabMan Please Reply with your Guidance.


Code:
Last login: Tue May 21 17:12:03 on ttys000
iMac-2:~ adeeb$ cd Desktop/origin
iMac-2:origin adeeb$ iasl -da -dl *.aml

Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20180427(RM)
Copyright (c) 2000 - 2018 Intel Corporation

Input file DSDT.aml, Length 0x1FE9F (130719) bytes
ACPI: DSDT 0x0000000000000000 01FE9F (v02 HPQOEM 8216     00000000 ACPI 00040000)
Pass 1 parse of [DSDT]
ACPI Error: ^^WMID.WMIF: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^PEG0.PEGP.LCD0: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^GFX0.CLID: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
Pass 2 parse of [DSDT]
ACPI Error: ^^WMID.WMIF: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^PEG0.PEGP.LCD0: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^GFX0.CLID: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
 Warning - Emitting ASL code "External (BNUM)"
           This is a conflicting declaration with some other declaration within the ASL code.
           This external declaration may need to be deleted in order to recompile the dsl file.

Disassembly completed
ASL Output:    DSDT.dsl - 975599 bytes
iMac-2:origin adeeb$

USING REFS give me this OUTPUT

Code:
iMac-2:origin adeeb$ iasl -da -dl -fe refs.txt dsdt.aml

Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20180427(RM)
Copyright (c) 2000 - 2018 Intel Corporation

Input file dsdt.aml, Length 0x1FE9F (130719) bytes
ACPI: DSDT 0x0000000000000000 01FE9F (v02 HPQOEM 8216     00000000 ACPI 00040000)
refs.txt: Importing method external (1 arguments) MDBG
refs.txt: Importing method external (0 arguments) _GPE.MMTB
refs.txt: Importing method external (2 arguments) _SB.PCI0.LPCB.H_EC.ECWT
refs.txt: Importing method external (1 arguments) _SB.PCI0.LPCB.H_EC.ECRD
refs.txt: Importing method external (1 arguments) _SB.PCI0.LPCB.H_EC.ECMD
refs.txt: Importing method external (2 arguments) _SB.PCI0.PEG0.PEGP.SGPO
refs.txt: Importing method external (1 arguments) _SB.PCI0.GFX0.DD02._BCM
refs.txt: Importing method external (4 arguments) _SB.PCI0.SAT0.SDSM
refs.txt: Importing method external (3 arguments) _GPE.VHOV
refs.txt: Importing method external (2 arguments) _SB.PCI0.XHC.RHUB.TPLD
refs.txt: Imported 10 external method definitions
Pass 1 parse of [DSDT]
ACPI Error: ^^WMID.WMIF: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^PEG0.PEGP.LCD0: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^GFX0.CLID: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
Pass 2 parse of [DSDT]
ACPI Error: ^^WMID.WMIF: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^PEG0.PEGP.LCD0: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^GFX0.CLID: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed

Found 9 external control methods, reparsing with new information
Pass 1 parse of [DSDT]
ACPI Error: ^^WMID.WMIF: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^PEG0.PEGP.LCD0: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^GFX0.CLID: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
Pass 2 parse of [DSDT]
ACPI Error: ^^WMID.WMIF: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^PEG0.PEGP.LCD0: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^GFX0.CLID: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
 Warning - Emitting ASL code "External (BNUM)"
           This is a conflicting declaration with some other declaration within the ASL code.
           This external declaration may need to be deleted in order to recompile the dsl file.

 Warning - Emitting ASL code "External (MDBG)"
           This is a conflicting declaration with some other declaration within the ASL code.
           This external declaration may need to be deleted in order to recompile the dsl file.

Disassembly completed
ASL Output:    dsdt.dsl - 977360 bytes
iMac-2:origin adeeb$
 

Attachments

Joined
Jan 15, 2010
Messages
124
Motherboard
HP Omen 17-an011na
CPU
i7-7700HQ/HM175
Graphics
GTX 1050, HD 630
Mac
Mac Pro
Classic Mac
iMac, Power Mac
Mobile Phone
Android
does the origin folder on your desktop have all .aml files from the origin folder on your efi partition?
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
13,275
Motherboard
Asus N752VX-Clover
CPU
i7-6700HQ / HM170
Graphics
HD530 + GTX 950m 1920 x 1080
Mac
iMac
Mobile Phone
iOS
Hi
I am new to DSDT Patching, Just made a few hackintoshes avoid to do this work.
For the first time I am actually encountering DSDT Patching.

This one is for Hp 15 Au118tx
i7 7500U @2.79GHz Kaby lake
16gb Ram
Intel HD Graphics 620
Nvidia Geforce 940mx
Realtek alc 0295
Ethernet RTL 8101E
Dual Band Intel
High Sierra 10.13.6


Figured out to boot and safely run mac with working Intel Graphics, But my config.plist is flushed with random patches(using plist from installer USB)
I am attaching my config.plist as well

Extracted MY DSDT.AML using CLover F4


I am getting this output, Not sure if this is correctly Dissassembled
@RehabMan Please Reply with your Guidance.


Code:
Last login: Tue May 21 17:12:03 on ttys000
iMac-2:~ adeeb$ cd Desktop/origin
iMac-2:origin adeeb$ iasl -da -dl *.aml

Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20180427(RM)
Copyright (c) 2000 - 2018 Intel Corporation

Input file DSDT.aml, Length 0x1FE9F (130719) bytes
ACPI: DSDT 0x0000000000000000 01FE9F (v02 HPQOEM 8216     00000000 ACPI 00040000)
Pass 1 parse of [DSDT]
ACPI Error: ^^WMID.WMIF: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^PEG0.PEGP.LCD0: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^GFX0.CLID: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
Pass 2 parse of [DSDT]
ACPI Error: ^^WMID.WMIF: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^PEG0.PEGP.LCD0: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^GFX0.CLID: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Warning - Emitting ASL code "External (BNUM)"
           This is a conflicting declaration with some other declaration within the ASL code.
           This external declaration may need to be deleted in order to recompile the dsl file.

Disassembly completed
ASL Output:    DSDT.dsl - 975599 bytes
iMac-2:origin adeeb$

USING REFS give me this OUTPUT

Code:
iMac-2:origin adeeb$ iasl -da -dl -fe refs.txt dsdt.aml

Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20180427(RM)
Copyright (c) 2000 - 2018 Intel Corporation

Input file dsdt.aml, Length 0x1FE9F (130719) bytes
ACPI: DSDT 0x0000000000000000 01FE9F (v02 HPQOEM 8216     00000000 ACPI 00040000)
refs.txt: Importing method external (1 arguments) MDBG
refs.txt: Importing method external (0 arguments) _GPE.MMTB
refs.txt: Importing method external (2 arguments) _SB.PCI0.LPCB.H_EC.ECWT
refs.txt: Importing method external (1 arguments) _SB.PCI0.LPCB.H_EC.ECRD
refs.txt: Importing method external (1 arguments) _SB.PCI0.LPCB.H_EC.ECMD
refs.txt: Importing method external (2 arguments) _SB.PCI0.PEG0.PEGP.SGPO
refs.txt: Importing method external (1 arguments) _SB.PCI0.GFX0.DD02._BCM
refs.txt: Importing method external (4 arguments) _SB.PCI0.SAT0.SDSM
refs.txt: Importing method external (3 arguments) _GPE.VHOV
refs.txt: Importing method external (2 arguments) _SB.PCI0.XHC.RHUB.TPLD
refs.txt: Imported 10 external method definitions
Pass 1 parse of [DSDT]
ACPI Error: ^^WMID.WMIF: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^PEG0.PEGP.LCD0: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^GFX0.CLID: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
Pass 2 parse of [DSDT]
ACPI Error: ^^WMID.WMIF: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^PEG0.PEGP.LCD0: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^GFX0.CLID: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed

Found 9 external control methods, reparsing with new information
Pass 1 parse of [DSDT]
ACPI Error: ^^WMID.WMIF: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^PEG0.PEGP.LCD0: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^GFX0.CLID: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
Pass 2 parse of [DSDT]
ACPI Error: ^^WMID.WMIF: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^PEG0.PEGP.LCD0: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^GFX0.CLID: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Warning - Emitting ASL code "External (BNUM)"
           This is a conflicting declaration with some other declaration within the ASL code.
           This external declaration may need to be deleted in order to recompile the dsl file.

Warning - Emitting ASL code "External (MDBG)"
           This is a conflicting declaration with some other declaration within the ASL code.
           This external declaration may need to be deleted in order to recompile the dsl file.

Disassembly completed
ASL Output:    dsdt.dsl - 977360 bytes
iMac-2:origin adeeb$
you need to extract DSDT and SSDT* together, check back on the guide and try again
 
Joined
Jul 17, 2017
Messages
11
CPU
14I5 6500
Graphics
Nvidia 750 TI
does the origin folder on your desktop have all .aml files from the origin folder on your efi partition?
no there are many many files, I skipped around 20 files and placed only DSDT
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
13,275
Motherboard
Asus N752VX-Clover
CPU
i7-6700HQ / HM170
Graphics
HD530 + GTX 950m 1920 x 1080
Mac
iMac
Mobile Phone
iOS
no there are many many files, I skipped around 20 files and placed only DSDT
thats the issue then

go back and read up on the guide:
 
Joined
Jul 17, 2017
Messages
11
CPU
14I5 6500
Graphics
Nvidia 750 TI
Sure, Thanks for the quick Response, I'll Check once and Ask if there are any queries.. Guide is really confusing btw
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
13,275
Motherboard
Asus N752VX-Clover
CPU
i7-6700HQ / HM170
Graphics
HD530 + GTX 950m 1920 x 1080
Mac
iMac
Mobile Phone
iOS
Sure, Thanks for the quick Response, I'll Check once and Ask if there are any queries.. Guide is really confusing btw
if you are using refs then you will do this terminal:
Code:
iasl -da -dl -fe refs.txt DSDT.aml SSDT*.aml
which will only extract your DSDT and all SSDT (all that start with SSDT including the ones with the x)
 
Joined
Jan 15, 2010
Messages
124
Motherboard
HP Omen 17-an011na
CPU
i7-7700HQ/HM175
Graphics
GTX 1050, HD 630
Mac
Mac Pro
Classic Mac
iMac, Power Mac
Mobile Phone
Android
no there are many many files, I skipped around 20 files and placed only DSDT
Just include all the files from the origin folder but yes the guide explains it all.
 
Top