BadKarma Posted September 11, 2012 Share Posted September 11, 2012 Greetings. I'm currently lost in finding a solution to how to address my current problem with my system immediately Waking From Sleep. Some System Details: MB: EVGA Z68 FTW CPU: Intel i7 2600K OCed 4.2 GHz BIOS A05 DSDT: Patched w/ DTGP, IRQs, SMBUS, HDEF, ACL889, _T_x Rename, Possible Operator Timeout is ignored (Compiles w/ no errors or warnings) Current OS: Mountain Lion 10.8.1 From: Cassio at Olarila.com Quote: If the system goes to sleep and wakes immediately, look for "Wake reason" in kernel log and edit method _PSW or remove _PRW from that device in DSDT. Nelsons-Mac-Pro:~ Nelson$ syslog |grep -i "Wake Reason" Aug 30 09:12:19 Nelsons-Mac-Pro kernel[0] <Debug>: Wake reason: GBE EUSB Aug 30 22:48:20 Nelsons-Mac-Pro kernel[0] <Debug>: Wake reason: GBE EUSB Aug 31 08:26:24 Nelsons-Mac-Pro kernel[0] <Debug>: Wake reason: GBE EUSB Nelsons-Mac-Pro:~ Nelson$ When the system wakes from sleep the following error message appears. "Because a USB device was drawing too much power from your computer, one or more of your USB devices have been disabled. To prevent damaging your computer, the USB device drawing too much power has been disabled. Other devices may have also been disabled. When you disconnect the device drawing too much power, your other USB devices will be enabled again." I have tried the following: Code: ------------------------------------------------------------------------------------- delete from here Method (_PRW, 0, NotSerialized) { Return (GPRW (0x0D, 0x04)) } ------------------------------------------------------------------------------------- to here Still problem with waking from sleep. As Cassio from Olarila.com, suggested Quote: before removing _PRW try applying USB patches (EHCI, UHCI) for your chipset. _PSW edit is to make it always store zero, remove the condition on arg0 http://olarila.com/f...=19&t=301#p2860 I can't locate EHCI or UHCI on my DSDT. My USB seem to show as Device EUSB. When using DSDTSe, I'm able to locate UHCI, but it appears as Device EUSB on my DSDT. I took a look at all the patches and they seem to be directed at "Name (_ADR, 0x001D0007)" my device is listed w/ "Name (_ADR, 0x001D0000)", hence I did not try any of the patches. In regards, to Editing method_PSW I'm confused as how to add this method since the information I found thus far reference Devices as i.e.. USB2,USB3 and such. UxEN, which are not found on my DSDT. http://www.insanlynac.com/forum/inde...entry1533492 Any help would greatly be appreciated. DSDT2.aml.zip Link to comment https://www.insanelymac.com/forum/topic/282722-please-help-dsdt-edit-immediate-wake-from-sleep/ Share on other sites More sharing options...
Rampage Dev Posted September 13, 2012 Share Posted September 13, 2012 Here: DSDT.aml.zip Link to comment https://www.insanelymac.com/forum/topic/282722-please-help-dsdt-edit-immediate-wake-from-sleep/#findComment-1852409 Share on other sites More sharing options...
BadKarma Posted September 13, 2012 Author Share Posted September 13, 2012 Thanks Rampage! I'll test it out, once I get home and let you know. Can you let me know what was changed? Just trying to learn. Thanks again. Rampage Dev .... just got done testing your edited DSDT. The problem still exists. I noticed you removed Method (_PRW, 0, NotSerialized) from Device EUSB. I've actually done that before too, but no joy. Don't know if there were any other edits, but the problem still remains. From Terminal: Last login: Wed Sep 12 21:20:16 on console Nelsons-Mac-Pro:~ Nelson$ syslog |grep -i "Wake Reason" Sep 12 21:20:38 Nelsons-Mac-Pro kernel[0] <Debug>: Wake reason: GBE EUSB Nelsons-Mac-Pro:~ Nelson$ Let me know if you have any other suggestions or let me know what additional information I could provide to help my cause. Thanks again. Link to comment https://www.insanelymac.com/forum/topic/282722-please-help-dsdt-edit-immediate-wake-from-sleep/#findComment-1852414 Share on other sites More sharing options...
Rampage Dev Posted September 13, 2012 Share Posted September 13, 2012 I removed the wak method from each. Not sure why it is still causing sleep issues... I hate sleep on Mac OS X Some times... Link to comment https://www.insanelymac.com/forum/topic/282722-please-help-dsdt-edit-immediate-wake-from-sleep/#findComment-1852415 Share on other sites More sharing options...
BadKarma Posted September 13, 2012 Author Share Posted September 13, 2012 Rampage Dev .... I was just comparing your edited DSDT with the one I attached in my original post, I didn't find WAK method removed. I did a search for "WAK" through both DSDT and nothing was changed in terms of Method WAK. Again I noticed Method PSW was gone from Device EUSB. Not sure if I understand correctly terms used, or simply I'm mistaken. I totally agree w/ you, Sleep and SSDT seem to be the biggest huddles for most people from what I have read and experiencing. Anyways, I do sincerely appreciate you taking the time to assist me. On another note, I visited your blog and planning on submitting my raw DSDT.aml for the EVGA Z68 FTW motherboard. Again, Thanks for all the great work you do. Link to comment https://www.insanelymac.com/forum/topic/282722-please-help-dsdt-edit-immediate-wake-from-sleep/#findComment-1852417 Share on other sites More sharing options...
iFIRE Posted September 13, 2012 Share Posted September 13, 2012 sleep:Proper combination for sleep is: 1) patched HPET, TIMR, RTC, PIC sections 2) patched EHCI/UHCI sections 3) patched AppleLPC kext to match chipset id 4) removed NullCPUPowerManagement, SleepEnabler 5) patched AppleRTC kext to solve CMOS reset after sleep 2 Link to comment https://www.insanelymac.com/forum/topic/282722-please-help-dsdt-edit-immediate-wake-from-sleep/#findComment-1852449 Share on other sites More sharing options...
Bungo Posted March 25, 2013 Share Posted March 25, 2013 ...the problem still remains. From Terminal: Last login: Wed Sep 12 21:20:16 on console Nelsons-Mac-Pro:~ Nelson$ syslog |grep -i "Wake Reason" Sep 12 21:20:38 Nelsons-Mac-Pro kernel[0] <Debug>: Wake reason: GBE EUSB Nelsons-Mac-Pro:~ Nelson$ Let me know if you have any other suggestions or let me know what additional information I could provide to help my cause. Thanks again. Answer is above in your post: Wake reason: GBE. Find Device (GBE) and fix _PRW. You can get this code: Device (GLAN) { Name (_ADR, 0x00190000) Name (_PRW, Package (0x02) { 0x09, 0x04 }) 1 Link to comment https://www.insanelymac.com/forum/topic/282722-please-help-dsdt-edit-immediate-wake-from-sleep/#findComment-1900778 Share on other sites More sharing options...
Mariolillo Posted July 29, 2014 Share Posted July 29, 2014 Answer is above in your post: Wake reason: GBE. Find Device (GBE)and fix _PRW.You can get this code: Device (GLAN) { Name (_ADR, 0x00190000) Name (_PRW, Package (0x02) { 0x09, 0x04 }) Thank you for this! May I ask what exactly 0x09 tells the system to do? I had this before: Name (_PRW, Package (0x02) { 0x0D, 0x04 }) Thank you! Link to comment https://www.insanelymac.com/forum/topic/282722-please-help-dsdt-edit-immediate-wake-from-sleep/#findComment-2046172 Share on other sites More sharing options...
Slice Posted August 26, 2014 Share Posted August 26, 2014 Another reason for wake is EUSB. The property "AAPL,clock-id" is required. Link to comment https://www.insanelymac.com/forum/topic/282722-please-help-dsdt-edit-immediate-wake-from-sleep/#findComment-2055537 Share on other sites More sharing options...
Recommended Posts