haris2887 Posted September 5, 2011 Share Posted September 5, 2011 HI all... so I Edited my DSDT. i have a few Questions System specs are: -965p-DS3P -e6400 Core 2 Duo CPU -Intel® ICH8R chipset -Marvell 8056 Gigabit Ethernet controller -Realtek ALC888 -6600GT GFX my Question is. 1: How do I know what patches to apply, I have fixed the errors in my DSDT. 2. What is a good way of testing DSDT edits, say the system is unable to boot with my DSDT, do i have to waste another hour re-installing OSX and patching combo update etc...?j ust to Test a DSDT edit ? 3. I was using the system for Testing before without DSDT, ([url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url]) and it was giving me [ PCI configuration begin ] hang. any Ideas ?i suspect using my systems DSDT should fix it ... After i Apply the ALC888 patch i get the following error ..auto fix does nothing.. Link to comment https://www.insanelymac.com/forum/topic/267216-ga-965p-ds3p-dsdt-edited/ Share on other sites More sharing options...
MaLd0n Posted September 5, 2011 Share Posted September 5, 2011 patch use DSDT EDITOR 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 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 _DSM parent_adr 0x001D0007 remove_entry; into device name_adr 0x001D0007 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x04)\n {\n "AAPL,clock-id",\n Buffer (One)\n {\n 0x01\n },\n "device_type",\n Buffer (0x05)\n {\n "EHCI"\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 "AAPL,clock-id",\n Buffer (One)\n {\n 0x02\n },\n "device_type",\n Buffer (0x05)\n {\n "EHCI"\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\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 0x15, 0x28, 0x00, 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } 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 USB0 set_label begin UHC1 end; into device label USB1 set_label begin UHC2 end; into device label USB2 set_label begin UHC3 end; into device label USB3 set_label begin UHC4 end; into device label USB4 set_label begin UHC5 end; into device label USB5 set_label begin UHC6 end; into device label USBE set_label begin EHC1 end; into device label USE2 set_label begin EHC2 end; into_all all code_regex USB0 replaceall_matched begin UHC1 end; into_all all code_regex USB1 replaceall_matched begin UHC2 end; into_all all code_regex USB2 replaceall_matched begin UHC3 end; into_all all code_regex USB3 replaceall_matched begin UHC4 end; into_all all code_regex USB4 replaceall_matched begin UHC5 end; into_all all code_regex USB5 replaceall_matched begin UHC6 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 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 method label _DSM parent_adr 0x001F0003 remove_entry; into device name_adr 0x001F0003 insert begin Device (BUS0)\n {\n Name (_CID, "smbus")\n Name (_ADR, Zero)\n Device (DVL0)\n {\n Name (_ADR, 0x57)\n Name (_CID, "diagsvault")\n Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "address", \n 0x57\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n }\n }\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_all all code_regex Or\s\(0x03,\sPARM\) replaceall_matched begin Or (PARM, 0x03, PARM) end Link to comment https://www.insanelymac.com/forum/topic/267216-ga-965p-ds3p-dsdt-edited/#findComment-1744613 Share on other sites More sharing options...
haris2887 Posted September 6, 2011 Author Share Posted September 6, 2011 Thanks.. That only leaves 1 question.. How do I know what patches to apply ? Link to comment https://www.insanelymac.com/forum/topic/267216-ga-965p-ds3p-dsdt-edited/#findComment-1744960 Share on other sites More sharing options...
MaLd0n Posted September 6, 2011 Share Posted September 6, 2011 you need all patches Link to comment https://www.insanelymac.com/forum/topic/267216-ga-965p-ds3p-dsdt-edited/#findComment-1744983 Share on other sites More sharing options...
haris2887 Posted September 6, 2011 Author Share Posted September 6, 2011 what ? so to confirm I need to apply all patches even for the the hardware that i don't have.. EG GMA950 and Dell M1330 ? just confirming.. EDIT: i just realized this thread http://olarila.com/forum/viewtopic.php?f=22&t=385 Link to comment https://www.insanelymac.com/forum/topic/267216-ga-965p-ds3p-dsdt-edited/#findComment-1745003 Share on other sites More sharing options...
Recommended Posts