Contribute
Register

Need Help with Compiling SSDT

Status
Not open for further replies.
Joined
Oct 15, 2016
Messages
71
Motherboard
Lenovo IdeaPad 510s-14isk
CPU
i7-6500U
Graphics
HD 520
Mobile Phone
  1. Android
Hello, I was trying to do "gfx0 -> igpu" patch for ssdt-14 file, but I got errors when trying to compile it.
The errors were
380, 6126, syntax error, unexpected PARSEOP_STORE
380, 6126, syntax error, unexpected ','
382, 6126, syntax error, unexpected PARSEOP_CLOSE_PAREN
441, 6126, syntax error, unexpected PARSEOP_SCOPE, expecting $end and premature End-Of-File

The dsdt and ssdt files are attached.

Any help is really appreciated.
Thanks.
 

Attachments

  • dsdt with ssdt.zip
    86.2 KB · Views: 79
Hello, I was trying to do "gfx0 -> igpu" patch for ssdt-14 file, but I got errors when trying to compile it.
The errors were
380, 6126, syntax error, unexpected PARSEOP_STORE
380, 6126, syntax error, unexpected ','
382, 6126, syntax error, unexpected PARSEOP_CLOSE_PAREN
441, 6126, syntax error, unexpected PARSEOP_SCOPE, expecting $end and premature End-Of-File

The dsdt and ssdt files are attached.

Any help is really appreciated.
Thanks.

File appears to be disassembled incorrectly.
Errors exist prior to rename.
Attach original AMLs from ACPI/origin.
 
File appears to be disassembled incorrectly.
Errors exist prior to rename.
Attach original AMLs from ACPI/origin.
Eh is that so?
Here's the original AML files.
 

Attachments

  • original amls.zip
    43.8 KB · Views: 65
Eh is that so?
Here's the original AML files.

As I suspected.
No errors with correct disassembly per guide: iasl -da -dl DSDT.aml SSDT*.aml
(don't forget to exclude duplicate SSDT-7x.aml)
 
As I suspected.
No errors with correct disassembly per guide: iasl -da -dl DSDT.aml SSDT*.aml
(don't forget to exclude duplicate SSDT-7x.aml)

Wew, got this error somehow.
Code:
Intel ACPI Component Architecture

ASL+ Optimizing Compiler version 20161210-64(RM)

Copyright (c) 2000 - 2016 Intel Corporation


Input file DSDT.aml, Length 0x154A1 (87201) bytes

ACPI: DSDT 0x0000000000000000 0154A1 (v02 LENOVO CB-01    00000001 ACPI 00040000)

External object resolution file      SSDT-9x.aml

Input file SSDT-9x.aml, Length 0x37F (895) bytes

ACPI: SSDT 0x0000000000000000 00037F (v02 PmRef  Cpu0Cst  00003001 INTL 20130117)

Pass 1 parse of [SSDT]

Pass 2 parse of [SSDT]

External object resolution file      SSDT-8x.aml

Input file SSDT-8x.aml, Length 0x5AA (1450) bytes

ACPI: SSDT 0x0000000000000000 0005AA (v02 PmRef  ApIst    00003000 INTL 20130117)

Pass 1 parse of [SSDT]

Pass 2 parse of [SSDT]

External object resolution file      SSDT-7x.aml

Input file SSDT-7x.aml, Length 0x654 (1620) bytes

ACPI: SSDT 0x0000000000000000 000654 (v02 PmRef  Cpu0Ist  00003000 INTL 20130117)

Pass 1 parse of [SSDT]

Pass 2 parse of [SSDT]

External object resolution file       SSDT-6.aml

Input file SSDT-6.aml, Length 0xE73 (3699) bytes

ACPI: SSDT 0x0000000000000000 000E73 (v02 LENOVO CB-01    00000001 ACPI 00040000)

Pass 1 parse of [SSDT]

Pass 2 parse of [SSDT]

External object resolution file       SSDT-5.aml

Input file SSDT-5.aml, Length 0x654 (1620) bytes

ACPI: SSDT 0x0000000000000000 000654 (v02 LENOVO CB-01    00000001 ACPI 00040000)

Pass 1 parse of [SSDT]

ACPI Error: [_PPC] Namespace lookup failure, AE_ALREADY_EXISTS (20161210/dswload-462)

ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20161210/psobject-310)

Could not parse external ACPI tables, AE_ALREADY_EXISTS

Where did I f*ck up somehow?
 
Wew, got this error somehow.
Code:
Intel ACPI Component Architecture

ASL+ Optimizing Compiler version 20161210-64(RM)

Copyright (c) 2000 - 2016 Intel Corporation


Input file DSDT.aml, Length 0x154A1 (87201) bytes

ACPI: DSDT 0x0000000000000000 0154A1 (v02 LENOVO CB-01    00000001 ACPI 00040000)

External object resolution file      SSDT-9x.aml

Input file SSDT-9x.aml, Length 0x37F (895) bytes

ACPI: SSDT 0x0000000000000000 00037F (v02 PmRef  Cpu0Cst  00003001 INTL 20130117)

Pass 1 parse of [SSDT]

Pass 2 parse of [SSDT]

External object resolution file      SSDT-8x.aml

Input file SSDT-8x.aml, Length 0x5AA (1450) bytes

ACPI: SSDT 0x0000000000000000 0005AA (v02 PmRef  ApIst    00003000 INTL 20130117)

Pass 1 parse of [SSDT]

Pass 2 parse of [SSDT]

External object resolution file      SSDT-7x.aml

Input file SSDT-7x.aml, Length 0x654 (1620) bytes

ACPI: SSDT 0x0000000000000000 000654 (v02 PmRef  Cpu0Ist  00003000 INTL 20130117)

Pass 1 parse of [SSDT]

Pass 2 parse of [SSDT]

External object resolution file       SSDT-6.aml

Input file SSDT-6.aml, Length 0xE73 (3699) bytes

ACPI: SSDT 0x0000000000000000 000E73 (v02 LENOVO CB-01    00000001 ACPI 00040000)

Pass 1 parse of [SSDT]

Pass 2 parse of [SSDT]

External object resolution file       SSDT-5.aml

Input file SSDT-5.aml, Length 0x654 (1620) bytes

ACPI: SSDT 0x0000000000000000 000654 (v02 LENOVO CB-01    00000001 ACPI 00040000)

Pass 1 parse of [SSDT]

ACPI Error: [_PPC] Namespace lookup failure, AE_ALREADY_EXISTS (20161210/dswload-462)

ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20161210/psobject-310)

Could not parse external ACPI tables, AE_ALREADY_EXISTS

Where did I f*ck up somehow?

You are not reading carefully:
(don't forget to exclude duplicate SSDT-7x.aml)

And if you read the ACPI patching guide carefully, you will see the problem of duplicate SSDTs in Clover extract is addressed.
 
You are not reading carefully:


And if you read the ACPI patching guide carefully, you will see the problem of duplicate SSDTs in Clover extract is addressed.

Shoot! Sorry. It seems after I looked up once again, the problem is also on iasl6.1 in MaciASL. After I updated the file to better version, I don't get error anymore.
Thanks!
 
Shoot! Sorry. It seems after I looked up once again, the problem is also on iasl6.1 in MaciASL. After I updated the file to better version, I don't get error anymore.
Thanks!

The error you had has nothing to do with iasl or MaciASL.
It is due to SSDT-7x being a duplicate of another SSDT.
 
Status
Not open for further replies.
Back
Top