| InsanelyWind http://www.insanelywind.com/forum/ |
|
| DSDT Patching How-to http://www.insanelywind.com/forum/viewtopic.php?f=47&t=24 |
Page 1 of 19 Next » |
| Author: | Dalton63841 [ Fri Oct 23, 2009 1:52 am ] |
| Post subject: | DSDT Patching How-to |
Could not locate in the caches, but I was able to rebuild 98% of it with the DSDT Patching tutorial from insanelymac, and staticanime's blog, which contained most, but not all of the patches. DSDT Patching is a process by which we adapt the DSDT table that the OS sees, to increase functionality in out hackintoshes, without adding extra kexts. This allows to keep our Winds as Vanilla as possible. First off you need a few tools: DSDT Patcher: http://www.insanelymac.com/forum/index.php?act=attach&type=post&id=38192 Text Wrangler: http://pine.barebones.com/freeware/TextWrangler_3.0.dmg First off, you will need iasl, to de- and re- compress the dsdt.aml.
now to get started. First we need to get our DSDT:
Just follow the instructions. It will ask for 0 for mac, 1 for Windows, etc. Click 0. When it finishes you will have a file called dsdt.aml in the DSDT_Patcher folder. Now you need to type:
This will make the file human-readable. Open it in Text Wrangler. Following are the known patches: Sleep/Hibernate on Lid close: To enable lid0 add PNLF and your _OSI to EC (more mac less hac).
USB Device Removal error on sleep fix: Find Scope (\_GPE), and modify it to look like the below (stop before OperationRegion (_SB.PCI0.SBRG.PIX0, PCI_Config, 0×60, 0×0C))
Visual Fix – Built-In Audio: Find Device (IDE0), and add the following ABOVE it
Visual Fix – Ethernet PCI card Find Device (LAN0), and modify it to look like the below (stop before Device (P0P5))
Visual Fix – WiFi PCI Card Find Device (P0P5), and modify it to look like the below (stop before Device (P0P6))
Visual Fix – GFX PCI Card Find Device (IGD) and modify it to look like the below (stop before Method (_DOS, 1, NotSerialized))
Compile Error: DTGP fix Find Method (_WAK, 1, NotSerialized) and add the following above:
After performing the patches to the dsdt you will want to go back to the terminal:
Now you just need to copy the new dsdt.aml file into the /Extra folder of Chameleon 2 and reboot. |
|
| Author: | joelw135 [ Fri Oct 23, 2009 5:17 pm ] |
| Post subject: | Re: DSDT Patching How-to |
I found the following errors in above post. cp iasl /usr/bin should be sudo cp iasl /usr/bin and the following ./dsdt_patcher received error "No such File or Folder. |
|
| Author: | Dalton63841 [ Fri Oct 23, 2009 7:01 pm ] |
| Post subject: | Re: DSDT Patching How-to |
joelw135 wrote: I found the following errors in above post. cp iasl /usr/bin should be sudo cp iasl /usr/bin and the following ./dsdt_patcher received error "No such File or Folder. Thanks for pointing those out. Corrected. |
|
| Author: | joelw135 [ Fri Oct 23, 2009 7:58 pm ] |
| Post subject: | Re: DSDT Patching How-to |
Dalton63841 wrote: joelw135 wrote: I found the following errors in above post. cp iasl /usr/bin should be sudo cp iasl /usr/bin and the following ./dsdt_patcher received error "No such File or Folder. Thanks for pointing those out. Corrected. Dalton, I am not finding items in DSDT you mention in tutorial. 1.Device (LAN0) 2.Device (IDEO) So far. Can you send me your DSDT and I will compile it? |
|
| Author: | Mars478 [ Fri Oct 23, 2009 8:35 pm ] |
| Post subject: | Re: DSDT Patching How-to |
Good write up, We need a tutorial section. |
|
| Author: | blogbod [ Sun Oct 25, 2009 11:37 pm ] |
| Post subject: | Re: DSDT Patching How-to |
Can you post up your DSDT file because it is a good place to start from, since most of our hardware is very close. Thanks. BTW Great new Forum and thanks for all the work Mars and Dalton |
|
| Author: | ruxema [ Tue Oct 27, 2009 11:20 pm ] |
| Post subject: | Re: DSDT Patching How-to |
Hi, first of all, I'm so happy that this forum keeps the work of msiwind.net guys alive! I have a problem with applying the USB Device Removal error on sleep fix on my dsdt... the issue i've encountered is with the last string:
When compilation finishes i get 1 Error, this one:
What I have to do to get this patch working properly? btw I have an MSI wind u100 of course. Thanks in advance for the support, and congratulations for the efforts! |
|
| Author: | Dalton63841 [ Wed Oct 28, 2009 12:35 am ] |
| Post subject: | Re: DSDT Patching How-to |
I have done some homework on this. As it turns out, these patches have to be applied to a dsdt from a bios older than .10E, as .10E gives a very different dsdt file. Bear in mind that a dsdt created from an older Bios will continue to work perfectly with a newer bios. The only patch that still works if applied to a dsdt created from bios .10E is the Sleep on Lid Close patch. |
|
| Author: | joelw135 [ Wed Oct 28, 2009 10:50 pm ] |
| Post subject: | Re: DSDT Patching How-to |
Dalton63841 wrote: I have done some homework on this. As it turns out, these patches have to be applied to a dsdt from Leopard, as Snow Leopard gives a very different dsdt file. Bear in mind that a dsdt created in Leopard will continue to work perfectly in Snow Leopard. The only patch that still works if applied to a dsdt created in Snow is the Sleep on Lid Close patch. Tonight I am recreating my recovery partition, which uses leopard as its base, so I will get a DSDT from it and get it all patched up, then I will upload it here. Fantastic, looking forward to this. What will we have to do? Just add it to the Extra folder? |
|
| Author: | Dalton63841 [ Wed Oct 28, 2009 10:56 pm ] |
| Post subject: | Re: DSDT Patching How-to |
joelw135 wrote: Fantastic, looking forward to this. What will we have to do? Just add it to the Extra folder? Precisely. It should be tonite I'll have it. |
|
| Author: | joelw135 [ Wed Oct 28, 2009 10:58 pm ] |
| Post subject: | Re: DSDT Patching How-to |
Dalton63841 wrote: joelw135 wrote: Fantastic, looking forward to this. What will we have to do? Just add it to the Extra folder? Precisely. It should be tonite I'll have it. Thank you, is there any kext files to be removed as in 10.5.8? |
|
| Author: | Dalton63841 [ Thu Oct 29, 2009 12:44 am ] |
| Post subject: | Re: DSDT Patching How-to |
joelw135 wrote: Dalton63841 wrote: joelw135 wrote: Fantastic, looking forward to this. What will we have to do? Just add it to the Extra folder? Precisely. It should be tonite I'll have it. Thank you, is there any kext files to be removed as in 10.5.8? Nope, just drop in the DSDT and reboot |
|
| Author: | joelw135 [ Thu Oct 29, 2009 11:26 am ] |
| Post subject: | Re: DSDT Patching How-to |
Quote: Precisely. It should be tonite I'll have it. Thank you, is there any kext files to be removed as in 10.5.8?[/quote] Nope, just drop in the DSDT and reboot[/quote] Last night I tried putting my old DSDT from10.5.8 in my Extra folder. I then rebooted to an instant KP. I know that that DSDT worked in 10.5.8, but sure not working in 10.6.1. Could be something happened to it, but not sure. I am hoping that the DSDT that Dalton makes works. Only time will tell. |
|
| Author: | Abysmal [ Thu Oct 29, 2009 1:09 pm ] |
| Post subject: | Re: DSDT Patching How-to |
Thanks Dalton.. One of these days ( time permitting .. wife, kids, work.. you know ) ..I'll get a chance to finally redo my wind with 10.5.8 and SL and I'd love to sit down and finally do the dsdt file properly.. Thanks for the work put into it for us.. Abysmal |
|
| Author: | stringbag [ Thu Oct 29, 2009 9:43 pm ] |
| Post subject: | Re: DSDT Patching How-to |
Yes, big thanks from me too. Followed your/18seven' s 100% vanilla snow install on msiwind.net, then, when it went down, insanelymac. Had no problems at all. DSDT patch (from snow) will be the last piece of the puzzle! |
|
| Author: | Dalton63841 [ Sat Oct 31, 2009 12:31 am ] |
| Post subject: | Re: DSDT Patching How-to |
Here is my current DSDT.aml and DSDT.dsl files. It has all current patches. If you want to see the Visual Patches just open System Profiler and click on PCI Cards. I included the DSDT.dsl file so that you could open it up and see the patches. Attachment: For those using the Realtek wifi cards the DSDT has already been modified by cyberghoser here: http://insanelywind.com/forum/download/file.php?id=72 |
|
| Author: | joelw135 [ Sat Oct 31, 2009 1:50 am ] |
| Post subject: | Re: DSDT Patching How-to |
Dalton63841 wrote: Here is my current DSDT.aml and DSDT.dsl files. It has all current patches. If you want to see the Visual Patches just open System Profiler and click on PCI Cards. I included the DSDT.dsl file so that you could open it up and see the patches. Attachment: DSDT.zip I put the dsdt.aml in my Extra folder then rebooted and got instant kernel panic. Any ideas why? |
|
| Author: | Dalton63841 [ Sat Oct 31, 2009 1:52 am ] |
| Post subject: | Re: DSDT Patching How-to |
Did you try to reboot again? Sometimes that will happen on the first reboot. Otherwise I have no idea, unless maybe Clamshell is conflickting with the sleep on lid close patch. |
|
| Author: | cyberghoser1 [ Sat Oct 31, 2009 1:53 am ] |
| Post subject: | Re: DSDT Patching How-to |
joelw135 wrote: Dalton63841 wrote: Here is my current DSDT.aml and DSDT.dsl files. It has all current patches. If you want to see the Visual Patches just open System Profiler and click on PCI Cards. I included the DSDT.dsl file so that you could open it up and see the patches. Attachment: DSDT.zip I put the dsdt.aml in my Extra folder then rebooted and got instant kernel panic. Any ideas why? Just tested it in my 10.5.8 and pci now on system profiler shows correctly, have to change broadcom to realtek though but who cares |
|
| Author: | Dalton63841 [ Sat Oct 31, 2009 2:19 am ] |
| Post subject: | Re: DSDT Patching How-to |
cyberghoser1 wrote: Just tested it in my 10.5.8 and pci now on system profiler shows correctly, have to change broadcom to realtek though but who cares To change that all you need to do is change 1 line in the dsdt.dsl and recompile. Open the DSDT.dsl in Text Wrangler, Find Device (P0P5) and then scroll down until you see this line:
Change Broadcom Corporation BCM4328 to whatever card you have, and change b/g/n to the specs of your card. Bear in mind that Dell wifi cards are broadcom. The one in my DSDT file, Broadcom 4328, is a Dell 1505. I think the 1510 is a Broadcom 4312, or 4311. After you change that save the dsdt.dsl file. Then open terminal and cd to the directory where the file is located and type
Then put the new dsdt.aml file in your extra folder and reboot. |
|
| Page 1 of 19 | All times are UTC |
| Powered by phpBB © 2007 phpBB Group | |