Contribute
Register

Help Needed DSDT compiling error

Status
Not open for further replies.
Joined
Mar 19, 2017
Messages
50
Motherboard
Thinkpad X1 Carbon 5th
CPU
Intel Core i5-7300U
Graphics
Intel HD Graphics 620
Mac
  1. MacBook Pro
I am trying to patch the dsdt on my X1C; however, the dsl file has an error I don't understand. It says "syntax error,unexpected PARSEOP_NAME". The aml is got from clover and I have both the aml and the dsl file in the attachments.
Thanks in advance.
 

Attachments

  • DSDT.zip
    128.9 KB · Views: 98
I am trying to patch the dsdt on my X1C; however, the dsl file has an error I don't understand. It says "syntax error,unexpected PARSEOP_NAME". The aml is got from clover and I have both the aml and the dsl file in the attachments.
Thanks in advance.

Attach native ACPI as extracted via Clover F4 (ACPI/origin).

Note that this file will compile with obvious edits:
- comment out the two lines (143, 145) with only 'One' on the (eg. //One)
- comment External for CPU0 at line 29 (eg. //External (_PR_.CPU0, DeviceObj))
 
Attach native ACPI as extracted via Clover F4 (ACPI/origin).

Note that this file will compile with obvious edits:
- comment out the two lines (143, 145) with only 'One' on the (eg. //One)
- comment External for CPU0 at line 29 (eg. //External (_PR_.CPU0, DeviceObj))
Thanks RehabMan, I did as you said but there is a new error in line175 (error name already exists in scope (BNUM)). So I just comment that line (175) too and compiles. Am I doing it right? By the way I have attached the native ACPI
 

Attachments

  • origin.zip
    67.8 KB · Views: 108
Thanks RehabMan, I did as you said but there is a new error in line175 (error name already exists in scope (BNUM)). So I just comment that line (175) too and compiles. Am I doing it right? By the way I have attached the native ACPI

Comment the 'External(BNUM,...)'. Not the line at the location of the error.

P.S. The reason I don't have the BNUM error is because I'm using current iasl built from sources...
 
Comment the 'External(BNUM,...)'. Not the line at the location of the error.

P.S. The reason I don't have the BNUM error is because I'm using current iasl built from sources...

Thanks, with my version I do not need to comment line 29, comment 143,145 and External(BNUM) it works.
 
Thanks, with my version I do not need to comment line 29

It is because there is new error checking (that I will probably disable) in the newer version.
 
Status
Not open for further replies.
Back
Top