baoshi Posted September 5, 2011 Share Posted September 5, 2011 Hi, This is my build: GA-P35-DS3R v1.0 Bios F13 Q6600 4x2GB DDR2 Palit GTX 285 I have followed the installation guide of [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url]+[url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] for 10.6.8 I've tried the DSDT from Tony's site and edit my own using DSDT editor with GA-P35-DS3 patch. My Extra folder contains minimal kexts as FakeSMC, AppleHDA and JM363 stuff. Now each time I click sleep, the PC powers off (no clue if it is sleep or suspend to ram) I try wake up using keyboard or power button, the PC acts like just poweron (POST screen). I'm not sure what's wrong as I found most people are reporting problem of unable to wake up instead of wake up as reboot. Any help will be appreciated. Link to comment https://www.insanelymac.com/forum/topic/267188-ga-p35-ds3r-sleep-shutdown/ Share on other sites More sharing options...
MaLd0n Posted September 5, 2011 Share Posted September 5, 2011 patch 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 _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 0x16, 0x29, 0x00, 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\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 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 device label PWRB code_regex (Name\s\()_HID(\,\sEisaId\s\(\"PNP0C0C\"\)\)) replace_matched begin %1_CID%2 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 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 scope label _SB insert begin Device (MCEH)\n {\n Name (_HID, EisaId ("APP0006"))\n Name (_STA, 0x0B)\n } end; into scope label \_SB insert begin Device (MCEH)\n {\n Name (_HID, EisaId ("APP0006"))\n Name (_STA, 0x0B)\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 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 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 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 Extra folder Extra_MacPro3_1.zip Link to comment https://www.insanelymac.com/forum/topic/267188-ga-p35-ds3r-sleep-shutdown/#findComment-1744470 Share on other sites More sharing options...
baoshi Posted September 5, 2011 Author Share Posted September 5, 2011 Fixed! Unbelievably fast! Thanks. Can explain which section is critical to the fix? Link to comment https://www.insanelymac.com/forum/topic/267188-ga-p35-ds3r-sleep-shutdown/#findComment-1744669 Share on other sites More sharing options...
MaLd0n Posted September 5, 2011 Share Posted September 5, 2011 LPC(AG3E) and _PTS Link to comment https://www.insanelymac.com/forum/topic/267188-ga-p35-ds3r-sleep-shutdown/#findComment-1744695 Share on other sites More sharing options...
Recommended Posts