Contribute
Register

Help Needed DSDT compiling error

Joined
Mar 19, 2017
Messages
52
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: 47

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,155
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
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))
 
Joined
Mar 19, 2017
Messages
52
Motherboard
Thinkpad X1 Carbon 5th
CPU
Intel Core i5-7300U
Graphics
Intel HD Graphics 620
Mac
  1. MacBook Pro
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: 49

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,155
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
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...
 
Joined
Mar 19, 2017
Messages
52
Motherboard
Thinkpad X1 Carbon 5th
CPU
Intel Core i5-7300U
Graphics
Intel HD Graphics 620
Mac
  1. MacBook Pro
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.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,155
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
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.
 
Top