Jump to content

DSDT Auto-Patcher


MaLd0n
 Share

5,753 posts in this topic

Recommended Posts

Hi MaLd0n,

I'm getting a new videocard (GT430) for my Asus P5E-VM HDMI. Thanks for fixing my DSDT the other day. I want to edit it to plug the PEG stuff in for HDMI audio. Is there a motherboard in your DSDT Auto Patcher I could use that's close to this one? I just don't want to bug you again. Thanks!

Link to comment
Share on other sites

Hi MaLd0n,

I'm getting a new videocard (GT430) for my Asus P5E-VM HDMI. Thanks for fixing my DSDT the other day. I want to edit it to plug the PEG stuff in for HDMI audio. Is there a motherboard in your DSDT Auto Patcher I could use that's close to this one? I just don't want to bug you again. Thanks!

 

look it

http://www.insanelymac.com/forum/index.php...t&p=1448833

Link to comment
Share on other sites

 

Oh I know how to make HDMI audio work. It's just that the DSDT I gave you the other day doesn't have a GFX0 or PEG section because I didn't have a videocard in at the time (used onboard). When I go back and re-capture the DSDT with the video card installed, I don't want to bug you about editing the DSDT. Is there a motherboard in your DSDT Auto Patcher that I could use that would be close to the Asus P5E-VM HDMI?

Link to comment
Share on other sites

Oh I know how to make HDMI audio work. It's just that the DSDT I gave you the other day doesn't have a GFX0 or PEG section because I didn't have a videocard in at the time (used onboard). When I go back and re-capture the DSDT with the video card installed, I don't want to bug you about editing the DSDT. Is there a motherboard in your DSDT Auto Patcher that I could use that would be close to the Asus P5E-VM HDMI?

patch

patch.txt.zip

Use DSDT EDITOR and PATCHER

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_all scope label _PR code_regex Alias\s\([^\n]+\n removeall_matched;
into_all scope label \_PR code_regex Alias\s\([^\n]+\n removeall_matched;
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 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 (0x04)\n
           {\n
               "layout-id", \n
               Buffer (0x04)\n
               {\n
                   0x0C, 0x00, 0x00, 0x00\n
               }, \n
               "PinConfigurations", \n
               Buffer (Zero) {}\n
           }, Local0)\n
       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
       Return (Local0)\n
   }\n
}
end;
into device label PWRB code_regex (Name\s\()_HID(\,\sEisaId\s\(\"PNP0C0C\"\)\)) replace_matched begin %1_CID%2 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 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 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_all all code_regex (Acquire\s\(MUT0,\s0x)....\)
replace_matched
begin
%1FFFF)
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 LPT remove_entry;
into device label ECP1 remove_entry;
into device label MEM remove_entry;
into device label ^^RMEM remove_entry;
into device name_hid PNP0B00 code_regex (IO\s\((?:\s*[^,]+,\s*(?:\/\/\s.*)?\s*\n)+\s*)(\dx\d+)(,\s*(?:\/\/\s.*)?\s*\n\s*\)) replace_matched begin %10x02%3 end;
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 _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

 

look at the ioreg --> video device

pop2?

Link to comment
Share on other sites

Here are my Files after running the commands u suggested to others,maybe you can spot what's causing my cmos issue? One problem is after running the ioreg -lw0 | grep CSTInfo it just gives me a "CSTInfo" = 19136773 ?, maybe because i dont have Xcode installed in this drive ?

 

myDumps

X58A_UD5Rev1.dsdtKernelKext.zip

Try it

dsdt.Dajjal.zip

Link to comment
Share on other sites

No dice,When i try to wake the system from force sleep the fans come alive but the screen remains blank,Pressing the restart button doesn help,i have to hold down the PWR but the cmos is intact

Shutdown still results in the CMOS being reset.When i power back up it takes maybe 30 sec,then powers back on/off twice then it boots normal.......

Link to comment
Share on other sites

try it

dsdt.scalar.zip

 

remove EvOreboot and Disabler

 

if you have KP, use ForceHPET=Yes

put dsdt into place, removed requested extensions (EvOreboot/Disabler) and rebooted. KP but I discovered I had VoodooPower kext so removed, rebooted again (added ForceHPET flag to boot.plist just in case) and have desktop. Questions:

 

Did voodoopower affect the first run_me? Should I provide another dump?

 

Can we get ALC883 working you think?

 

Thanks for your help! Trying to get this cleaned & ready for 10.6.8/Lion (I probably have until 10.7.2 realistically but good to get ahead on this)

Link to comment
Share on other sites

No dice,When i try to wake the system from force sleep the fans come alive but the screen remains blank,Pressing the restart button doesn help,i have to hold down the PWR but the cmos is intact

Shutdown still results in the CMOS being reset.When i power back up it takes maybe 30 sec,then powers back on/off twice then it boots normal.......

Extract original DSDT from Windows

send me original DSDT

 

Did voodoopower affect the first run_me? Should I provide another dump?

No problem

 

Can we get ALC883 working you think?

 

ApplyHDEF and...

http://www.projectosx.com/forum/index.php?showtopic=465

Link to comment
Share on other sites

I get this error when extracting from Z68x-UD4-B3 (F7, was also in F6 Bios):

 

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

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

Link to comment
Share on other sites

I get this error when extracting from Z68x-UD4-B3 (F7, was also in F6 Bios):

 

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

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

Hey longtom

 

PX40 = LPCB

your DSDT is not original

send me your DSDT

 

read it

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

Thanks :(

Link to comment
Share on other sites

Oh, i thought it is directly extracted from system?

Do i need to extract the DSDT from somewhere.

 

Ok, i have to boot w/o a DSDT file in /E.

Hmm how i can manage because then i get KP.

send me current DSDT

Link to comment
Share on other sites

dsdt.joejoe317.zip

 

 

the mobo is supported

 

Hey I was wondering if you knew anything about patching the dsdt for graphics cards or could point me in the direction where I could figure it out.

 

I have 2 different types of cards (obviously not trying to use them at the same time)

 

both are simple

 

x700 256mb ddr3

 

or

 

fx5900 128mb ddr

 

they both looked like they worked in tiger but nothing passed that.

 

If shows the card in system profiler but it says no kext loaded... im trying to get qe ci support.

Link to comment
Share on other sites

Hi,

 

 

Since 10.6.8 I lost Audio (installed 10.6.7 AppleHDA), lost Wifi (removed the Asus WL-138G V2 PCI card, Use iPhone over USB for WiFi adapter) but I also lost Wake from sleep.

 

I havent used sleepenabler.kext since 10.6.6 because of your DSDT edits :( but 10.6.8 seems to have broken that. What would be the solution?

 

EDIT: Found the solution myself

 

I used an old smbios.plist and added

 

<key>SMboardproduct</key>

<string>Mac-F42C88C8</string>

 

Mac-F42C88C8 is the model number of MacPro 3,1

 

 

Now W-Lan and wake from sleep work again. :)

Link to comment
Share on other sites

@ MaLd0n

No luck :(

Same thing happens :) I noticed that After it says CPU Hault there is a line that says summ about PHXD resetting 4 Ports or summ along those lines.That's the USB3 ports right? If it means anything After i power it back on from Shutdown the LED says 88, then goes off/on twice before booting,then i have to set over my settings.I tried Shutdown from My Win 7 drive and no Issues there so this rules out problem with the Board right ?

 

As far as the DSDT goes, everything looks good right ? Mind sharing what u changed from the first if you can remember? I dont get it, all was good before i did the 10.6.8 update to my test drive an i also repaired a Windows drive inside win,only then did this begin :wacko:

 

Would you suggest a fresh Install Or even Moving to another Bios ? Tweaktown has F7 but Giga has F7j, AFAIK both Only add 3TB support.At least we cant say we didn try to solve my probs,but it still sucks......dammit

 

 

EDIT: Upon further examination I realize that the CMOS does Not fully reset :( When i click Shutdown from the Apple menu it indeed shuts down.When i power it back up it takes a while then the LED says 88, then goes off/on twice before booting.When it boots i get the screen saying

 

The System has experienced boot failures because of overclocking or changes of voltage.Last settings in BIOS set up may not coincide with current H/W States.....

Current CPU Speed : 2.93 Ghz

Current BLCK : 133MHz

Current Memory Speed : 1066Mhz

 

Press AnyKey to Continue

 

Once i go into any settings then the red Dialog comes up which kinda says the same thing But i noticed that nothing has really changed :wacko: so just to be sure i Load my saved profile then boot over.......

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...