Jump to content

DSDT Auto-Patcher


MaLd0n
 Share

5,753 posts in this topic

Recommended Posts

MaLd0n, don't forget to update autopatcher with all the new boards you come across!

 

just like to know:

 

1) do you see a diff. in the dsdt that sl use compare to what lion use?

2) are there any board you did before in SL, that are comming back for LION?

Link to comment
Share on other sites

Attached!

dsdt.longtom.zip

 

I used an old smbios.plist and added

 

SMboardproduct

Mac-F42C88C8

 

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

 

 

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

 

01a.png

 

...

 

:D

 

MaLd0n, don't forget to update autopatcher with all the new boards you come across!

 

just like to know:

 

1) do you see a diff. in the dsdt that sl use compare to what lion use?

2) are there any board you did before in SL, that are comming back for LION?

same DSDT

Lion/Snow

some mobos will require an adjustment in rtc

I hope someone finds the solution

Link to comment
Share on other sites

Any other suggestions :( I tried to use another dsdt from tonys site but same problem and some how my GB scores drop from 10240+ to 98600+ & Temps rise 3-6 Degrees :blowup: As far as the temps go i think i've narrowed it down to the Edit that Shows

''Start up automatically after a power failure' option to appear in Energy Saver''.

With Tonys dsdt you dont get this option and by adding it the temps drop but hey what the hell do i know.......

I tried using Diffmerge to get an idea of the differences but it's just to many for a noob like me :P

Link to comment
Share on other sites

Thanks!

Is it a bootable F6 version for autopatcher to patch my F7, or is it already a finished F7 version?

DSDT Auto-Patcher for all versions of the bios

into device name_adr 0x001F0000 insert
begin
OperationRegion (LPC0, PCI_Config, 0xA4, 0x02)\n
               Field (LPC0, ByteAcc, NoLock, Preserve)\n
               {\n
                   AG3E,   1\n
               }
end;
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 Or\s\(0x03,\sPARM\) replaceall_matched
begin
Or (PARM, 0x03, PARM)
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 device label PWRB code_regex (Name\s\()_HID(\,\sEisaId\s\(\"PNP0C0C\"\)\)) replace_matched begin %1_CID%2 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 (ATT3)\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
               0x49, 0x1c, 0x00, 0x00\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end;
into_all all code_regex Name\s\(RPMV,\sPackage\s\(0x00\) replaceall_matched
begin
Name (RPMV, Package (zero)
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 label IDE1 set_label begin SATA end;
into device label USBE set_label begin EHC1 end;
into device label USE2 set_label begin EHC2 end;
into_all all code_regex USBE replaceall_matched begin EHC1 end;
into_all all code_regex USE2 replaceall_matched begin EHC2 end;
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 _WAK code_regex Return\s\(\s*\n?\s*Package\s*\n?\s*\(0x02\)\s*\n?\s*\{\s*\n?(?:\s*Zero,?\s*\n?){2}\s*\}\s*\n?\s*\) remove_matched;
into method label _WAK insert
begin
Return (Package (0x02)\n
{\n
   Zero, \n
   Zero\n
})
end;
into method label \_WAK code_regex Return\s\(\s*\n?\s*Package\s*\n?\s*\(0x02\)\s*\n?\s*\{\s*\n?(?:\s*Zero,?\s*\n?){2}\s*\}\s*\n?\s*\) remove_matched;
into method label \_WAK insert
begin
Return (Package (0x02)\n
{\n
   Zero, \n
   Zero\n
})
end;
into method label _PTS code_regex (If\s*\(LEqual\s*\(Arg0,\s*0x05\)\)\s*\n\s*\{\s*\n)(?:[^\n\}]+\n)+(\s*\}) replace_matched
begin
%1
           Store (One, \\_SB.PCI0.PX40.AG3E)\n
           Store (Zero, SLPE)\n
           Sleep (0x10)\n
%2\n
Else\n
{\n
   Store (Zero, \\_SB.PCI0.PX40.AG3E)\n
}
end;
into method label \_PTS code_regex (If\s*\(LEqual\s*\(Arg0,\s*0x05\)\)\s*\n\s*\{\s*\n)(?:[^\n\}]+\n)+(\s*\}) replace_matched
begin
%1
           Store (One, \\_SB.PCI0.PX40.AG3E)\n
           Store (Zero, SLPE)\n
           Sleep (0x10)\n
%2\n
Else\n
{\n
   Store (Zero, \\_SB.PCI0.PX40.AG3E)\n
}
end;
into definitionblock code_regex . code_regex_not OperationRegion\s*\(PMRS insert
begin
OperationRegion (PMRS, SystemIO, 0x0430, One)\n
Field (PMRS, ByteAcc, NoLock, Preserve)\n
{\n
       ,   4, \n
   SLPE,   1\n
}
end;
into device name_adr 0x001B0000 set_label
begin
HDEF
end;
into_all all code_regex AZAL replaceall_matched
begin
HDEF
end;
into device name_adr 0x001D0000 code_regex_not OperationRegion\s\(EOWN insert
begin
               OperationRegion (EOWN, PCI_Config, 0x68, 0x04)\n
               Field (EOWN, ByteAcc, NoLock, Preserve)\n
               {\n
                           Offset (0x02), \n
                   HCBO,   1, \n
                           Offset (0x03), \n
                   HCOO,   1\n
               }
end;
into device name_adr 0x001A0000 code_regex_not OperationRegion\s\(EOWN insert
begin
               OperationRegion (EOWN, PCI_Config, 0x68, 0x04)\n
               Field (EOWN, ByteAcc, NoLock, Preserve)\n
               {\n
                           Offset (0x02), \n
                   HCBO,   1, \n
                           Offset (0x03), \n
                   HCOO,   1\n
               }
end;
into method label PINI remove_entry;
into definitionblock code_regex . insert
begin
   Method (PINI, 0, NotSerialized)\n
   {\n
       Store (Zero, \_SB.PCI0.EHC1.HCBO)\n
       Store (One, \_SB.PCI0.EHC1.HCOO)\n
       Store (Zero, \_SB.PCI0.EHC2.HCBO)\n
       Store (One, \_SB.PCI0.EHC2.HCOO)\n
   }
end;
into method label ^_INI code_regex_not PINI\s\(\) insert
begin
PINI ()
end;
into method label \_SB.PCI0._INI code_regex_not PINI\s\(\) insert
begin
PINI ()
end;
into method label _WAK code_regex_not PINI\s\(\) code_regex ^((?:.|\n)*)$ replace_matched
begin
PINI ()\n
%1
end;
into method label \_WAK code_regex_not PINI\s\(\) code_regex ^((?:.|\n)*)$ replace_matched
begin
PINI ()\n
%1
end;
into method label _PTS code_regex If\s*\(LEqual\s*\(Arg0,\s*0x05\)\)\s*\{\s*\} replace_matched
begin
If (LEqual (Arg0, 0x05))\n
{\n
           Store (One, \\_SB.PCI0.PX40.AG3E)\n
           Store (Zero, SLPE)\n
           Sleep (0x10)\n
}\n
Else\n
{\n
   Store (Zero, \\_SB.PCI0.PX40.AG3E)\n
}
end;
into method label \_PTS code_regex If\s*\(LEqual\s*\(Arg0,\s*0x05\)\)\s*\{\s*\} replace_matched
begin
If (LEqual (Arg0, 0x05))\n
{\n
           Store (One, \\_SB.PCI0.PX40.AG3E)\n
           Store (Zero, SLPE)\n
           Sleep (0x10)\n
}\n
Else\n
{\n
   Store (Zero, \\_SB.PCI0.PX40.AG3E)\n
}
end;
into definitionblock code_regex . code_regex_not OperationRegion\s*\(PMRS insert
begin
OperationRegion (PMRS, SystemIO, 0x0430, One)\n
Field (PMRS, ByteAcc, NoLock, Preserve)\n
{\n
       ,   4, \n
   SLPE,   1\n
}
end;
into device label HDEF insert
begin
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
   }
end;
into method label _DSM parent_adr 0x001F0002 remove_entry;
into device name_adr 0x001F0002 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
   Store (Package (0x02)\n
       {\n
           "device-id", \n
           Buffer (0x04)\n
           {\n
               0x03, 0x1c, 0x00, 0x00\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end

Link to comment
Share on other sites

@ MaLd0n and others i have success :thumbsup_anim:

The culprit was the Realtek RTG 2.0.6 Driver After taking a break from trying everything under the :hysterical: sun Besides a fresh install i began to think of what had i recently installed to try an backtrack and all i could come up with was this driver so i removed his :rolleyes: and all is well now......Bless

Link to comment
Share on other sites

@ MaLd0n and others i have success :thumbsup_anim:

The culprit was the Realtek RTG 2.0.6 Driver After taking a break from trying everything under the :hysterical: sun Besides a fresh install i began to think of what had i recently installed to try an backtrack and all i could come up with was this driver so i removed his :rolleyes: and all is well now......Bless

Great

01a.png

Link to comment
Share on other sites

 

Thanks!

When i now use Autopatcher i get this:

 

 

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

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

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

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

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

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

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

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

Link to comment
Share on other sites

Thanks!

When i now use Autopatcher i get this:

 

 

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

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

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

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

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

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

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

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

your DSDT is already edited

Link to comment
Share on other sites

Hey Mald0n!

 

It's been a while, but glad to see you're going strong and able to help so many people out!

 

I've got a little project I must work on; I have one of the older HP Pavilion laptops that had the "dead nVidia GPU issue" and I just recently had it repaired. I need to get OS X to run on it so my girl can learn Final Cut Pro on it.

 

I tried to create a DSDT for it, but could never get rid of one last error. I'm hoping that if you have some time, you could help me out with this.

 

I have attached a clean DSDT created from v10.10 32-bit Ubuntu Live CD. If you think I should try using the patcher on it, I suppose I would need a patch-pack for it. But whatever you might need, of course I would be happy to provide it. :(

 

Here are some links to specs for this machine:

 

Old Mammoth post for dv9000 from 2007

 

HP link for dv9000t CTO

 

Thanks very much in advanced Mald0n!!!

 

:(

 

dv9000_EZ379AV_dsdt.zip

Link to comment
Share on other sites

Thanks!

Sorry, for bothering again, is it now an edited F6 or F7 BIOS? ;)

:wacko:

 

I have no idea

 

update your bios

extract DSDT from Windows and apply again

Link to comment
Share on other sites

Hello. I used your DSDT and after I rebooted I got a kp.

 

To be honest I havent been able to reboot lion since updating the software update package..

 

This is my screen with boot flags -v -s -f

 

http://www.lucid-composure.co.uk/web/kp1.jpg

 

http://www.lucid-composure.co.uk/web/kp2.jpg

 

JOhnny

use AppleHdaDisabler in S/L/E or remove AppleHDA

Link to comment
Share on other sites

Hey Mald0n!

 

It's been a while, but glad to see you're going strong and able to help so many people out!

 

I've got a little project I must work on; I have one of the older HP Pavilion laptops that had the "dead nVidia GPU issue" and I just recently had it repaired. I need to get OS X to run on it so my girl can learn Final Cut Pro on it.

 

I tried to create a DSDT for it, but could never get rid of one last error. I'm hoping that if you have some time, you could help me out with this.

 

I have attached a clean DSDT created from v10.10 32-bit Ubuntu Live CD. If you think I should try using the patcher on it, I suppose I would need a patch-pack for it. But whatever you might need, of course I would be happy to provide it. :)

 

Here are some links to specs for this machine:

 

Old Mammoth post for dv9000 from 2007

 

HP link for dv9000t CTO

 

Thanks very much in advanced Mald0n!!!

 

:rolleyes:

 

dv9000_EZ379AV_dsdt.zip

 

Hey Mammoth fun.gif

dsdt.Mammoth.zip

 

DTGP

FN KEYS

HPET

IOATAFAMILY

IRQs

LPC

PNLF

RTC

SMBUS

HDEF _DSM

PWR ACAD

AppleACPIBatteryManager for DVx

 

USB ICH7 is Native

Link to comment
Share on other sites

Thanks. seems to of worked. So how do I get my audio working then seeing as Ive removed appleHDA?

The problem is HDEF(in DSDT) + VodooHda

 

if you use HDEF + legacyHDA + AppleHda patched, remove VoodooHda and AppleHDAdisabler

Link to comment
Share on other sites

I haven't got anything installed. Its a fresh installation. With the stock AppleHDA my sound worked out of the box.

what is the audio codec?

Link to comment
Share on other sites

Where am I going to find those for Lion mate?

look it

http://olarila.com/forum/viewtopic.php?f=10&t=139

in Portuguese

sorry

 

This is created on a system Toshiba X200-21K

 

Detailed configuration:

http://eu.computers.toshiba-europe.com/inn...ODUCT_ID=135407

 

I hope it will be usefull!

 

Best Regards,TJ

your DSDT is not original

dsdt.TamauJabuk.zip

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...