DSDT Compilation Error

Hi,
I am using Manjaro KDE on Lg Gram 2018. I found that even after shutdown battery is draining 1-2% a day. I was trying to found the solution to this. I landed up with ACPI tables entry DSDT.
I extracted the table information using this code:

 # cat /sys/firmware/acpi/tables/DSDT > dsdt.dat

Then I decompiled it using:

 sparsa@sparsa-gram  ~  iasl -d dsdt.dat 

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

Input file dsdt.dat, Length 0x28D3E (167230) bytes
ACPI: DSDT 0x0000000000000000 028D3E (v02 LGE    LGPC     00000000 INTL 20160527)
Pass 1 parse of [DSDT]
ACPI Error: ^GFX0.CLID: Path has too many parent prefixes (^) (20181003/nsaccess-570)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20181003/psobject-372)
ACPI Error: ^GFX0.IUER: Path has too many parent prefixes (^) (20181003/nsaccess-570)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20181003/psobject-372)
Pass 2 parse of [DSDT]
ACPI Error: ^GFX0.CLID: Path has too many parent prefixes (^) (20181003/nsaccess-570)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20181003/psobject-372)
ACPI Error: ^GFX0.IUER: Path has too many parent prefixes (^) (20181003/nsaccess-570)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20181003/psobject-372)
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 (RTIP)"
           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 - 1211607 bytes

Then I compiled it again:

sparsa@sparsa-gram  ~  iasl -tc dsdt.dsl 

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

Compiler aborting due to parser-detected syntax error(s)
dsdt.dsl      1: 
Error    6126 - syntax error, unexpected PARSEOP_NAMESEG, expecting PARSEOP_DEFINITION_BLOCK and premature End-Of-File

ASL Input:     dsdt.dsl - 1 lines, 1211607 bytes, 0 keywords
Hex Dump:      dsdt.hex - 230 bytes

Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

But I am unable to resolve this error, any help will be appreciated.

Check that line.
Not a DSDT specialist, but maybe do

Please post an excerpt of a few lines above and below the one the error occurs in.

Take notice you might need to specify some other external table some times, to properly decompile DSDT.

This topic was automatically closed after 180 days. New replies are no longer allowed.

Forum kindly sponsored by