nirmodel50 Posted June 4, 2014 Share Posted June 4, 2014 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 More sharing options...
RehabMan Posted June 4, 2014 Share Posted June 4, 2014 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 More sharing options...
nirmodel50 Posted June 5, 2014 Author Share Posted June 5, 2014 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 ArchitectureASL Optimizing Compiler version 20140424-32 [Apr 24 2014]Copyright © 2000 - 2014 Intel CorporationCompiler aborting due to parser-detected syntax error(s)dsdt790.dsl 44: External (*80D, DeviceObj)Error 6126 - ^ Parse error, expecting ASL keyword or namedsdt790.dsl 44: External (*80D, DeviceObj)Error 6126 - ^ syntax error, unexpected PARSEOP_INTEGERdsdt790.dsl 49: External (P8XH.*80D, DeviceObj)Error 6126 - ^ Invalid character (0x2E), expecting ASL keyword or namedsdt790.dsl 49: External (P8XH.*80D, DeviceObj)Error 6126 - ^ Parse error, expecting ASL keyword or namedsdt790.dsl 49: External (P8XH.*80D, DeviceObj)Error 6126 - ^ syntax error, unexpected PARSEOP_INTEGER, 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 $endand premature End-Of-FileASL Input: dsdt790.dsl - 7445 lines, 211741 bytes, 2165 keywordsHex Dump: dsdt790.hex - 216 bytesCompilation complete. 10 Errors, 0 Warnings, 0 Remarks, 0 Optimizations thanks. dsdt790.zip Link to comment Share on other sites More sharing options...
RehabMan Posted June 5, 2014 Share Posted June 5, 2014 ... Compilation complete. 10 Errors, 0 Warnings, 0 Remarks, 0 Optimizations thanks. Post the binary AML extracted from Linux. Link to comment Share on other sites More sharing options...
nirmodel50 Posted June 5, 2014 Author Share Posted June 5, 2014 Sure here you have. thanks for helping. dsdt790.zip Link to comment Share on other sites More sharing options...
RehabMan Posted June 5, 2014 Share Posted June 5, 2014 Sure here you have. thanks for helping. Post entire binary ACPI set DSDT/SSDTs from Linux. Link to comment Share on other sites More sharing options...
nirmodel50 Posted June 5, 2014 Author Share Posted June 5, 2014 sorry here you have. dsdt790.zip Link to comment Share on other sites More sharing options...
RehabMan Posted June 5, 2014 Share Posted June 5, 2014 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 More sharing options...
nirmodel50 Posted June 5, 2014 Author Share Posted June 5, 2014 Thanks I will do that. Link to comment Share on other sites More sharing options...
RehabMan Posted June 5, 2014 Share Posted June 5, 2014 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 More sharing options...
nirmodel50 Posted June 10, 2014 Author Share Posted June 10, 2014 thanks, I finally could compile it with your help. now I can start patching it. Link to comment Share on other sites More sharing options...
pepto Posted October 25, 2014 Share Posted October 25, 2014 Can you share the dsdt Link to comment Share on other sites More sharing options...
nirmodel50 Posted October 25, 2014 Author Share Posted October 25, 2014 Hi, Sure here you have. Let me know if you patch it. dsdt.aml.zip Link to comment Share on other sites More sharing options...
chappatti Posted November 24, 2014 Share Posted November 24, 2014 I am just starting on this model. Can anyone confirm their success? 1. Any info on how to get the install going? 2. Any distro, or just OSX RetaIL? Any info to make this a little less painful would be highly appreciated ! Thanks! Link to comment Share on other sites More sharing options...
ToGr82B4Gotn Posted January 9, 2015 Share Posted January 9, 2015 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 More sharing options...
MaLd0n Posted January 20, 2017 Share Posted January 20, 2017 fix dsdt.nirmodel50.zip Link to comment Share on other sites More sharing options...
Recommended Posts