Jump to content

DSDT Auto-Patcher


MaLd0n
 Share

5,753 posts in this topic

Recommended Posts

it looks great :D

 

 

 

I think my soundcodec is alc268

Link to comment
Share on other sites

OK USB Work! Also many reboots ago!

Link to comment
Share on other sites

yeah but with the last dsdt.aml from MaLd0n works usb but no sleep, with the first dsdt.aml from MaLd0n works slepp but no usb :-)

 

Now i test sound!!

 

Edit: Sound Works! But no Mic!

 

No its bed time!

send_me.zip

Link to comment
Share on other sites

MaLd0n hi bud, i removed the LegacyIO file and in System Profile it shows as Unknown in the Sata area is it possible to mac it so that it shows ICH9-M in there ? other then that the Sata Works faster without the kext file for injecting.

 

Xbench with kext is 64 and without kext is 72 not sure why like. Thanks for your help so far.

 

Also is it possible to add the following to the DSDT under PS2K

 

	 Method (_DSM, 4, NotSerialized)
				{
					Store (Package ()
						{
							// We are telling the system that we have FN keys
							"AAPL,has-embedded-fn-keys",																			  
							Buffer (0x04)
							{
								0x01, 0x00, 0x00, 0x00
							}				
						}, Local0)
						DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
						Return (Local0)
				}

Link to comment
Share on other sites

i see:

Jan  3 23:30:01 Ingo-Uhlemanns-iMac kernel[0]: Wake reason = PWRB
Jan  3 23:30:01 Ingo-Uhlemanns-iMac kernel[0]: System Wake
Jan  3 23:30:01 Ingo-Uhlemanns-iMac kernel[0]: Previous Sleep Cause: 0
Jan  3 23:30:01 Ingo-Uhlemanns-iMac kernel[0]: USB (EHCI):Port 4 on bus 0xfa connected or disconnected: portSC(0x301803)
Jan  3 23:46:49 Ingo-Uhlemanns-iMac kernel[0]: systemShutdown true

also. what is this ?

Jan 4 00:01:29 localhost kernel[0]: com_chucko_RealtekR1000: Ethernet address 00:1e:68:e

 

what happens?

 

MaLd0n hi bud, i removed the LegacyIO file and in System Profile it shows as Unknown in the Sata area is it possible to mac it so that it shows ICH9-M in there ? other then that the Sata Works faster without the kext file for injecting.

               Method (_DSM, 4, NotSerialized)
               {
                   Store (Package ()
                       {

                           "device_type", 
                           Buffer (0x10)
                           {
                           "AHCI Controller"
                           }, 

                           "model", 
                           Buffer (0x1C)
                           {
                           "ICH9-R SATA/AHCI Controller"
                           }, 

                           "name", 
                           Buffer (0x1C)
                           {
                           "ICH9-R SATA/AHCI Controller"
                           }, 

                           "device-id", 
                           Buffer (0x04)
                           {
                               0x29, 0x28, 0x00, 0x00
                           }, 

                           "subsystem-id", 
                           Buffer (0x04)
                           {
                               0xA0, 0x00, 0x00, 0x00
                           }, 

                           "subsystem-vendor-id", 
                           Buffer (0x04)
                           {
                               0x6B, 0x10, 0x00, 0x00
                           }, 

                           "vendor-id", 
                           Buffer (0x04)
                           {
                               0x86, 0x80, 0x00, 0x00
                           }
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }

Link to comment
Share on other sites

MaLd0n hi bud, i removed the LegacyIO file and in System Profile it shows as Unknown in the Sata area is it possible to mac it so that it shows ICH9-M in there ? other then that the Sata Works faster without the kext file for injecting.

 

Xbench with kext is 64 and without kext is 72 not sure why like. Thanks for your help so far.

 

look at the AppleAHCIPort.kext/Contents/Info.Plist

 

those are your options (DSDT)

 

also. what is this ?

Jan 4 00:01:29 localhost kernel[0]: com_chucko_RealtekR1000: Ethernet address 00:1e:68:e

 

 

 

Also is it possible to add the following to the DSDT under PS2K

 

	 Method (_DSM, 4, NotSerialized)
				{
					Store (Package ()
						{
							// We are telling the system that we have FN keys
							"AAPL,has-embedded-fn-keys",																			  
							Buffer (0x04)
							{
								0x01, 0x00, 0x00, 0x00
							}				
						}, Local0)
						DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
						Return (Local0)
				}

 

yep :)

Link to comment
Share on other sites

look at the AppleAHCIPort.kext/Contents/Info.Plist

 

those are your options (DSDT)

 

 

Thanks will Give it a try.

 

Also when i save the AML as a dsl and try to compile it has loads of errors ? how do you compile it without errors ?

 

also is it possible to add to the PS2K? as each time i try it get compile errors even though thats the only thing i have added.

 

	 Method (_DSM, 4, NotSerialized)
				{
					Store (Package ()
						{
							// We are telling the system that we have FN keys
							"AAPL,has-embedded-fn-keys",																			  
							Buffer (0x04)
							{
								0x01, 0x00, 0x00, 0x00
							}				
						}, Local0)
						DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
						Return (Local0)
				}

Link to comment
Share on other sites

                    "device_type", 
                   Buffer (0x10)
                   {
                       "AHCI Controller"
                   }, 

                   "model", 
                   Buffer (0x1C)
                   {
                       "ICH9-R SATA/AHCI Controller"
                   }, 

                   "name", 
                   Buffer (0x1C)
                   {
                       "ICH9-R SATA/AHCI Controller"
                   }

 

;)

 

 

Thanks will Give it a try.

 

Also when i save the AML as a dsl and try to compile it has loads of errors ? how do you compile it without errors ?

 

also is it possible to add to the PS2K? as each time i try it get compile errors even though thats the only thing i have added.

 

	 Method (_DSM, 4, NotSerialized)
				{
					Store (Package ()
						{
							// We are telling the system that we have FN keys
							"AAPL,has-embedded-fn-keys",																			  
							Buffer (0x04)
							{
								0x01, 0x00, 0x00, 0x00
							}				
						}, Local0)
						DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
						Return (Local0)
				}

 

send me your DSDT

Link to comment
Share on other sites

Thanks for your help sorry to be a pain. Just trying to get everything working so that it would well with your auto patcher.

 

Not sure if there is a DSDT mode for Battery though as that would be great see trying to get it so that everyone has minimal ammount of kext files.

patched.dsl.zip

 

i use kext.. was looking into that too, but i dont wana blow up my batt ;)

Link to comment
Share on other sites

Thanks for your help sorry to be a pain. Just trying to get everything working so that it would well with your auto patcher.

 

Not sure if there is a DSDT mode for Battery though as that would be great see trying to get it so that everyone has minimal ammount of kext files.

patched.dsl.zip

 

Check your DSDT, should look like this:

 

Device (PS2K)
			{
				Name (_HID, EisaId ("PNP0303"))
				Name (_CID, EisaId ("PNP030B"))
				Method (_DSM, 4, NotSerialized)
				{
					Store (Package (0x02)
						{
							"AAPL,has-embedded-fn-keys", 
							Buffer (0x04)
							{
								0x01, 0x00, 0x00, 0x00
							}
						}, Local0)
					DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
					Return (Local0)
				}

				Name (_CRS, ResourceTemplate ()
				{
					IO (Decode16,
						0x0060,			 // Range Minimum
						0x0060,			 // Range Maximum
						0x01,			   // Alignment
						0x01,			   // Length
						)
					IO (Decode16,
						0x0064,			 // Range Minimum
						0x0064,			 // Range Maximum
						0x01,			   // Alignment
						0x01,			   // Length
						)
					IRQ (Edge, ActiveHigh, Exclusive, )
						{1}
				})
				Name (_PRS, ResourceTemplate ()
				{
					StartDependentFn (0x00, 0x00)
					{
						FixedIO (
							0x0060,			 // Address
							0x01,			   // Length
							)
						FixedIO (
							0x0064,			 // Address
							0x01,			   // Length
							)
						IRQNoFlags ()
							{1}
					}
					EndDependentFn ()
				})
			}

Link to comment
Share on other sites

Thanks for your help sorry to be a pain. Just trying to get everything working so that it would well with your auto patcher.

 

Not sure if there is a DSDT mode for Battery though as that would be great see trying to get it so that everyone has minimal ammount of kext files.

patched.dsl.zip

look it, I prepared the patch

fn_keys.zip

use DSDT EDITOR and PATCHER

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

 

easy ;)

 

I'm in Windows now ;)

 

playing

Mafia II :P

 

for Battery

use Voodoo

I think it's best

Link to comment
Share on other sites

Razorbackeve just tried that and it errors on complie with Line 5325 Error syntax error, unexpected PARSEOP_Methord. expecting {

 

look it, I prepared the patch

fn_keys.zip

use DSDT EDITOR and PATCHER

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

 

easy ;)

 

I'm in Windows now ;)

 

playing

Mafia II :P

 

for Battery

use Voodoo

I think it's best

 

Thanks when you have time and not playing on Mafia could you also do the ESB fix i think its called to make the ICH9 show up please thanks your the best!

Link to comment
Share on other sites

Yep that program you said to use the new version makes it more easier to use. Me is DUMB! so all i need is help making the patches really so that your auto dsdt mod can fly!

 

Yep

 

is very fast and easy

 

great job el coniglio(program) and oldnapalm(many patches for DSDT EDITOR and PATCHER) ;)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...