Jump to content

DSDT Patcher


fassl
 Share

752 posts in this topic

Recommended Posts

Just a quick question. I never had problems with the DSDT table in my Asus P5KR (both cores working) except for kernel panics with AppleIntelCPUPowerManagement.kext (which I solve by using IntelCPUPMDisabler.kext).

 

Anyway, I decided to give a try DSDT Patcher and the custom DSDT loading Chamaleon version.

 

I didn't make a lot of testing so I don't know if I got any advantage, but I'm sure about something: my cpu temperature went 10 degrees higher with AppleIntelCPUPowerManagement.kext running.

 

Is this normal? I expected that kext would turn on power saving functions and would reduce heat.

 

Is there any other advantage in using a fixed dsdt in a computer which already have both cores working?

 

Thank you in advance.

Link to comment
Share on other sites

I didn't make a lot of testing so I don't know if I got any advantage, but I'm sure about something: my cpu temperature went 10 degrees higher with AppleIntelCPUPowerManagement.kext running.

Is this normal? I expected that kext would turn on power saving functions and would reduce heat.

Is there any other advantage in using a fixed dsdt in a computer which already have both cores working?

Thank you in advance.

 

Did you ever occur to you to read the first post?

 

For point two, not if you have any problems... which can be acpi related.

Link to comment
Share on other sites

Did you ever occur to you to read the first post?

 

For point two, not if you have any problems... which can be acpi related.

Mmmmm...no word about temperature increase after loading AppleIntelCPUPowerManagement.kext in the first post.

Link to comment
Share on other sites

Hey i have run dsdt patcher it compiled a dsdt.aml file with no errors only warnings. I copied dsdt.aml to my root installed chameleon-1.0.11-build downloaded the patched chameleon boot file replaced it in the root of my drive removed disabler.kext but on restart im getting kernel panic with AppleIntelCPUPowerManagement.kext. any ideas????? please help

 

 

 

*Edit* This is what i get when i use chameleondebug as boot in root

 

post-203626-1226557155_thumb.jpg

 

After still getting Kernel Panic with AppleIntelCPUPowerManagement.kext

Link to comment
Share on other sites

Mmmmm...no word about temperature increase after loading AppleIntelCPUPowerManagement.kext in the first post.

 

http://forum.insanelymac.com/index.php?s=&...st&p=947456

 

Line 3, the bold one?? Can you see it?? :(

 

 

 

 

on restart im getting kernel panic with AppleIntelCPUPowerManagement.kext. any ideas?

 

-added -newHPET arg, for people still suffering "Package 0 didn't get a HPET" after patching. so you guys drag the Patcher in the Terminal and write -newHPET

 

Try this.

Link to comment
Share on other sites

http://forum.insanelymac.com/index.php?s=&...st&p=947456

 

Line 3, the bold one?? Can you see it?? :)

-added -newHPET arg, for people still suffering "Package 0 didn't get a HPET" after patching. so you guys drag the Patcher in the Terminal and write -newHPET

 

Try this.

 

hey thanks for the quick reply

 

Just Tried that no luck

 

this is a snapshot of what i typed into terminal to make sure i did it right

 

post-203626-1226565251_thumb.png

Link to comment
Share on other sites

Hi Fassl, aprreciate your work cause I feel closer to get both cores working on my laptop.

 

After I applied pathced DSDT I got ApplHPET working, but ApplIntelCPUPowermanagement told me:

 

Nov 12 10:05:11 localhost kernel[0]: Extension "com.apple.driver.AppleIntelCPUPowerManagement" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.

Nov 12 10:05:11 localhost kernel[0]: Class "AppleIntelCPUPowerManagement" is duplicate

Nov 12 10:05:11 localhost kernel[0]: kmod_control/start failed for com.apple.driver.AppleIntelCPUPowerManagement; destroying kmod

Nov 12 10:05:11 localhost kernel[0]: ^[[33mFailed to load extension com.apple.driver.AppleIntelCPUPowerManagement.

 

Seeing this output what conclusions can we produce Fassl?

You can see kexts loaded in picture.

I attach my dsl file, may be you can compile it to aml...

 

Fassl please can you edit my dsl file attached?

dsl_HP_Compaq_nx9420_F.14_original.zip

Link to comment
Share on other sites

Hey mackerintel,

 

For those who don't exactly know what OSI Emulation is, could you do a quick explanation. I patched my DSDT again with the choice of darwin.

 

Thanks in advance.

 

-Stell

Many DSDTs check which OS is running and behave differently depending on it. This patch makes DSDT behave with OSX as if it was WinXP/WinVista (choosing darwin makes no modification). E.g. on my system using this method emulating WinXP I got the sleep working. If you have any problem with your DSDT I recommend first to try WinXP emulation, then WinVista emulation.

 

Can I change deviceID of my Quatro NVS 140 (0x0429) by deviceID from Nvidia GeForce 8400GS (0x0427) with DSDT Patcher?

Try EFI strings

Link to comment
Share on other sites

With the latest version i get:

 

MrRoboto:DSDT_Patcher1.0.1e mrroboto$ ./DSDT\ Patcher dsdt.dsl

DSDT Patcher 1.0.1e -- report Bugs to superfassl@gmail.com
enclose "DSDT Patcher/Debug/USER.tar"


Press any key to continue...

Done, now start the Patching!

Could not open file dsdt.dsl

There were errors pacthing the RTC

 

My hackintosh is already patched succesfully with patcher version "d"

 

Any idea?

mrroboto.tar

Link to comment
Share on other sites

Hi fassl,

 

Have you got any idea how to get rid of the errors below other than compiling dsl code with earlier version of iasl?

 

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20080926 [Oct  4 2008]
Copyright (C) 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a

./dsdt_fixed.txt  1837:								 Name (XX_0, Zero)
Error	4111 -		  Creating a named object in a While loop ^ 

./dsdt_fixed.txt  1915:								 Name (XX_0, Zero)
Error	4111 -		  Creating a named object in a While loop ^ 

./dsdt_fixed.txt  2113:							 Name (XX_0, Zero)
Error	4111 -	  Creating a named object in a While loop ^ 

./dsdt_fixed.txt  2125:										 Name (XX_1, Zero)
Error	4111 -				  Creating a named object in a While loop ^ 

./dsdt_fixed.txt  2159:											 Name (XX_2, Zero)
Error	4111 -					  Creating a named object in a While loop ^ 

./dsdt_fixed.txt  2193:												 Name (XX_3, Zero)
Error	4111 -						  Creating a named object in a While loop ^ 

./dsdt_fixed.txt  2241:													 Name (XX_4, Zero)
Error	4111 -							  Creating a named object in a While loop ^ 

./dsdt_fixed.txt  2275:														 Name (XX_5, Zero)
Error	4111 -								  Creating a named object in a While loop ^ 

./dsdt_fixed.txt  2323:															 Name (XX_6, Zero)
Error	4111 -									  Creating a named object in a While loop ^ 

./dsdt_fixed.txt  2371:																 Name (XX_7, Zero)
Error	4111 -										  Creating a named object in a While loop ^ 

./dsdt_fixed.txt  2784:							 Name (XX_0, Zero)
Error	4111 -	  Creating a named object in a While loop ^ 

./dsdt_fixed.txt  2862:							 Name (XX_0, Zero)
Error	4111 -	  Creating a named object in a While loop ^ 

./dsdt_fixed.txt  5186:							 Name (XX_0, Zero)
Error	4111 -	  Creating a named object in a While loop ^ 

./dsdt_fixed.txt  7639:					 Name (XX_0, Zero)
Error	4111 -									  ^ Creating a named object in a While loop

./dsdt_fixed.txt  8130:						 Name (XX_0, Zero)
Error	4111 -  Creating a named object in a While loop ^ 

./dsdt_fixed.txt  8224:						 Name (XX_0, Zero)
Error	4111 -  Creating a named object in a While loop ^ 

ASL Input:  ./dsdt_fixed.txt - 8722 lines, 321279 bytes, 3491 keywords
Compilation complete. 16 Errors, 0 Warnings, 0 Remarks, 37 Optimizations

 

This had been done with 1.0.1e dsdt patcher.

 

Thanks in advance for your reply.

 

Cheers,

mentorek

mentorek.tar

Link to comment
Share on other sites

I tried to patch my DSDT using WinXP or Vista but i am getting the following error :

 Patching RTC...

RTC Device found :				 Device (RTC)
Found IRQ in RTC Device, removing it
					 IRQNoFlags ()
RTC patched

Patching HPET...

HPET Device found :				 Device (HPET)
IRQ's written to HPET
HPET patched
Which OS to emulate? [0=Darwin,1=WinXP, 2=WinVista]
1
Fixing various Issues...

Found an issue
Found			   Store (Local0, Local0)
Fixed   Store ("Local0", Local0)
Found an issue
Found			   Store (Local0, Local0)
Fixed   Store ("Local0", Local0)
Found an issue
Found						   Store (Local0, Local0)
Fixed   Store ("Local0", Local0)
Done




We are done patching, press any key to try to compile the fixed DSDT


Intel ACPI Component Architecture
ASL Optimizing Compiler version 20080926 [Oct  4 2008]
Copyright (C) 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a

./dsdt_fixed.txt   390:	 Method (\_WAK, 1, NotSerialized)
Warning  1080 -						 ^ Reserved method must return a value (_WAK)

./dsdt_fixed.txt  2261:								 If (\LOr (_OSI ("Darwin"), _OSI ("Windows 2001")))
Error	4063 -						  Object does not exist ^  (\LOR)

ASL Input:  ./dsdt_fixed.txt - 5207 lines, 160717 bytes, 1791 keywords
Compilation complete. 1 Errors, 1 Warnings, 0 Remarks, 555 Optimizations
<b>

 

With Darwin it is OK but i am having sleep issues.

 

Any suggestions ?

dsdt.dsl.txt

Link to comment
Share on other sites

DSDT_Patcher1.0.1e appears to work on my Dell Precision M60 laptop (Pentium M 1.7GHz) & create a fixed dsdt.aml OK but I still have a kernel panic if AppleIntelCPUPowerManagement.kext is present & not disabled. I have used the debug version of the chameleon boot file so can confirm that the fixed dsdt.aml is being used.

 

I have attached my Debug directory. Any ideas?

root.tar

Link to comment
Share on other sites

I am currently running into some compiling issues myself (thanks HP...).

 

First off, when using the patcher, it creates the files and leaves the following, uncommented, at the top:

 

ACPI Error (dmutils-0261): Argument count mismatch for method \_TZ_.C375 1 0 [20080926]

 

So, I comment this line and run it through the compiler again and received the following:

 

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20080926 [Oct  4 2008]
Copyright (C) 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a

dsdt2.dsl  4655:						 Acquire (\_TZ_.C1F0, 0xFFFF)
Error	4063 -					  Object does not exist ^  (\_TZ_.C1F0)

dsdt2.dsl  4656:						 Or (\_TZ_.C1F1, 0x10, \_TZ_.C1F1)
Error	4063 -				 Object does not exist ^  (\_TZ_.C1F1)

dsdt2.dsl  4656:						 Or (\_TZ_.C1F1, 0x10, \_TZ_.C1F1)
Error	4063 -								   Object does not exist ^  (\_TZ_.C1F1)

dsdt2.dsl  4657:						 Release (\_TZ_.C1F0)
Error	4063 -					  Object does not exist ^  (\_TZ_.C1F0)

dsdt2.dsl  4658:						 Notify (\_TZ_.TZ4, 0x80)
Error	4063 -					Object does not exist ^  (\_TZ_.TZ4)

dsdt2.dsl  4754:						 C1C9 (0x00, \_TZ_.C1F5)
Error	4063 -						 Object does not exist ^  (\_TZ_.C1F5)

dsdt2.dsl  5149:						 Store (^^C220, Local3)
Error	4064 -									  ^ Object not found or not accessible from scope (^^C220)

dsdt2.dsl  5150:						 If (\_SB_.C221 ())
Error	4063 -				 Object does not exist ^  (\_SB_.C221)

dsdt2.dsl  5238:							 If (\_SB_.C229 ())
Error	4063 -					 Object does not exist ^  (\_SB_.C229)

dsdt2.dsl  7571:						 If (C276 ())
Error	4063 -		   Object does not exist ^  (C276)

dsdt2.dsl  8032:						 Store (\_SB_.C2A7 (C288, C289, C28C), Local2)
Error	4063 -					Object does not exist ^  (\_SB_.C2A7)

dsdt2.dsl  8460:						 Wait (\_SB.C15D, 0x10)
Warning  1104 -		 Possible operator timeout is ignored ^ 

dsdt2.dsl 15434:						 C375 (Else
Error	4095 -								   ^ syntax error, unexpected PARSEOP_ELSE, expecting ',' or ')'

dsdt2.dsl 15444:							 })
Error	4095 -  syntax error, unexpected ')' ^ 

dsdt2.dsl 15451:			 Release (C1F0)
Error	4095 -					^ syntax error, unexpected PARSEOP_RELEASE

dsdt2.dsl 15457:			 Store (DerefOf (Index (DerefOf (Index (DerefOf (Index (C355, C37C (Arg1)
Error	4063 -												  Object does not exist ^  (C355)

dsdt2.dsl 15463:				 Store (C37D (Local6, 0x01), Local6)
Error	4063 -	  Object does not exist ^  (C37D)

dsdt2.dsl 15466:			 Store (DerefOf (Index (DerefOf (Index (DerefOf (Index (C355, C37C (Arg1)
Error	4063 -												  Object does not exist ^  (C355)

dsdt2.dsl 15482:					 Store (C37D (Local2, 0x01), Local2)
Error	4063 -		  Object does not exist ^  (C37D)

dsdt2.dsl 15495:				 Store (Local2, C373)
Error	4063 -			  Object does not exist ^  (C373)

dsdt2.dsl 15496:				 Or (ShiftLeft (Local6, 0x08), C373, C373)
Error	4063 -							 Object does not exist ^  (C373)

dsdt2.dsl 15496:				 Or (ShiftLeft (Local6, 0x08), C373, C373)
Error	4063 -								   Object does not exist ^  (C373)

dsdt2.dsl 15503:				 Notify (\_TZ_.TZ3, 0x81)
Error	4063 -			Object does not exist ^  (\_TZ_.TZ3)

dsdt2.dsl 15536:				 Return (C363 (0x00, 0x00))
Error	4063 -	   Object does not exist ^  (C363)

dsdt2.dsl 15541:				 C364 (0x01, 0x00, 0x00)
Error	4063 -					 ^ Object does not exist (C364)

dsdt2.dsl 15546:				 C364 (0x00, 0x00, 0x00)
Error	4063 -					 ^ Object does not exist (C364)

dsdt2.dsl 15554:				 Return (C363 (0x00, 0x01))
Error	4063 -	   Object does not exist ^  (C363)

dsdt2.dsl 15559:				 C364 (0x01, 0x00, 0x01)
Error	4063 -					 ^ Object does not exist (C364)

dsdt2.dsl 15564:				 C364 (0x00, 0x00, 0x01)
Error	4063 -					 ^ Object does not exist (C364)

dsdt2.dsl 15572:				 Return (C363 (0x00, 0x02))
Error	4063 -	   Object does not exist ^  (C363)

dsdt2.dsl 15577:				 C364 (0x01, 0x00, 0x02)
Error	4063 -					 ^ Object does not exist (C364)

dsdt2.dsl 15582:				 C364 (0x00, 0x00, 0x02)
Error	4063 -					 ^ Object does not exist (C364)

dsdt2.dsl 15590:				 Return (C363 (0x00, 0x03))
Error	4063 -	   Object does not exist ^  (C363)

dsdt2.dsl 15595:				 C364 (0x01, 0x00, 0x03)
Error	4063 -					 ^ Object does not exist (C364)

dsdt2.dsl 15600:				 C364 (0x00, 0x00, 0x03)
Error	4063 -					 ^ Object does not exist (C364)

dsdt2.dsl 15608:				 Return (C363 (0x00, 0x04))
Error	4063 -	   Object does not exist ^  (C363)

dsdt2.dsl 15613:				 C364 (0x01, 0x00, 0x04)
Error	4063 -					 ^ Object does not exist (C364)

dsdt2.dsl 15618:				 C364 (0x00, 0x00, 0x04)
Error	4063 -					 ^ Object does not exist (C364)

dsdt2.dsl 15626:				 \_TZ_.C37E ()
Error	4063 -	 Object does not exist ^  (\_TZ_.C37E)

dsdt2.dsl 15627:				 \_TZ_.C37F ()
Error	4063 -	 Object does not exist ^  (\_TZ_.C37F)

dsdt2.dsl 15682:				 Return (C370 (0x00, 0x03))
Error	4063 -	   Object does not exist ^  (C370)

dsdt2.dsl 15695:				 Return (C370 (0x01, 0x03))
Error	4063 -	   Object does not exist ^  (C370)

dsdt2.dsl 15700:				 Return (C372 (0x03))
Error	4063 -	   Object does not exist ^  (C372)

dsdt2.dsl 15708:				 Return (C370 (0x00, 0x04))
Error	4063 -	   Object does not exist ^  (C370)

dsdt2.dsl 15726:				 Return (C372 (0x04))
Error	4063 -	   Object does not exist ^  (C372)

dsdt2.dsl 15755:	 Device
Error	4095 -		   ^ syntax error, unexpected PARSEOP_DEVICE, expecting $end

ASL Input:  dsdt2.dsl - 16401 lines, 585360 bytes, 7100 keywords
Compilation complete. 45 Errors, 1 Warnings, 0 Remarks, 2349 Optimizations

 

Next, after reading up on fixing the "Object does not exist" errors, I tried just defining them at the top with "External" clauses. Doing so results in errors like this:

 

dsdt4.dsl 15636:				 \_TZ_.C37E ()
Error	4065 -						   ^ Not a control method, cannot invoke (\_TZ_.C37E is a Untyped)

 

Any help would be awesome. All I need is the point in the right direction. This DSDT is coming from an HP 8510p with a NVIDIA Quadro 570M video card and a Broadcom BCM4312 wireless card. Right now, the SD and PC Card slot are detected via kext, but the system reboots or doesn't recognize anything in the ports. Also, the main issue right now, is when I close the lid on the laptop, the whole laptop freezes. Even if the first issue is not ACPI related, the second must be. If I can fix the lid close freeze issue, I would be one happy camper and would remain in OSX. Please help.HP_8510p_DSDT.tar

Link to comment
Share on other sites

Hey fassl, how you doing? :rolleyes:

 

I‘m back in the light of osx86 again...

Thanks for the great job! It works fine here!

 

Just a little question: is there any chance to get the sleep to work here at last?

 

Good talking to you again.

Link to comment
Share on other sites

 Share

×
×
  • Create New...