tomchook Posted December 30, 2011 Share Posted December 30, 2011 I'm trying to create a DSDT file for HP pavilion dv9750ej This is my error message after trying to compile: Intel ACPI Component Architecture ASL Optimizing Compiler version 20100331 [Mar 31 2010] Copyright (c) 2000 - 2010 Intel Corporation Supports ACPI Specification Revision 4.0 dsdt.dsl 3284: Method (_HOT, 0, Serialized) Warning 1088 - ^ Not all control paths return a value (_HOT) dsdt.dsl 3284: Method (_HOT, 0, Serialized) Warning 1081 - ^ Reserved method must return a value (Integer required for _HOT) dsdt.dsl 3299: Method (_CRT, 0, Serialized) Warning 1088 - ^ Not all control paths return a value (_CRT) dsdt.dsl 3299: Method (_CRT, 0, Serialized) Warning 1081 - ^ Reserved method must return a value (Integer required for _CRT) dsdt.dsl 7311: Method (_Q16, 0, NotSerialized) Warning 1088 - ^ Not all control paths return a value (_Q16) ASL Input: dsdt.dsl - 8843 lines, 312531 bytes, 4455 keywords AML Output: DSDT.aml - 35920 bytes, 736 named objects, 3719 executable opcodes Compilation complete. 0 Errors, 5 Warnings, 0 Remarks, 44 Optimizations [Completed] And here are the problematic code lines: Could you please tell me how to fix it? I would really appreciate it! Link to comment Share on other sites More sharing options...
Gringo Vermelho Posted January 1, 2012 Share Posted January 1, 2012 Maybe adding a return (zero) statement at the end of each method will work too. 1 Link to comment Share on other sites More sharing options...
tomchook Posted January 2, 2012 Author Share Posted January 2, 2012 Maybe try later version of iasl. Unfortunately I don't have OSX installed yet, and shouldn't I create the dsdt.aml file BEFORE installing OSX? Maybe adding a return (zero) statement at the end of each method will work too. Could you please be more specific? It's the first time I'm creating this file and I have no experience in programming. Is it possible you could write me which lines I have to replace and with what exactly? I would really appreciate it! Thanks for the both of you Link to comment Share on other sites More sharing options...
uzmi Posted January 2, 2012 Share Posted January 2, 2012 Unfortunately I don't have OSX installed yet, and shouldn't I create the dsdt.aml file BEFORE installing OSX? Could you please be more specific? It's the first time I'm creating this file and I have no experience in programming. Is it possible you could write me which lines I have to replace and with what exactly? I would really appreciate it! Thanks for the both of you Link to comment Share on other sites More sharing options...
tomchook Posted January 3, 2012 Author Share Posted January 3, 2012 uzmi, thanks for your help, but now after compiliing I have a new error: Intel ACPI Component Architecture ASL Optimizing Compiler version 20100331 [Mar 31 2010] Copyright (c) 2000 - 2010 Intel Corporation Supports ACPI Specification Revision 4.0 dsdt.dsl 7311: Method (_Q16, 0, NotSerialized) Warning 1088 - ^ Not all control paths return a value (_Q16) ASL Input: dsdt.dsl - 8843 lines, 312592 bytes, 4457 keywords AML Output: DSDT.aml - 35924 bytes, 736 named objects, 3721 executable opcodes Compilation complete. 0 Errors, 1 Warnings, 0 Remarks, 44 Optimizations [Completed] This is how my DSDT file looks after line 7311: Method (_Q16, 0, NotSerialized) { Store ("!!! DVD/Music Button pressed !!!", Debug) Store (QBBB, Local0) If (LEqual (Local0, 0x03)) { Notify (MBTN, 0x02) Return (Zero) } If (LEqual (Local0, 0x06)) { Notify (PBTN, 0x02) Return (Zero) } If (LEqual (Local0, 0x12)) { Notify (VBTN, 0x02) Return (Zero) } If (LEqual (Local0, 0x11)) { Notify (TBTN, 0x02) Return (Zero) } Store (0x04, ^^^^WMID.Z014) Store (Zero, ^^^^WMID.Z015) Notify (WMID, 0x80) } How can I fix that? Thank you again! 1 Link to comment Share on other sites More sharing options...
uzmi Posted January 3, 2012 Share Posted January 3, 2012 uzmi, thanks for your help, but now after compiliing I have a new error: How can I fix that? Thank you again! Hi Is not an error, is a warnings. It work well, but if you want to remove it, upload your DSDT.aml file, to correct with the program DSDTSE (mac) Sorry for mi English, I'm spanish speaker. Uzmi Link to comment Share on other sites More sharing options...
tomchook Posted January 3, 2012 Author Share Posted January 3, 2012 Thank you! I just had to replace the "DeBug" into "0x0F", and now I don't have any errors, but I can see only dsdt.dsl file, and no dsdt.aml. How can I compile the dsl into aml? Link to comment Share on other sites More sharing options...
Gringo Vermelho Posted January 3, 2012 Share Posted January 3, 2012 If you're using DSDTSE you must save DSDT.dsl to the default location and then click compile somewhere in the menus. Read the manual! Link to comment Share on other sites More sharing options...
tomchook Posted January 4, 2012 Author Share Posted January 4, 2012 I tried to compile a few times, but I realized it deletes the DSDT.aml file when I try to fix my last error: Intel ACPI Component Architecture ASL Optimizing Compiler version 20100331 [Mar 31 2010] Copyright (c) 2000 - 2010 Intel Corporation Supports ACPI Specification Revision 4.0 dsdt.dsl 7311: Method (_Q16, 0, NotSerialized) Warning 1088 - ^ Not all control paths return a value (_Q16) ASL Input: dsdt.dsl - 8843 lines, 312591 bytes, 4457 keywords AML Output: DSDT.aml - 35924 bytes, 736 named objects, 3721 executable opcodes Compilation complete. 0 Errors, 1 Warnings, 0 Remarks, 44 Optimizations [Completed] After changing the Store ("!!! DVD/Music Button pressed !!!", Debug) to Store ("!!! DVD/Music Button pressed !!!", 0x0F) I compile the DSDT, I get this error: Intel ACPI Component Architecture ASL Optimizing Compiler version 20100331 [Mar 31 2010] Copyright (c) 2000 - 2010 Intel Corporation Supports ACPI Specification Revision 4.0 dsdt.dsl 7311: Method (_Q16, 0, NotSerialized) Warning 1088 - ^ Not all control paths return a value (_Q16) dsdt.dsl 7313: Store ("!!! DVD/Music Button pressed !!!", 0x0F) Error 4096 - parse error ^ ASL Input: dsdt.dsl - 8843 lines, 312590 bytes, 4457 keywords Compilation complete. 1 Errors, 1 Warnings, 0 Remarks, 44 Optimizations [Completed] and the aml file is deleted from the DSDTSE folder. Do I really need to fix that warning or is it something minor? Link to comment Share on other sites More sharing options...
LatinMcG Posted January 5, 2012 Share Posted January 5, 2012 its minor.. music button Link to comment Share on other sites More sharing options...
tomchook Posted January 6, 2012 Author Share Posted January 6, 2012 Thanks! Anyway I realized I can't even install a version greater than 10.5 on my HP pavilion dv9750... Anyway, I'm thinking of buying a new laptop, that I could potentially install Lion on it. I checked this list http://wiki.osx86project.org/wiki/index.php/HCL_10.7.2/Portables but it's very partial, and I cannot decide which computer to buy. Could anyone recommend me of a laptop which could install Lion as much as "out of the box" as possible? I would like to be able to edit movies with final cut pro, and use the adobe products (photoshop, illustrator, etc). There is no budget limit, but I wouldn't like to go overboard. Thank you very much Link to comment Share on other sites More sharing options...
Gringo Vermelho Posted January 7, 2012 Share Posted January 7, 2012 If there's no budget limit then just get a MacBook Pro. Link to comment Share on other sites More sharing options...
Recommended Posts