Jump to content
Sign in to follow this  
Followers 0
tomchook

Can anyone help me fix these DSDT problems?

13 posts in this topic

Recommended Posts

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:

codezd.jpg

 

Could you please tell me how to fix it? I would really appreciate it!

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites
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

 

capturadecp8gc.png

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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)

 

capturadepantalla201201v.png

 

 

capturadepantalla201201.png

 

Sorry for mi English, I'm spanish speaker.

 

Uzmi

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.

×