Jump to content

DSDT Auto-Patcher


MaLd0n
 Share

5,756 posts in this topic

Recommended Posts

I have Win 7 64bit Does it have to be 32bit cause when I use the app in windows It starts up command prompt and then just kicks me out

 

Thanks

use everest

extract DSDT and send me file

Link to comment
Share on other sites

deleted my original dsdt.aml file from /Extras

and rebooted

ran the auto patcher

selected my computer, then chose patch from file

selected the modified dsdt.aml file you provided me with

 

and I got a bunch of errors in the window below while it was trying to patch

 

I've attached the errors (copied and pasted them into a text file)

 

not sure what to do now.

Error_Log_DSDT_Auto_Patcher.rtf

Link to comment
Share on other sites

deleted my original dsdt.aml file from /Extras

and rebooted

ran the auto patcher

selected my computer, then chose patch from file

selected the modified dsdt.aml file you provided me with

 

and I got a bunch of errors in the window below while it was trying to patch

 

I've attached the errors (copied and pasted them into a text file)

 

not sure what to do now.

HeHeHe

DSDT is fully edited

put in Extra folder or root of the HD

if you use VoodooHda, use AppleHdaDisabler

Link to comment
Share on other sites

HeHeHe

DSDT is fully edited

put in Extra folder or root of the HD

if you use VoodooHda, use AppleHdaDisabler

 

sorry im new at all this, but what was funny?

 

will put the modified DSDT.aml in the Extra folder

 

will using the AppleHDADisabler kill my audio?

Link to comment
Share on other sites

Hey Mald0n,

 

Do you think you could help me out as well?

 

I have the new Alienware m14x 2630qm Sandybridge/Chipset HM67 running Lion OSX 10.7.1!

 

I have half functioning graphics HD 3000 (Stretched Screen Green Garbage colors)[/color]

 

But the following do not work.

 

Audio, Sleep, Fn Keys (brightness control) etc. and USB (System Profiler won't show my USB2.0 and with the NEC USB3.0 kext installed, my 3.0 ports freeze my computer)

 

Can you please help patch this ?

 

Audio Codec in this laptop is ALC 665

 

 

Wireless : 0% - Intel Wifi 6502

USB3 Partially (PXCHD.Kext)

 

Intel HD Graphics : 60% - HD3000 - (QE/CI - 1600x900 resolution - Internal LCD/ but stretched and garballed colors)

 

Nvidia Graphics : 0% - GT 555M (Nvidia Optimus graphics)

Sound : 0% - alc665

Trackpad : 100%

Internal Ethernet: 90% Artheos AR8151 - I say 90% because it has been working fine for a bit, but I just received my first KP because of it out of the blue.

 

Also, don't know if this has anything to do with a DSDT, but in my System Profiler my Power On Self-Test says FAILED and Failure type says Memory, but under Memory in the SP, it reads my Memory correctly, any idea?

 

***MAIN FOCUS*** - Screen fix! I have been told that by adding Dual Link functionality top GFX0 it should fix this problem. I have tried this myself, but it wont compile the DSDT because I'm getting Errors.

This is what has to be done --> http://tonymacx86.com/viewtopic.php?f=15&t=28851

 

Please please please help me out!

 

send_me.zip

 

Much Appreciated!

Link to comment
Share on other sites

@MaLd0n,

 

So far all of the desktops and Laptops seem to work fine with your newest auto patcher. I just have Couple more Laptops and One Desktop to test.

 

The last Desktop I am testing now would be the patch name "Asus Maximus Rampage Formula"

 

I have suppled the "Send me" and two DSDTs, One that was patched way over a year ago and one I patched now with auto patcher.

 

Could you just double check that this is patching correctly? The USB name remains USB and not UHC etc.

 

 

Some slight address changes here and there. And I get a warning on the latest patched DSDT when I try to compile it in the latest DSDTSE.

 

Please have a look to see the attached files and let me know if you had to make any changes to autopatcher for this Motherboard.

 

Thanks MaLd0n

 

send_me.zip

 

dsdt.aml__Maximus__Rampage__Forumla__Newest__Patch__Warnings.zip

 

dsdt.aml__Maximus__Rampage__Forumula__Older__Patch.zip

Link to comment
Share on other sites

hi,

 

Can some one help patch this dsdt? I'm new to dsdt and would like some one to help patch it. I have a copy of the .dsl attached which i made using ur dsdtpatcher application for windows as i have no access to mac atm after time machine restore i get kernel panic because some of the kexts failed to load so i thought why not give this a try :P

 

apologies for my bad english

 

thanks in advanced

P5QL_PRO_Stock.zip

Link to comment
Share on other sites

@MaLd0n,

 

Maybe the warning and remark was there from the first patcher and I may have gone one step further to fix I don't remember but when I googled that warning and remark I found my post on mint linux check it out!!

 

 

 

http://forums.linuxmint.com/viewtopic.php?...94&start=20

 

 

CAn I assume the two fixes are unnecessary? Anyhow please review to make sure the newest patcher looks correct. I was concerned about some slight address differences and it looks like USB remains USB and not renamed like you have for other DSDTs?

Link to comment
Share on other sites

sorry im new at all this, but what was funny?

 

will put the modified DSDT.aml in the Extra folder

 

will using the AppleHDADisabler kill my audio?

if you use VoodooHda use AppleHdaDisabler

 

Hey Mald0n,

 

Do you think you could help me out as well?

 

I have the new Alienware m14x 2630qm Sandybridge/Chipset HM67 running Lion OSX 10.7.1!

 

I have half functioning graphics HD 3000 (Stretched Screen Green Garbage colors)[/color]

 

But the following do not work.

 

Audio, Sleep, Fn Keys (brightness control) etc. and USB (System Profiler won't show my USB2.0 and with the NEC USB3.0 kext installed, my 3.0 ports freeze my computer)

 

Can you please help patch this ?

 

Audio Codec in this laptop is ALC 665

 

 

Wireless : 0% - Intel Wifi 6502

USB3 Partially (PXCHD.Kext)

 

Intel HD Graphics : 60% - HD3000 - (QE/CI - 1600x900 resolution - Internal LCD/ but stretched and garballed colors)

 

Nvidia Graphics : 0% - GT 555M (Nvidia Optimus graphics)

Sound : 0% - alc665

Trackpad : 100%

Internal Ethernet: 90% Artheos AR8151 - I say 90% because it has been working fine for a bit, but I just received my first KP because of it out of the blue.

 

Also, don't know if this has anything to do with a DSDT, but in my System Profiler my Power On Self-Test says FAILED and Failure type says Memory, but under Memory in the SP, it reads my Memory correctly, any idea?

 

***MAIN FOCUS*** - Screen fix! I have been told that by adding Dual Link functionality top GFX0 it should fix this problem. I have tried this myself, but it wont compile the DSDT because I'm getting Errors.

This is what has to be done --> http://tonymacx86.com/viewtopic.php?f=15&t=28851

 

Please please please help me out!

 

send_me.zip

 

Much Appreciated!

dsdt.Krooklyn.zip

 

@MaLd0n,

 

So far all of the desktops and Laptops seem to work fine with your newest auto patcher. I just have Couple more Laptops and One Desktop to test.

 

The last Desktop I am testing now would be the patch name "Asus Maximus Rampage Formula"

 

I have suppled the "Send me" and two DSDTs, One that was patched way over a year ago and one I patched now with auto patcher.

 

Could you just double check that this is patching correctly? The USB name remains USB and not UHC etc.

 

 

Some slight address changes here and there. And I get a warning on the latest patched DSDT when I try to compile it in the latest DSDTSE.

 

Please have a look to see the attached files and let me know if you had to make any changes to autopatcher for this Motherboard.

 

Thanks MaLd0n

 

send_me.zip

 

dsdt.aml__Maximus__Rampage__Forumla__Newest__Patch__Warnings.zip

 

dsdt.aml__Maximus__Rampage__Forumula__Older__Patch.zip

the patch is ok

dsdt.oSxFr33k.zip

into_all all code_regex _T_0 replaceall_matched begin T_0 end;
into_all all code_regex _T_1 replaceall_matched begin T_1 end;
into_all all code_regex _T_2 replaceall_matched begin T_2 end;
into_all all code_regex _T_3 replaceall_matched begin T_3 end;
into_all all code_regex _T_4 replaceall_matched begin T_4 end;
into_all all code_regex _T_5 replaceall_matched begin T_5 end;
into_all all code_regex _T_6 replaceall_matched begin T_6 end;
into method label DTGP remove_entry;
into definitionblock code_regex . insert
begin
Method (DTGP, 5, NotSerialized)\n
{\n
   If (LEqual (Arg0, Buffer (0x10)\n
           {\n
               /* 0000 */    0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, \n
               /* 0008 */    0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B\n
           }))\n
   {\n
       If (LEqual (Arg1, One))\n
       {\n
           If (LEqual (Arg2, Zero))\n
           {\n
               Store (Buffer (One)\n
                   {\n
                       0x03\n
                   }, Arg4)\n
               Return (One)\n
           }\n
           If (LEqual (Arg2, One))\n
           {\n
               Return (One)\n
           }\n
       }\n
   }\n
   Store (Buffer (One)\n
       {\n
           0x00\n
       }, Arg4)\n
   Return (Zero)\n
}
end;
into method label FGET code_regex Return\s\(Zero\) remove_matched;
into method label FGET insert
begin
Return (Zero)
end;
into device label PWRB code_regex (Name\s\()_HID(\,\sEisaId\s\(\"PNP0C0C\"\)\)) replace_matched begin %1_CID%2 end;
into device name_hid PNP0000 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
into device name_hid PNP0100 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
into device name_hid PNP0B00 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
into device name_hid PNP0103 code_regex_not IRQNoFlags code_regex Name\s\(([^,]+),\sResourceTemplate\s\(\)\n\s+\{((?:.|\n)*)\}\) replace_matched
begin
Name (%1, ResourceTemplate ()\n
                   {\n
                       IRQNoFlags ()\n
                           {0}\n
                       IRQNoFlags ()\n
                           {8}\n
%2
})
end;
into_all all code_regex (Acquire\s\(MUTE,\s0x)....\)
replace_matched
begin
%1FFFF)
end;
into device label SPKR remove_entry;
into device label FDC remove_entry;
into device label FDC0 remove_entry;
into device label LPT1 remove_entry;
into device label LPTE remove_entry;
into device label ECP1 remove_entry;
into device label MEM remove_entry;
into device label ^^RMEM remove_entry;
into device name_adr 0x001F0003 parent_label PCI0 remove_entry;
into device label PCI0 insert
begin
Device (SBUS)\n
{\n
   Name (_ADR, 0x001F0003)\n
   Device (BUS0)\n
   {\n
       Name (_CID, "smbus")\n
       Name (_ADR, Zero)\n
       Device (DVL0)\n
       {\n
           Name (_ADR, 0x57)\n
           Name (_CID, "diagsvault")\n
       }\n
   }\n
   Method (_DSM, 4, NotSerialized)\n
   {\n
       Store (Package (0x02)\n
           {\n
               "device-id", \n
               Buffer (0x04)\n
               {\n
                   0x30, 0x3A, 0x00, 0x00\n
               }\n
           }, Local0)\n
       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
       Return (Local0)\n
   }\n
}
end;
into method label _PTS code_regex_not If\s\(LEqual\s\(Arg0,\s0x05\)\) code_regex ^((?:.|\n)*)$ replace_matched
begin
       If (LEqual (Arg0, 0x05)) {}\n
       Else\n
       {\n
%1
       }
end;
into method label TGET code_regex Return\s\(Zero\) remove_matched;
into method label TGET insert
begin
Return (Zero)
end;
into method label VGET code_regex Return\s\(Zero\) remove_matched;
into method label VGET insert
begin
Return (Zero)
end;
into method label _DSM parent_adr 0x001D0007 remove_entry;
into device name_adr 0x001D0007 insert
begin
Method (_DSM, 4, NotSerialized)\n
               {\n
                   Store (Package (0x04)\n
                       {\n
                           "device-id", \n
                           Buffer (0x04)\n
                           {\n
                               0x3a, 0x3a, 0x00, 0x00\n
                           }, \n
                           "AAPL,clock-id", \n
                           Buffer (One)\n
                           {\n
                               0x01\n
                           }\n
                       }, Local0)\n
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
                   Return (Local0)\n
               }
end;
into method label _DSM parent_adr 0x001A0007 remove_entry;
into device name_adr 0x001A0007 insert
begin
Method (_DSM, 4, NotSerialized)\n
               {\n
                   Store (Package (0x04)\n
                       {\n
                           "device-id", \n
                           Buffer (0x04)\n
                           {\n
                               0x3c, 0x3a, 0x00, 0x00\n
                           }, \n
                           "AAPL,clock-id", \n
                           Buffer (One)\n
                           {\n
                               0x02\n
                           }\n
                       }, Local0)\n
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
                   Return (Local0)\n
               }
end;
into method label _DSM parent_adr 0x001D0000 remove_entry;
into device name_adr 0x001D0000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
   Store (Package (0x02)\n
       {\n
           "device-id", \n
           Buffer (0x04)\n
           {\n
               0x34, 0x3A, 0x00, 0x00\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end;
into method label _DSM parent_adr 0x001D0001 remove_entry;
into device name_adr 0x001D0001 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
   Store (Package (0x02)\n
       {\n
           "device-id", \n
           Buffer (0x04)\n
           {\n
               0x35, 0x3A, 0x00, 0x00\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end;
into method label _DSM parent_adr 0x001D0002 remove_entry;
into device name_adr 0x001D0002 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
   Store (Package (0x02)\n
       {\n
           "device-id", \n
           Buffer (0x04)\n
           {\n
               0x36, 0x3A, 0x00, 0x00\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end;
into method label _DSM parent_adr 0x001A0000 remove_entry;
into device name_adr 0x001A0000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
   Store (Package (0x02)\n
       {\n
           "device-id", \n
           Buffer (0x04)\n
           {\n
               0x37, 0x3A, 0x00, 0x00\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end;
into method label _DSM parent_adr 0x001A0001 remove_entry;
into device name_adr 0x001A0001 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
   Store (Package (0x02)\n
       {\n
           "device-id", \n
           Buffer (0x04)\n
           {\n
               0x38, 0x3A, 0x00, 0x00\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end;
into method label _DSM parent_adr 0x001A0002 remove_entry;
into device name_adr 0x001A0002 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
   Store (Package (0x02)\n
       {\n
           "device-id", \n
           Buffer (0x04)\n
           {\n
               0x39, 0x3A, 0x00, 0x00\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end;
into method label _DSM parent_adr 0x001D0003 remove_entry;
into device name_adr 0x001D0003 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
   Store (Package (0x02)\n
       {\n
           "device-id", \n
           Buffer (0x04)\n
           {\n
               0x37, 0x3A, 0x00, 0x00\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end;
into method label _STA parent_hid PNP0103 remove_entry;
into device name_hid PNP0103 insert
begin
Method (_STA, 0, NotSerialized)\n
{\n
   Return (0x0F)\n
}
end;
into method label _CRS parent_hid PNP0103 remove_entry;
into device name_hid PNP0103 insert
begin
Method (_CRS, 0, NotSerialized)\n
{\n
   Return (CRS)\n
}
end;
into device name_adr 0x001B0000 parent_label PCI0 remove_entry;
into device label PCI0 insert
begin
Device (HDEF)\n
{\n
   Name (_ADR, 0x001B0000)\n
   Method (_DSM, 4, NotSerialized)\n
                {\n
                    Store (Package (0x08)\n
                        {\n
                            "codec-id", \n
                            Buffer ()\n
                            {\n
                                0x9B, 0x82, 0x43, 0x10\n
                            }, \n
                            "layout-id", \n
                            Buffer ()\n
                            {\n
                                0x0C, 0x00, 0x00, 0x00\n
                            }, \n
                            "device-type", \n
                            Buffer ()\n
                            {\n
                                "Analog Devices AD1988B"\n
                            }, \n
                            "PinConfigurations", \n
                            Buffer (Zero) {}\n
                        }, Local0)\n
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
                    Return (Local0)\n
                }\n
}
end;
into method label _DSM parent_adr 0x001F0000 remove_entry;
into device name_adr 0x001F0000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
   Store (Package (0x02)\n
       {\n
           "device-id", \n
           Buffer (0x04)\n
           {\n
               0x16, 0x29, 0x00, 0x00\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end;
into method label SIT9 code_regex Return\s\(Zero\) remove_matched;
into method label SIT9 insert
begin
Return (Zero)
end;
into_all method label GRPF code_regex Return\s\(Package\s\(0x00\) replaceall_matched
begin
Return (Package (zero)
end

rename, warning...

no difference

 

hi,

 

Can some one help patch this dsdt? I'm new to dsdt and would like some one to help patch it. I have a copy of the .dsl attached which i made using ur dsdtpatcher application for windows as i have no access to mac atm after time machine restore i get kernel panic because some of the kexts failed to load so i thought why not give this a try ;)

 

apologies for my bad english

 

thanks in advanced

dsdt.W.Ben.zip

 

Hi mald0n!

i have a strange error in compiling my dsdt in a laptop (acer aspire 5600awlmi) and i cannot run any snow installation. May you give a look and fix it?

 

Here is the dsdt : dsdt5600awlmi_unt.dsl.zip

 

Thanks!

mal

dsdt.manmal.zip

 

dsdt.Jack_Donker.zip

 

Tanks for the help but is it possible to ask you to do another one? My English isnt that good and I dint get that I was supose to have a clean install without any kext installed so here is one from a clean install.

 

Tank you again!

the same DSDT?

Link to comment
Share on other sites

Intel DH61WW

 

Thanks in advance :)

dsdt.XLR.zip

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

 

@MaLd0n,

 

Maybe the warning and remark was there from the first patcher and I may have gone one step further to fix I don't remember but when I googled that warning and remark I found my post on mint linux check it out!!

 

 

 

http://forums.linuxmint.com/viewtopic.php?...94&start=20

 

 

CAn I assume the two fixes are unnecessary? Anyhow please review to make sure the newest patcher looks correct. I was concerned about some slight address differences and it looks like USB remains USB and not renamed like you have for other DSDTs?

I corrected the warnings

but

rename and warnings no difference

 

Greetings MaLd0n.

 

Are you still providing DSDT help? :D

 

Dell Latitude E6320

i5 2520m

Intel 3000

Intel QM67 chipset

 

Thanks in advance.

dsdt.Veeper.zip

 

;)

dsdt.magnifico10.zip

Link to comment
Share on other sites

hmmm...didn't seem to work MaL....the code is in ioregistry....gfx card still recognized as dev id 0x9495...inserted in wrong spot(pop1) i guess... i've asked Cyrus about where the gfx entry should be...waiting for a response...maybe could be added like this...

 

Device (PCI0)

{

Name (_HID, EisaId ("PNP0A03"))

Name (_ADR, 0x00)

Name (_UID, 0x01)

Name (_BBN, 0x00)

Device (GFX0)

{

Name (_ADR, Zero)

Name (_SUN, One)

Method (_DSM, 4, NotSerialized) ....this location is suggested as the spot to inject gfx code for ati(in DSDTSE)

...any thoughts? :P

Link to comment
Share on other sites

@MaLd0n,

 

Thanks

 

What about the minor changes like in case where I see some address change from Y0B to Y0A. You can see them if you look at the two DSDTs I posted. It all over the DSDT.

 

Does this happen because of the difference in which ASL compiler was used in auto patcher at the time?

Link to comment
Share on other sites

...like this?

 

Device (PCI0)

{

Name (_HID, EisaId ("PNP0A03"))

Name (_ADR, 0x00)

Name (_UID, 0x01)

Name (_BBN, 0x00)

Device (PEG1)

Name (_ADR, 0x00060000) ...is this address correct?

Device (GFX0)

{

Name (_ADR, Zero)

Name (_SUN, One)

Method (_DSM, 4, NotSerialized)

Link to comment
Share on other sites

Does this happen because of the difference in which ASL compiler was used in auto patcher at the time?

Yes :P

 

...like this?

 

Device (PCI0)

{

Name (_HID, EisaId ("PNP0A03"))

Name (_ADR, 0x00)

Name (_UID, 0x01)

Name (_BBN, 0x00)

Device (PEG1)

Name (_ADR, 0x00060000) ...is this address correct?

Device (GFX0)

{

Name (_ADR, Zero)

Name (_SUN, One)

Method (_DSM, 4, NotSerialized)

 

into PCI0

Device (PEG1)
{
Name (_ADR, 0x00010000)
Method (_PRW, 0, NotSerialized)
{
Return (Package (0x02)
{
0x0B, 
0x04
})
}
Device (GFX0)
{
Name (_ADR, Zero)
Method (_DSM, 4, NotSerialized)
{
...
}
}
}

 

into P0P1?

add Device (GFX0) and _DSM

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...