Contribute
Register

[solved] Error to compilate dsdt file for battery (ASUS Vivobook)

Status
Not open for further replies.
Joined
Sep 1, 2017
Messages
20
Motherboard
Dell Latitude E7270
CPU
i5-6300U
Graphics
Intel HD Graphics 520
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
Hi, I'm trying to compilate dsdt file with MaciASL but it report me 3 error...how can I resolve?
The file that I upload is the original DSDT.aml, no patched (I've tried to extract them from linux but the file is the same)
I don't speak english so sorry for the eventual errors :)
 

Attachments

  • DSDT.aml
    152.2 KB · Views: 106
Code:
Domingos-iMac:origin domylol$ iasl -da -dl -fe refs.txt DSDT.aml SSDT*.aml

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

Input file DSDT.aml, Length 0x260FD (155901) bytes
ACPI: DSDT 0x0000000000000000 0260FD (v02 _ASUS_ Notebook 01072009 INTL 20120913)
External object resolution file SSDT-x5_6-HwpLvt.aml
Input file SSDT-x5_6-HwpLvt.aml, Length 0x130 (304) bytes
ACPI: SSDT 0x0000000000000000 000130 (v02 PmRef  HwpLvt   00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x5_5-ApHwp.aml
Input file SSDT-x5_5-ApHwp.aml, Length 0x119 (281) bytes
ACPI: SSDT 0x0000000000000000 000119 (v02 PmRef  ApHwp    00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x5_4-Cpu0Hwp.aml
Input file SSDT-x5_4-Cpu0Hwp.aml, Length 0x8E (142) bytes
ACPI: SSDT 0x0000000000000000 00008E (v02 PmRef  Cpu0Hwp  00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x5_3-ApCst.aml
Input file SSDT-x5_3-ApCst.aml, Length 0x119 (281) bytes
ACPI: SSDT 0x0000000000000000 000119 (v02 PmRef  ApCst    00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x5_2-Cpu0Cst.aml
Input file SSDT-x5_2-Cpu0Cst.aml, Length 0x37F (895) bytes
ACPI: SSDT 0x0000000000000000 00037F (v02 PmRef  Cpu0Cst  00003001 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x5_1-ApIst.aml
Input file SSDT-x5_1-ApIst.aml, Length 0x5AA (1450) bytes
ACPI: SSDT 0x0000000000000000 0005AA (v02 PmRef  ApIst    00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x5_0-Cpu0Ist.aml
Input file SSDT-x5_0-Cpu0Ist.aml, Length 0x61E (1566) bytes
ACPI: SSDT 0x0000000000000000 00061E (v02 PmRef  Cpu0Ist  00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-7-OptTabl.aml
Input file SSDT-7-OptTabl.aml, Length 0x1A9B (6811) bytes
ACPI: SSDT 0x0000000000000000 001A9B (v01 OptRef OptTabl  00001000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-6-SgPch.aml
Input file SSDT-6-SgPch.aml, Length 0x7EC (2028) bytes
ACPI: SSDT 0x0000000000000000 0007EC (v02 SgRef  SgPch    00001000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-5-CpuSsdt.aml
Input file SSDT-5-CpuSsdt.aml, Length 0xE73 (3699) bytes
ACPI: SSDT 0x0000000000000000 000E73 (v02 CpuRef CpuSsdt  00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-4-SaSsdt.aml
Input file SSDT-4-SaSsdt.aml, Length 0x58F1 (22769) bytes
ACPI: SSDT 0x0000000000000000 0058F1 (v02 SaSsdt SaSsdt   00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-3-DptfTabl.aml
Input file SSDT-3-DptfTabl.aml, Length 0x3D96 (15766) bytes
ACPI: SSDT 0x0000000000000000 003D96 (v02 DptfTa DptfTabl 00001000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-2-zpodd.aml
Input file SSDT-2-zpodd.aml, Length 0x4A3 (1187) bytes
ACPI: SSDT 0x0000000000000000 0004A3 (v02 INTEL  zpodd    00001000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-1-sensrhub.aml
Input file SSDT-1-sensrhub.aml, Length 0x248 (584) bytes
ACPI: SSDT 0x0000000000000000 000248 (v02 INTEL  sensrhub 00000000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-0-SataTabl.aml
Input file SSDT-0-SataTabl.aml, Length 0x315 (789) bytes
ACPI: SSDT 0x0000000000000000 000315 (v01 SataRe SataTabl 00001000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
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: AE_ALREADY_EXISTS, During name lookup/catalog (20180427/psobject-371)
Domingos-iMac:origin domylol$

Following the guide i've tried again to decompile it but the is the result
##############################
I don't speak english so sorry for the eventual errors :)
##############################
 

Attachments

  • origin.zip
    73.3 KB · Views: 82
Code:
Domingos-iMac:origin domylol$ iasl -da -dl -fe refs.txt DSDT.aml SSDT*.aml

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

Input file DSDT.aml, Length 0x260FD (155901) bytes
ACPI: DSDT 0x0000000000000000 0260FD (v02 _ASUS_ Notebook 01072009 INTL 20120913)
External object resolution file SSDT-x5_6-HwpLvt.aml
Input file SSDT-x5_6-HwpLvt.aml, Length 0x130 (304) bytes
ACPI: SSDT 0x0000000000000000 000130 (v02 PmRef  HwpLvt   00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x5_5-ApHwp.aml
Input file SSDT-x5_5-ApHwp.aml, Length 0x119 (281) bytes
ACPI: SSDT 0x0000000000000000 000119 (v02 PmRef  ApHwp    00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x5_4-Cpu0Hwp.aml
Input file SSDT-x5_4-Cpu0Hwp.aml, Length 0x8E (142) bytes
ACPI: SSDT 0x0000000000000000 00008E (v02 PmRef  Cpu0Hwp  00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x5_3-ApCst.aml
Input file SSDT-x5_3-ApCst.aml, Length 0x119 (281) bytes
ACPI: SSDT 0x0000000000000000 000119 (v02 PmRef  ApCst    00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x5_2-Cpu0Cst.aml
Input file SSDT-x5_2-Cpu0Cst.aml, Length 0x37F (895) bytes
ACPI: SSDT 0x0000000000000000 00037F (v02 PmRef  Cpu0Cst  00003001 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x5_1-ApIst.aml
Input file SSDT-x5_1-ApIst.aml, Length 0x5AA (1450) bytes
ACPI: SSDT 0x0000000000000000 0005AA (v02 PmRef  ApIst    00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x5_0-Cpu0Ist.aml
Input file SSDT-x5_0-Cpu0Ist.aml, Length 0x61E (1566) bytes
ACPI: SSDT 0x0000000000000000 00061E (v02 PmRef  Cpu0Ist  00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-7-OptTabl.aml
Input file SSDT-7-OptTabl.aml, Length 0x1A9B (6811) bytes
ACPI: SSDT 0x0000000000000000 001A9B (v01 OptRef OptTabl  00001000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-6-SgPch.aml
Input file SSDT-6-SgPch.aml, Length 0x7EC (2028) bytes
ACPI: SSDT 0x0000000000000000 0007EC (v02 SgRef  SgPch    00001000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-5-CpuSsdt.aml
Input file SSDT-5-CpuSsdt.aml, Length 0xE73 (3699) bytes
ACPI: SSDT 0x0000000000000000 000E73 (v02 CpuRef CpuSsdt  00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-4-SaSsdt.aml
Input file SSDT-4-SaSsdt.aml, Length 0x58F1 (22769) bytes
ACPI: SSDT 0x0000000000000000 0058F1 (v02 SaSsdt SaSsdt   00003000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-3-DptfTabl.aml
Input file SSDT-3-DptfTabl.aml, Length 0x3D96 (15766) bytes
ACPI: SSDT 0x0000000000000000 003D96 (v02 DptfTa DptfTabl 00001000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-2-zpodd.aml
Input file SSDT-2-zpodd.aml, Length 0x4A3 (1187) bytes
ACPI: SSDT 0x0000000000000000 0004A3 (v02 INTEL  zpodd    00001000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-1-sensrhub.aml
Input file SSDT-1-sensrhub.aml, Length 0x248 (584) bytes
ACPI: SSDT 0x0000000000000000 000248 (v02 INTEL  sensrhub 00000000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-0-SataTabl.aml
Input file SSDT-0-SataTabl.aml, Length 0x315 (789) bytes
ACPI: SSDT 0x0000000000000000 000315 (v01 SataRe SataTabl 00001000 INTL 20120913)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
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: AE_ALREADY_EXISTS, During name lookup/catalog (20180427/psobject-371)
Domingos-iMac:origin domylol$

Following the guide i've tried again to decompile it but the is the result
##############################
I don't speak english so sorry for the eventual errors :)
##############################

SSDT-2-zpodd.aml has a duplicate symbol (already defined in DSDT), so leave it out of the disassembly (eg. rename to .bak)
 
Thank you @RehabMan , the files are decompilate but before I patch DSDT.aml I try to compilate and the compiler report me 3 syntax error (2 PARSEOP_ZERO and 1 PARSEOP_SCOPE) but I don't know how to resolve these errors...thank you again for the support

##############################
I don't speak english so sorry for the eventual errors :)
##############################
 

Attachments

  • origin.zip
    198.9 KB · Views: 92
Last edited:
Thank you @RehabMan , the files are decompilate but before I patch DSDT.aml I try to compilate but the compiler report me 3 syntax error (2 PARSEOP_ZERO and 1 PARSEOP_SCOPE) but I don't know how to resolve these errors...thank you again for the support

##############################
I don't speak english so sorry for the eventual errors :)
##############################

Use "Fix PARSEOP_ZERO Error (agressive)" patch.
And DO NOT apply the battery patch more than once.
 
Status
Not open for further replies.
Back
Top