Contribute
Register

Syntax Errors while compiling DSDT.dsl

Status
Not open for further replies.
Joined
Nov 10, 2018
Messages
4
Motherboard
Dell Precision 7730 - Clover
CPU
i7-8750H
Graphics
Radeon Pro WX 4150, 1600 x 900
Items of note:
  • DSDT files were extracted from Linux (Fn + F4 in clover crashes the computer)
  • ACPI files were disassembled only using the -dl modifier (Skylake processor)
  • refs.txt disassembly was not used
With those points being mentioned, I am only have errors compiling the DSDT file, which are as follows:
  • Line 4575; Code 6126; syntax error, unexpected PARESOP_IF, expecting PARESOF_CLOSE_PAREN
  • Line 4579; Code 6126; syntax error, unexpected PARESOP_CLOSE_PAREN
  • Line 10640; Code 6126; syntax error, unexpected PARESOP_NAME, expecting $end and Premature End-of-Life
Per line of code:
  • Line 4575; Store (Zero, ECRW (If (PM0H)
  • Line 4579; }))
  • Line 10640; Name (_S0, Package (0x04) // _S0_: S0 System State
I would like to patch but I am concerned about breaking something important.
DSDT.dsl and SSDT.dsl files attached in zip file
 

Attachments

  • DSL.zip
    158.3 KB · Views: 81
Items of note:
  • DSDT files were extracted from Linux (Fn + F4 in clover crashes the computer)
  • ACPI files were disassembled only using the -dl modifier (Skylake processor)
  • refs.txt disassembly was not used
With those points being mentioned, I am only have errors compiling the DSDT file, which are as follows:
  • Line 4575; Code 6126; syntax error, unexpected PARESOP_IF, expecting PARESOF_CLOSE_PAREN
  • Line 4579; Code 6126; syntax error, unexpected PARESOP_CLOSE_PAREN
  • Line 10640; Code 6126; syntax error, unexpected PARESOP_NAME, expecting $end and Premature End-of-Life
Per line of code:
  • Line 4575; Store (Zero, ECRW (If (PM0H)
  • Line 4579; }))
  • Line 10640; Name (_S0, Package (0x04) // _S0_: S0 System State
I would like to patch but I am concerned about breaking something important.
DSDT.dsl and SSDT.dsl files attached in zip file

See guide:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
 
Your guide is the one I referenced to make this happen.
Are you saying that:
  • That my extraction method produced the errors?
  • That I should be focusing more on the config.plist and preloading the drivers that I need?
  • That I should use shotgun troubleshooting and apply your patches to see if the issue goes away?
 
Your guide is the one I referenced to make this happen.
Are you saying that:
  • That my extraction method produced the errors?
  • That I should be focusing more on the config.plist and preloading the drivers that I need?
  • That I should use shotgun troubleshooting and apply your patches to see if the issue goes away?

The guide addresses the ECRW error very specifically.
You should read the guide carefully.
 
ECRW was staring me right in the face.
I was paying more attention to the error codes than what the line of code actually said.
My last remaining hurdle is this bit of code:

Name (_S0, Package (0x04) // _S0_: S0 System State
{
Zero,
Zero,
Zero,
Zero
})

The one expecting a $end and premature End-of-file
 
Found discrepancy in extracted linux files.
  • Renamed extracted DSDT and SSDT unix files by adding .aml value / file extension
  • SSDT files 13 - 18 were in another directory within the extracted linux files directory
  • Combined all files, including missing SSDT files into same directory
  • Reran the aisl tool
  • Applied ECRW fix as directed
Properly compiled Dell Precision 7730 files attached.
Issue resolved!
 

Attachments

  • Properly Compiled DSL files Dell Precision 7730.zip
    164.4 KB · Views: 83
ECRW was staring me right in the face.
I was paying more attention to the error codes than what the line of code actually said.
My last remaining hurdle is this bit of code:

Name (_S0, Package (0x04) // _S0_: S0 System State
{
Zero,
Zero,
Zero,
Zero
})

The one expecting a $end and premature End-of-file

If you fix the ECRW error properly, there will be no further errors.
 
Status
Not open for further replies.
Back
Top