Alex009988 Posted March 15, 2013 Share Posted March 15, 2013 Hello. I used the last compilator. But it did not work for me. What did I do wrong? Last login: Fri Mar 15 19:20:13 on ttys000 admins-imac:~ admin$ /Users/admin/Desktop/zlib/iasl -ta -vo /Users/admin/Desktop/zlib/DSDT.dsl Intel ACPI Component Architecture ASL Optimizing Compiler version 20130214-32 [Mar 7 2013] Copyright (c) 2000 - 2013 Intel Corporation Error 4092 - Could not open file "(null)" (No such file or directory) /Users/admin/Desktop/zlib/DSDT.dsl 491: Name (_PCL, Package (0x01) Optimize 6039 - Integer optimized to single-byte AML opcode ^ (One) /Users/admin/Desktop/zlib/DSDT.dsl 583: Name (_PCL, Package (0x01) Optimize 6039 - Integer optimized to single-byte AML opcode ^ (One) /Users/admin/Desktop/zlib/DSDT.dsl 1167: Name (BGDS, Package (0x01) Optimize 6039 - Integer optimized to single-byte AML opcode ^ (One) /Users/admin/Desktop/zlib/DSDT.dsl 2815: Name (_PSL, Package (0x01) Optimize 6039 - Integer optimized to single-byte AML opcode ^ (One) /Users/admin/Desktop/zlib/DSDT.dsl 7258: Name (TMP1, Package (0x01) Optimize 6039 - Integer optimized to single-byte AML opcode ^ (One) /Users/admin/Desktop/zlib/DSDT.dsl 7392: Return (Package (0x01) Optimize 6039 - Integer optimized to single-byte AML opcode ^ (One) admins-imac:~ admin$ DSDT.aml.zip iasl-20130307.zip Link to comment Share on other sites More sharing options...
Bungo Posted March 25, 2013 Share Posted March 25, 2013 11 July 2012. Summary of changes for version 20120711: [color=#000000]1) ACPICA Kernel-resident Subsystem:[/color]Fixed a possible fault in the return package object repair code. Fixes aproblem that can occur when a lone package object is wrapped with an outerpackage object in order to force conformance to the ACPI specification. Canaffect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX, _DLM,_CSD, _PSD, _TSD.Removed code to disable/enable bus master arbitration (ARB_DIS bit in thePM2_CNT register) in the ACPICA sleep/wake interfaces. Management of theARB_DIS bit must be implemented in the host-dependent C3 processor power statesupport. Note, ARB_DIS is obsolete and only applies to older chipsets, bothIntel and other vendors. (for Intel: ICH4-M and earlier)This change removes the code to disable/enable bus master arbitration duringsuspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register causesresume problems on some machines. The change has been in use for over sevenyears within Linux.Implemented two new external interfaces to support host-directed dynamic ACPItable load and unload. They are intended to simplify the host implementationof hot-plug support:AcpiLoadTable: Load an SSDT from a buffer into the namespace.AcpiUnloadParentTable: Unload an SSDT via a named object owned by the table.See the ACPICA reference for additional details. Adds one new file,components/tables/tbxfload.cImplemented and deployed two new interfaces for errors and warnings that areknown to be caused by BIOS/firmware issues:AcpiBiosError: Prints "ACPI Firmware Error" message.AcpiBiosWarning: Prints "ACPI Firmware Warning" message.Deployed these new interfaces in the ACPICA Table Manager code for ACPI tableand FADT errors. Additional deployment to be completed as appropriate in thefuture. The associated conditional macros are ACPI_BIOS_ERROR andACPI_BIOS_WARNING. See the ACPICA reference for additional details. [url="http://www.acpica.org/bugzilla/show_bug.cgi?id=843"]ACPICA BZ843[/url].Implicit notify support: ensure that no memory allocation occurs within acritical region. This fix moves a memory allocation outside of the time that aspinlock is held. Fixes issues on systems that do not allow this behavior.Jung-uk Kim.Split exception code utilities and tables into a new file, utilities/utexcep.c2) iASL Compiler/Disassembler and Tools:iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead of0. Jung-uk Kim.Debugger: Enhanced the "tables" command to emit additional information aboutthe current set of ACPI tables, including the owner ID and flags decode.Debugger: Reimplemented the "unload" command to use the newAcpiUnloadParentTable external interface. This command was disable previouslydue to need for an unload interface.AcpiHelp: Added a new option to decode ACPICA exception codes. The -e optionwill decode 16-bit hex status codes (ACPI_STATUS) to name strings.[/codeBOX] [b]iASL command line version 20120711 ([/b][b]July 11th 2012[/b][b]), Universal Binary (32 & 64 bit) -> [/b]http://drop.st/NtB93d [b]iaslMe 1.33 version 20120711 (June 11[/b][b]th 2012[/b][b]), Universal Binary (32 & 64 bit)[/b] -> http://drop.st/jLsMBx [b]Creadits to:[/b] cVad, Kabyl, Slice, STLVNUB Reupload iaslMe please. Link to comment Share on other sites More sharing options...
mitch_de Posted March 31, 2013 Author Share Posted March 31, 2013 Here you go: iaslMe.zip Link to comment Share on other sites More sharing options...
Bungo Posted April 26, 2013 Share Posted April 26, 2013 Here you go: Thanks Link to comment Share on other sites More sharing options...
qwerty12 Posted April 29, 2013 Share Posted April 29, 2013 For anyone using Homebrew, here's an iasl formula: require 'formula' class Iasl < Formula homepage 'https://www.acpica.org' url 'https://acpica.org/sites/acpica/files/acpica-unix-20130418.tar.gz' def patches DATA end def install ENV.j1 bin.mkpath system "make iasl HOST=_LINUX" system "make install PROGS=iasl INSTALLDIR=#{bin}" end def test system "#{bin}/iasl -v" end end __END__ # BSD cp doesn't understand --remove-destination so use -force instead diff --git a/generate/unix/Makefile.config b/generate/unix/Makefile.config index 65242e0..14e49c4 100644 --- a/generate/unix/Makefile.config +++ b/generate/unix/Makefile.config @@ -61,7 +61,7 @@ RENAMEPROG = \ # COPYPROG = \ @mkdir -p ../$(BINDIR); \ - cp --remove-destination $(PROG) ../$(BINDIR); \ + cp -f $(PROG) ../$(BINDIR); \ echo "Copied $(PROG) to $(FINAL_PROG)"; # # BSD install recursive directory creating won't let you copy the file also, # unlike GNU's. Just have install install the correct binary and rely on # bin.mkpath to create the destdir beforehand diff --git a/generate/unix/Makefile.config b/generate/unix/Makefile.config index 14e49c4..62eb4eb 100644 --- a/generate/unix/Makefile.config +++ b/generate/unix/Makefile.config @@ -45,7 +45,7 @@ BITSFLAG = -m$(BITS) COMPILEOBJ = $(CC) -c $(CFLAGS) $(OPT_CFLAGS) -o $@ $< LINKPROG = $(CC) $(OBJECTS) -o $(PROG) $(LDFLAGS) INSTALLDIR = /usr/bin -INSTALLPROG = install -D ../$(BINDIR)/$(PROG) $(DESTDIR)$(INSTALLDIR)/$(PROG) +INSTALLPROG = install ../$(BINDIR)/$(PROG) $(DESTDIR)$(INSTALLDIR)/$(PROG) # # Rename a .exe file if necessary Sadly, nothing happened when I tried to submit it, but it's easy to keep up to date manually: just change "20130418" with "<latest version of ACPICA as reported on their site>" to get the newest version. 1 Link to comment Share on other sites More sharing options...
k3nny Posted May 3, 2013 Share Posted May 3, 2013 (edited) As an addition, here is a formula to compile all acpica utilities. Thanks to lianqi. Additionally, you can build directly from the git repo with "install --HEAD". require 'formula' class Acpica < Formula homepage 'https://www.acpica.org/' url 'https://acpica.org/sites/acpica/files/acpica-unix-20130517.tar.gz' sha1 '11dc21c2e1314b727a6ca2d8f55af6b74e9f3134' head 'https://github.com/acpica/acpica.git' def install ENV.deparallelize ENV.no_optimization system "make", "HOST=_APPLE", "PREFIX=#{prefix}" system "make", "install", "HOST=_APPLE", "PREFIX=#{prefix}" test end test do system "#{bin}/iasl -v" end end History: 2013-05-27 official acpica formula available 2013-05-18 acpica now has OS X compilation support 2013-05-10 Reflects recent Makefile update Edited May 26, 2013 by k3nny 1 Link to comment Share on other sites More sharing options...
Fabio1971 Posted November 2, 2013 Share Posted November 2, 2013 Here you go: Thanks Link to comment Share on other sites More sharing options...
Ramalama Posted October 16, 2014 Share Posted October 16, 2014 MaciASL (with updated iasl5 15.10.2014) iasl5 only (latest version 15.10.2014) (just rename it to iasl if you want to put into /usr/bin) iasl5.zip MaciASL.zip 1 Link to comment Share on other sites More sharing options...
miqlas Posted October 21, 2014 Share Posted October 21, 2014 This is your version: Intel ACPI Component Architecture ASL Optimizing Compiler version 20140926-64 [Oct 15 2014] Copyright (c) 2000 - 2014 Intel Corporation It is suspicious, because we had this version ( http://www.hackintoshosx.com/files/file/4224-iasl-intel-acpi-tools-x64/ ) before: Intel ACPI Component Architecture ASL Optimizing Compiler version 20140926-64 [Sep 26 2014] Copyright (c) 2000 - 2014 Intel Corporation So why did you recompiled it? Your version have 11Kb bigger file size, but the same modification date (what definitely wrong). So whats going on? MaciASL (with updated iasl5 15.10.2014) iasl5 only (latest version 15.10.2014) (just rename it to iasl if you want to put into /usr/bin) Link to comment Share on other sites More sharing options...
Ramalama Posted October 21, 2014 Share Posted October 21, 2014 Didn't seen that anyone compiled it already. 11kb difference, because of compiling difference... Xcode 6.1 vs Xcode 5 Link to comment Share on other sites More sharing options...
Nikhil Sahu Posted February 18, 2015 Share Posted February 18, 2015 I am trying to convert ASL (*.dsl) to AML (*.dat) file (using iasl -tc *.dsl )but i am facing this error ------------------------------------------------------------------------------------Intel ACPI Component ArchitectureASL+ Optimizing Compiler version 20150204-64 [Feb 5 2015]Copyright © 2000 - 2015 Intel CorporationCompiler aborting due to parser-detected syntax error(s)dsdt.dsl 66: }Error 6126 - ^ syntax error, unexpected '}'dsdt.dsl 13916:Error 6126 - syntax error, unexpected $end and premature End-Of-FileASL Input: dsdt.dsl - 13916 lines, 431044 bytes, 5401 keywordsHex Dump: dsdt.hex - 217 bytesCompilation complete. 2 Errors, 0 Warnings, 0 Remarks, 0 Optimizations-------------------------------------------------------------------------------------------------------------------- and we did not change the *.dsl (ASL)filewhich i got from iasl -d *.dat I am getting error on this line, But not able to debug it. Method (ADBG, 1, Serialized) { If (CondRefOf (MDBG)) { Return (MDBG) /* External reference */ Arg0 } // getting error at this point Return (Zero) } please download the complete file and let me know why i got this error. https://www.dropbox....e/dsdt.dsl?dl=0 Link to comment Share on other sites More sharing options...
RehabMan Posted February 18, 2015 Share Posted February 18, 2015 I am trying to convert ASL (*.dsl) to AML (*.dat) file (using iasl -tc *.dsl )but i am facing this error ------------------------------------------------------------------------------------ Intel ACPI Component Architecture ASL+ Optimizing Compiler version 20150204-64 [Feb 5 2015] Copyright © 2000 - 2015 Intel Corporation Compiler aborting due to parser-detected syntax error(s) dsdt.dsl 66: } Error 6126 - ^ syntax error, unexpected '}' dsdt.dsl 13916: Error 6126 - syntax error, unexpected $end and premature End-Of-File ASL Input: dsdt.dsl - 13916 lines, 431044 bytes, 5401 keywords Hex Dump: dsdt.hex - 217 bytes Compilation complete. 2 Errors, 0 Warnings, 0 Remarks, 0 Optimizations -------------------------------------------------------------------------------------------------------------------- and we did not change the *.dsl (ASL)file which i got from iasl -d *.dat I am getting error on this line, But not able to debug it. Method (ADBG, 1, Serialized) { If (CondRefOf (MDBG)) { Return (MDBG) /* External reference */ Arg0 } // getting error at this point Return (Zero) } please download the complete file and let me know why i got this error. https://www.dropbox....e/dsdt.dsl?dl=0 It is a very common error, and is caused by iasl's bad guess on the number of parameters for MDBG. The fix is simple... (and obvious). Just edit the method to read: Method (ADBG, 1, Serialized) { Return (Zero) } Link to comment Share on other sites More sharing options...
WaldMeister Posted May 16, 2015 Share Posted May 16, 2015 Managed to compile the latest version. iasl.zip 1 Link to comment Share on other sites More sharing options...
TheRacerMaster Posted August 16, 2015 Share Posted August 16, 2015 Sounds like your ACPI tables were disassembled incorrectly. With newer systems, you must extract all of the original (raw) AML DSDT+SSDT files, and place them in a folder. Then, use iasl to decompile them: iasl -da -dl *.aml Link to comment Share on other sites More sharing options...
Adam lambert Posted December 5, 2018 Share Posted December 5, 2018 Thanks mitch and cVaD Great Link to comment Share on other sites More sharing options...
Recommended Posts