Jump to content

DSDT Auto-Patcher


MaLd0n
 Share

5,753 posts in this topic

Recommended Posts

hi maldon, i have couple of questions if you can help

1.is there any advantage in renaming devices in dsdt to match a specified macpro?

i'm trying to learn a bit, but i'm still doesn't know where to begin (want to learn, not something specific)

 

i found in the p5k pro dsdt thread the devices renamed to match macpro3,1.

so, is there any advantage for this?

 

2.and one more question, which i don't know if dsdt can fix, but it worth a shut

i had couple of electrical blackouts few days ago, and they cause my osx drive to die.

so now after doing a clean and fresh install with all what you fix for me, and what i found out, the system is more responsive then ever, even with same benchmarks, is not the same.

 

but only one thing has changed from my past installations, my lan is not recognized as build-in. (with 3 different kext, which i know one of them worked to get it build-in)

at the moment i'm using chameleon to force doing it, but is there a dsdt fix for it?

 

as always, thanks very much

Link to comment
Share on other sites

...

1-

I see no difference in renaming

 

2-

 

try it

 

Device (LAN0)
{
Name (_ADR, 0x00)
Name (_PRW, Package (0x02)
{
0x0B,
0x04
})
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x04)
{
"built-in",
Buffer (0x01)
{
0x01
},
"device_type",
Buffer (0x09)
{
"ethernet"
}

}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}

Link to comment
Share on other sites

should i just add it somewhere or replace with something?

 

cause i can't find any device named LAN

Look at the ioreg

apply into device

Link to comment
Share on other sites

Look at the ioreg

apply into device

 

replace or add?

this is device before anything

			Device (P0P9)
		{
			Name (_ADR, 0x001C0005)
			Method (_PRW, 0, NotSerialized)
			{
				Return (GPRW (0x09, 0x04))
			}

			Method (_PRT, 0, NotSerialized)
			{
				If (PICM)
				{
					Return (AR09)
				}

				Return (PR09)
			}
		}

 

option 1:

			Device (P0P9)
			{
			Name (_ADR, 0x00)
			Name (_PRW, Package (0x02)
			{
			0x0B,
			0x04
			})
			Method (_DSM, 4, NotSerialized)
			{
			Store (Package (0x04)
			{
			"built-in",
			Buffer (0x01)
			{
			0x01
			},
			"device_type",
			Buffer (0x09)
			{
			"ethernet"
			}

			}, Local0)
			DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
			Return (Local0)
			}
		}

 

option 2:

			Device (P0P9)
		{
			Name (_ADR, 0x001C0005)
			Method (_PRW, 0, NotSerialized)
			{
				Return (GPRW (0x09, 0x04))
			}

			Method (_PRT, 0, NotSerialized)
			{
				If (PICM)
				{
					Return (AR09)
				}

				Return (PR09)
			}
			{
			Name (_ADR, 0x00)
			Name (_PRW, Package (0x02)
			{
			0x0B,
			0x04
			})
			Method (_DSM, 4, NotSerialized)
			{
			Store (Package (0x04)
			{
			"built-in",
			Buffer (0x01)
			{
			0x01
			},
			"device_type",
			Buffer (0x09)
			{
			"ethernet"
			}

			}, Local0)
			DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
			Return (Local0)
			}
			}
		}

 

 

sorry for noob question this is my first time trying to do it by myself

thanks for your quick responses too!

Link to comment
Share on other sites

sorry for noob question this is my first time trying to do it by myself

thanks for your quick responses too!

 

add into P0P9

Device (LAN0)

Link to comment
Share on other sites

dsdt.toleda.zip

DTGP

AZAL 2 HDEF

HID/CID

HPET

RTC

IRQs

SMBUS

SHUTDOWN

REMOVE

LPC

FIX WARNINGS

 

HDEF GIGABYTE

 

Outstanding.

 

Issues:

 

Sleep and Wake work well, however, no USB upon wake; must unplug and replug.

(Power button and USB wake correctly; with wired Apple keyboard and Mighty Mouse)

 

AppleLPC.kext doesn't load, suggest rename PX40 to LPCB

(AppleLPC has the device_id of this motherboard, rename solves problem)

 

Comments:

 

Device (IDE2) remains; unecessary?

 

Device (MEM) deleted; why?

 

Device (SATA) current: PRIM, SECD, PRT2@2, etc.; proposed PRT1@1, PRT2@2, etc.

 

Suggestion:

 

Consider an add-on for HDMI audio (GFX0/HDAU hda-gfx injection) ala HDEF Gigabyte

 

Thanks.

Link to comment
Share on other sites

MaLd0n,

 

I have an Intel DP55KG motherboard with the latest BIOS Version 5926. I used the autopatcher to patch DSDT, however it panics if I don't use nullcpupowermanagement kext. It seems the autopatcher works fine with the previous versions of the bios. Can you please patch the unmodified DSDT file that is linked below?. I extracted this DSDT from ubuntu 64bit.

 

 

http://www.nimali.net/DSDT_DP55KG_unmodified.aml

 

Thanks in advance.

Link to comment
Share on other sites

AppleLPC.kext doesn't load, suggest rename PX40 to LPCB

(AppleLPC has the device_id of this motherboard, rename solves problem)

0x49, 0x1c, 0x00, 0x00

SandyBridge update update or 10.6.8

no difference in renaming devices

 

Device (IDE2) remains; unecessary?

Yep

you can remove if you want

no difference

*previous versions did this

 

Device (MEM) deleted; why?

you do not need to remove if you want

no difference

SPKR

FDC

LPT

MEM

UAR1(no more)

 

Device (SATA) current: PRIM, SECD, PRT2@2, etc.; proposed PRT1@1, PRT2@2, etc.

no difference

and to rename only the right would be a bizarre command

I removed the rename

*previous versions did this

 

Consider an add-on for HDMI audio (GFX0/HDAU hda-gfx injection) ala HDEF Gigabyte

01a.png

 

MaLd0n,

 

I have an Intel DP55KG motherboard with the latest BIOS Version 5926. I used the autopatcher to patch DSDT, however it panics if I don't use nullcpupowermanagement kext. It seems the autopatcher works fine with the previous versions of the bios. Can you please patch the unmodified DSDT file that is attached?. I extracted this DSDT from ubuntu 64bit.

 

Thanks in advance.

send me

Link to comment
Share on other sites

I have an Intel DP55KG motherboard with the latest BIOS Version 5926. I used the autopatcher to patch DSDT, however it panics if I don't use nullcpupowermanagement kext. It seems the autopatcher works fine with the previous versions of the bios. Can you please patch the unmodified DSDT file that is linked below?. I extracted this DSDT from ubuntu 64bit.

try it

dsdt.vecrta.zip

 

many motherboards from Intel have this problem

some versions of bios work nativepm

other versions not

Link to comment
Share on other sites

Hi MaLd0, I followed you ambitious work here, I take my hat off...

I tried the Z68 Autopatcher but it resulted in an Error.

 

Here the errors:

 

[Line 200 type Error message Object does not exist (OSTP)]

[Line 207 type Error message Object does not exist (SMIP)]

[Line 208 type Error message Object does not exist (\_SB.PCI0.PX40.AG3E)]

[Line 209 type Error message Object does not exist (SLPE)]

[Line 214 type Error message Object does not exist (\_SB.PCI0.PX40.AG3E)]

[Line 216 type Error message syntax error, unexpected PARSEOP_ELSE ]

[Line 218 type Error message Object does not exist (\_SB.PCI0.PX40.AG3E)]

[Line 228 type Error message syntax error, unexpected PARSEOP_METHOD, expecting $end ]

 

My board is a GA-Z68MA-D2H-B3 which is listed in the dropdown.

Cpu is a i5 2500K.

 

My system is currently running but with no Audio, the AHCI Contoller is listed as "Unknown" in SysProf., CPU-sensors are showing 99°.

 

I dont know if it is possible to use the internal graphics, currently its running at 1024x768 as "unknown"

 

Attached my dsdt...

 

Many thanks in advance!

 

Greets Jan

dsdt.dsl.zip

Link to comment
Share on other sites

Thanks for your responses. Any ideas to resolve the USB freeze upon wake?

I will test it

Method (_DSM, 4, NotSerialized)
			{
				Store (Package (0x08)
					{
						"AAPL,current-available", 
						0x0834, 
						"AAPL,current-extra", 
						0x0898, 
						"AAPL,current-in-sleep", 
						0x0640, 
						"device-id", 
						Buffer (0x04)
						{
							0x26, 0x1C, 0x00, 0x00
						}
					}, Local0)
				DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
				Return (Local0)
			}

 

Hi MaLd0, I followed you ambitious work here, I take my hat off...

I tried the Z68 Autopatcher but it resulted in an Error.

 

Here the errors:

 

[Line 200 type Error message Object does not exist (OSTP)]

[Line 207 type Error message Object does not exist (SMIP)]

[Line 208 type Error message Object does not exist (\_SB.PCI0.PX40.AG3E)]

[Line 209 type Error message Object does not exist (SLPE)]

[Line 214 type Error message Object does not exist (\_SB.PCI0.PX40.AG3E)]

[Line 216 type Error message syntax error, unexpected PARSEOP_ELSE ]

[Line 218 type Error message Object does not exist (\_SB.PCI0.PX40.AG3E)]

[Line 228 type Error message syntax error, unexpected PARSEOP_METHOD, expecting $end ]

 

My board is a GA-Z68MA-D2H-B3 which is listed in the dropdown.

Cpu is a i5 2500K.

 

Your DSDT is not original

you are using DSDT line GA x67

SATA

apply DSM into device and use Update For Sandy Bridge

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
	{
		"device-id",
		Buffer (0x04)
		{
			0x03, 0x1c, 0x00, 0x00
		}
	}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}

VIDEO

Use the search Forum

 

TEMP

Use NULLCPUPM

wait for power management for SandyBridge(Chameleon RC5)

 

ioreg -lw0 | grep PerformanceStateArray

ioreg -lw0 | grep CSTInfo

Link to comment
Share on other sites

I will test it

Method (_DSM, 4, NotSerialized)
			{
				Store (Package (0x08)
					{
						"AAPL,current-available", 
						0x0834, 
						"AAPL,current-extra", 
						0x0898, 
						"AAPL,current-in-sleep", 
						0x0640, 
						"device-id", 
						Buffer (0x04)
						{
							0x26, 0x1C, 0x00, 0x00
						}
					}, Local0)
				DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
				Return (Local0)
			}

 

Didn't work. Must unplug keyboard for USB to restart after wake. Can send a copy of IOReg if it helps.

Link to comment
Share on other sites

Just wanted to let you know one more thing,

i found out my problem with autosleep.

so i don't know if you remember but i once asked you why i lost my autosleep, when it worked ok for some time.

the answer was, i switched my HDD.

it started when i installed the system on the western digital green series (when i found out about the problem, i found there are a lot more WD series affected with this problem.

so, the problem is very high LCC (Load Cycle Count) raising, when first found i have affected disk i changed it to another one from the same series with hoping everything will be ok this time.

and it's not, it seems there are much more infected hdd then healthy ones.

after doing the clean installation this time (couple month from the first one), and found i have a new disk which can also die in 4-5 month. i started googling some more and found this utility from WD called; wdidile3

once used this utility the LCC stop growing, and i got my HDD Sleep back, therefor SYSTEM sleep.

when checking if it work, i had to use SpindownHD.app from CHUD Utilities to set the hd sleep to 1 minute(and to check if it actually get into sleep state).

 

now i don't know if it help you much, but thought you might want to know this in case someone ask and don't know about it. meybe it will help ;)

Link to comment
Share on other sites

Hi MaldOn.

I have a GA-P67A-UD4-B3 (Bios F4)

I used DSDT Autopatcher in Windows 7 and then edited it in Snow to get the audio working.

(i used [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url]/ALC8xx/Apple Hda Rollback)

And almost everything`s working perfect (OSX)

Only issue is if i use the eSata port it will only function if my eSata HD is plugged in before i turn on comp.

No Hot Swap.

Stradivari seems to have fixed that on his Asus P8P67 Pro

http://www.tonymacx86.com/viewtopic.php?f=79&t=19543

Do you think there`s a chance that this could be done to Gigabyte MB`s ?

Link to comment
Share on other sites

now i don't know if it help you much, but thought you might want to know this in case someone ask and don't know about it. meybe it will help :)

 

Hey Noam AA

Thanks

fun.gif

 

Hi MaldOn.

I have a GA-P67A-UD4-B3 (Bios F4)

I used DSDT Autopatcher in Windows 7 and then edited it in Snow to get the audio working.

(i used [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url]/ALC8xx/Apple Hda Rollback)

And almost everything`s working perfect (OSX)

Only issue is if i use the eSata port it will only function if my eSata HD is plugged in before i turn on comp.

No Hot Swap.

Stradivari seems to have fixed that on his Asus P8P67 Pro

http://www.tonymacx86.com/viewtopic.php?f=79&t=19543

Do you think there`s a chance that this could be done to Gigabyte MB`s ?

http://www.insanelymac.com/forum/index.php?showtopic=257496

I look into it

Link to comment
Share on other sites

Hi Maldon,

 

You edited my dsdt which is z68x-ud5 (THANK YOU)

 

But my computer starting is too long and i can't click anything at start (cursor works but not click)

after 5 minutes everything is ok (SOLVED install lacie usb3 driver)

and sound doesn't work i also use hdef gigabyte and rollback applehda 10.6.2

 

I use chimera 1.4.1

in extra alc8xxhda.kext, fakesmc.kext, jmicron36xsata.kext, nullcpupowermanagement.kext

Could you help or did you hear anything like that.

Link to comment
Share on other sites

Hi Maldon,

 

You edited my dsdt which is z68x-ud5 (THANK YOU)

 

But my computer starting is too long and i can't click anything at start (cursor works but not click)

after 5 minutes everything is ok

and sound doesn't work i also use hdef gigabyte and rollback applehda 10.6.2

 

I use chimera 1.4.1

in extra alc8xxhda.kext, fakesmc.kext, jmicron36xsata.kext, nullcpupowermanagement.kext

Could you help or did you hear anything like that.

Use Clean Install

Update for 10.6.8 or MacBookPro or iMac update

Extra folder

http://www.insanelymac.com/forum/index.php...st&id=92859

Chameleon RC5

http://www.insanelymac.com/forum/index.php?showtopic=227833

 

Use NUllCPUPM in Extra/Extensions

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...