Jump to content

DSDT optiplex 790 bios a18


nirmodel50
 Share

16 posts in this topic

Recommended Posts

Hi All,
 
I'm trying to compile this DSDT but Im not able to solve some of the errors.
 
 
"6820: }), If (LEqual (Arg0, 0x02)) Error 6126 - syntax error, unexpected ')' ^

6824: }) Error 6126 - syntax error, unexpected ')' ^


6833: Error 6126 - syntax error, unexpected PARSEOP_OPERATIONREGION, expecting $end and premature End-Of-File"

 

 

IF somemone can help.

 

Thanks

dsdt790.zip

Link to comment
Share on other sites

Hi All,

 

I'm trying to compile this DSDT but Im not able to solve some of the errors.

 

 

"6820: }), If (LEqual (Arg0, 0x02)) Error 6126 - syntax error, unexpected ')' ^

 

6824: }) Error 6126 - syntax error, unexpected ')' ^

 

 

6833: Error 6126 - syntax error, unexpected PARSEOP_OPERATIONREGION, expecting $end and premature End-Of-File"

 

 

IF somemone can help.

 

Thanks

Probably a corrupt file. Re-extract using Linux (/sys/firmware/acpi/tables/DSDT) or AIDA64 on Windows.

Link to comment
Share on other sites

Hi I did  re-extract the file using Linux and get the same error.

 

I see this error also:
 
ACPI Warning: Invalid character(s) in name (0x44303810), repaired: [*80D] (20140424/utstring-713)
 

 
Intel ACPI Component Architecture
ASL Optimizing Compiler version 20140424-32 [Apr 24 2014]
Copyright © 2000 - 2014 Intel Corporation

Compiler aborting due to parser-detected syntax error(s)
dsdt790.dsl 44: External (*80D, DeviceObj)
Error 6126 - ^ Parse error, expecting ASL keyword or name

dsdt790.dsl 44: External (*80D, DeviceObj)
Error 6126 - ^ syntax error, unexpected PARSEOP_INTEGER

dsdt790.dsl 49: External (P8XH.*80D, DeviceObj)
Error 6126 - ^ Invalid character (0x2E), expecting ASL k
eyword or name

dsdt790.dsl 49: External (P8XH.*80D, DeviceObj)
Error 6126 - ^ Parse error, expecting ASL keyword or na
me

dsdt790.dsl 49: External (P8XH.*80D, DeviceObj)
Error 6126 - ^ syntax error, unexpected PARSEOP_INTEG
ER, expecting ')'

dsdt790.dsl 7422: Store (Or (And (P80D, 0x1000FF00), Scope (*80D)
Error 6126 - syntax error, unexpected PARSEOP_SCOPE ^

dsdt790.dsl 7422: Store (Or (And (P80D, 0x1000FF00), Scope (*80D)
Error 6126 - Parse error, expecting ASL keyword or name ^

dsdt790.dsl 7429: }), If (LEqual (Arg0, 0x02))
Error 6126 - ^ syntax error, unexpected ')'

dsdt790.dsl 7433: })
Error 6126 - ^ syntax error, unexpected ')'

dsdt790.dsl 7445:
Error 6126 - syntax error, unexpected PARSEOP_OPERATIONREGION, expecting $end
and premature End-Of-File

ASL Input: dsdt790.dsl - 7445 lines, 211741 bytes, 2165 keywords
Hex Dump: dsdt790.hex - 216 bytes

Compilation complete. 10 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
 
 
thanks.

dsdt790.zip

Link to comment
Share on other sites

sorry here you have.

The file has a damaged name in it which messes with iasl.

 

Use this patch to correct in Terminal:

perl -pi -e 's|\x10\x38\x30\x44|P80D|g' dsdt790.aml
Then use this MaciASL patch for clean compile:

into method label P8XH remove_entry;
Link to comment
Share on other sites

Thanks I will do that.

Also, this set of MaciASL patches (on unpatched AML) works too:

into definitionblock code_regex External\s+\(.*80D.*\) remove_matched;
into method label P8XH remove_entry;
But it might depend on which iasl you're using, as the way in which iasl deals with the invalid AML varies depending on version...
Link to comment
Share on other sites

  • 4 months later...
  • 5 weeks later...
  • 1 month later...

I have just completed an installation of Yosemite.

I will be putting together a tutorial later tonight.

I used Clover to put this in, and it was really straight forward. I have an Nvidia Quadro K600 video card.

Not only will I do the tutorial for it, I will include the config.plist for it. If you have a different Video card, you will have to change that.

Link to comment
Share on other sites

  • 2 years later...
 Share

×
×
  • Create New...