TomHsiung Posted May 20, 2015 Share Posted May 20, 2015 My hacks will reboot automatically after several hours of sleep if I turn on Power Nap. The hack just reboots when the wake by RTC happens. As you can see, the wake at 5:15 and 10:36 are missing because the hack reboots automatically at those two time. 5/15/15 1:12:48.000 AM kernel[0]: Wake reason: RTC (Alarm) 5/15/15 2:14:00.000 AM kernel[0]: Wake reason: RTC (Alarm) 5/15/15 3:14:52.000 AM kernel[0]: Wake reason: RTC (Alarm) 5/15/15 4:15:44.000 AM kernel[0]: Wake reason: RTC (Alarm) 5/15/15 6:33:33.000 AM kernel[0]: Wake reason: RTC (Alarm) 5/15/15 7:34:45.000 AM kernel[0]: Wake reason: RTC (Alarm) 5/15/15 8:35:37.000 AM kernel[0]: Wake reason: RTC (Alarm) 5/15/15 9:36:29.000 AM kernel[0]: Wake reason: RTC (Alarm) 5/15/15 11:54:14.000 AM kernel[0]: Wake reason: RTC (Alarm) 5/15/15 12:36:30.000 PM kernel[0]: Wake reason: XHC 5/15/15 12:36:30.000 PM kernel[0]: full wake promotion (reason 1) 0 ms Link to comment Share on other sites More sharing options...
Allan Posted May 20, 2015 Share Posted May 20, 2015 If you use Clover, you can use this: http://clover-wiki.zetam.org/Configuration/KernelAndKextPatches#AppleRTC Link to comment Share on other sites More sharing options...
TomHsiung Posted May 20, 2015 Author Share Posted May 20, 2015 I don't understand.what you meant. Below is my buiding, Gigabyte GA-Z97x-UD3HCPU i7 4790kGraphics Gigabyte GV-N760OC-4GDRAM Kingston DDR3 1600 8GB*2Hard Drive Samsung 840 EVO 120GB Link to comment Share on other sites More sharing options...
Allan Posted May 20, 2015 Share Posted May 20, 2015 Ok. What bootloader are you using? Link to comment Share on other sites More sharing options...
TomHsiung Posted May 20, 2015 Author Share Posted May 20, 2015 Ok. What bootloader are you using? I use Clover and my BIOS is not reset while waking/rebooting. Therefore I do not choose the option of AppleRTC in Clover. Link to comment Share on other sites More sharing options...
Allan Posted May 20, 2015 Share Posted May 20, 2015 Just try use this option to solve your problem, for you use Power Nap: 5/15/15 9:36:29.000 AM kernel[0]: Wake reason: RTC (Alarm) If you want, of course. Link to comment Share on other sites More sharing options...
TomHsiung Posted May 20, 2015 Author Share Posted May 20, 2015 Just try use this option to solve your problem, for you use Power Nap: 5/15/15 9:36:29.000 AM kernel[0]: Wake reason: RTC (Alarm) If you want, of course. Thanks. What does Power Nap look like? Does Power Nap wake the computer every hour that the fan gets power on, and the power light gets on? A detail console record is at here, http://www.tonymacx86.com/yosemite-desktop-support/163801-power-nap-panic-hack-reboots-during-sleep.html Link to comment Share on other sites More sharing options...
Allan Posted May 20, 2015 Share Posted May 20, 2015 Read here: https://support.apple.com/en-us/HT204032 Link to comment Share on other sites More sharing options...
TomHsiung Posted May 20, 2015 Author Share Posted May 20, 2015 Somebody suggested me to uncheck the boot flag of darkwake=1,10.Now I have done this suggestion and rebooted my hack. I saw that every hour after falling asleep the hack's fan would power on. So it is not likely a power nap since the apple says the fan should be off. What's your idea?Note that my hack has two hard drives, one of 120GB SSD and the other of 1TB SATA HDD. Link to comment Share on other sites More sharing options...
Allan Posted May 20, 2015 Share Posted May 20, 2015 Run this command in Terminal, and put the result here: pmset -g | grep hibernatemode Link to comment Share on other sites More sharing options...
TomHsiung Posted May 20, 2015 Author Share Posted May 20, 2015 Run this command in Terminal, and put the result here: pmset -g | grep hibernatemode Thanks for your reply, Allan Here it is, Last login: Wed May 20 17:44:36 on console Toms-iMac:~ tomhsiung$ pmset -g Active Profiles: AC Power -1* Currently in use: standby 1 Sleep On Power Button 1 womp 1 autorestart 0 hibernatefile /var/vm/sleepimage darkwakes 1 networkoversleep 0 disksleep 10 sleep 10 (sleep prevented by coreaudiod, storedownloadd) autopoweroffdelay 14400 hibernatemode 0 autopoweroff 1 ttyskeepawake 1 displaysleep 10 standbydelay 10800 Toms-iMac:~ tomhsiung$ Run this command in Terminal, and put the result here: pmset -g | grep hibernatemode This is the config.plist file, config.plist.zip Link to comment Share on other sites More sharing options...
Allan Posted May 20, 2015 Share Posted May 20, 2015 Try change the hibernate mode to 3, and use Slide=0/or any value. sudo pmset -a hibernatemode 3 And try use OsxAptioFixDrv-64.efi, or use OsxAptioFix2Drv-64.efi Link to comment Share on other sites More sharing options...
TomHsiung Posted May 20, 2015 Author Share Posted May 20, 2015 Try change the hibernate mode to 3, and use Slide=0/or any value. sudo pmset -a hibernatemode 3 And try use OsxAptioFixDrv-64.efi, or use OsxAptioFix2Drv-64.efi 1st, I currently is using OsxAptioFix2Drv-64.efi 2nd, it's a desktop hack, not a laptop hack. I changed the hibernatemode from 3 to 0 couple of days ago. Please check the config.plist file. Tom Link to comment Share on other sites More sharing options...
Allan Posted May 20, 2015 Share Posted May 20, 2015 Power Nap is enabled? I can't edit your config.plist now, because i'm my job. Link to comment Share on other sites More sharing options...
mhaeuser Posted May 20, 2015 Share Posted May 20, 2015 Waking at every hour is indeed Power Nap, Apple says fans stay off for SUPPORTED models. Not sure if Hacks are supported. Link to comment Share on other sites More sharing options...
TomHsiung Posted May 20, 2015 Author Share Posted May 20, 2015 Absolutely, see this screenshot of my hack's system perference. Because I use the smbios of iMac 14,2, mine is a little different from yours. Link to comment Share on other sites More sharing options...
Allan Posted May 20, 2015 Share Posted May 20, 2015 Maybe change the SMBios model can work. Link to comment Share on other sites More sharing options...
TomHsiung Posted May 20, 2015 Author Share Posted May 20, 2015 Waking at every hour is indeed Power Nap, Apple says fans stay off for SUPPORTED models. Not sure if Hacks are supported. Yep, the Apple says during Power Nap the Mac should be silent, if the Mac uses a SSD drive. My OS X is installed on the SSD drive while I have another HDD drive to store data. I search the Internet but I did not find some useful guide for enabling Power Nap on a hack. Link to comment Share on other sites More sharing options...
Allan Posted May 20, 2015 Share Posted May 20, 2015 Read here: http://www.insanelymac.com/forum/topic/299222-is-power-nap-possible-for-hackintosh/ Your power management is 100%? Link to comment Share on other sites More sharing options...
TomHsiung Posted May 20, 2015 Author Share Posted May 20, 2015 Read here: http://www.insanelymac.com/forum/topic/299222-is-power-nap-possible-for-hackintosh/ Your power management is 100%? I believe I had enable the native power management. There is a guide on Tonmymacx86 where there is a tool to generate the SSDT.aml file. Then I put the generated SSDT.aml file into the Clover/ACPI directory. I don't know which boot argument of darkwake I should use. At present my smbios is iMac 14,2. Link to comment Share on other sites More sharing options...
Allan Posted May 20, 2015 Share Posted May 20, 2015 In accordance with this result: 5/15/15 12:36:30.000 PM kernel[0]: Wake reason: XHC You should apply a patch for USB3 in DSDT. Link to comment Share on other sites More sharing options...
TomHsiung Posted May 20, 2015 Author Share Posted May 20, 2015 In accordance with this result: 5/15/15 12:36:30.000 PM kernel[0]: Wake reason: XHC You should apply a patch for USB3 in DSDT. This wake is made by me. I just moved the mouse and the hack woke up and there was a record in the console, the XHC. Link to comment Share on other sites More sharing options...
Allan Posted May 20, 2015 Share Posted May 20, 2015 When the user wakeup the system, the message shows like this: Apr 4 11:08:42 allan kernel[0]: Wake reason: ? (User) Also, you will see this message if Sleep is working propertly: 32:460 0:032 PrepareHibernation: 32:580 0:119 read prefs \Library\Preferences\SystemConfiguration\com.apple.PowerManagement.plist status=Success 32:597 0:017 SleepImage name from pref = \private\var\vm\sleepimage 32:613 0:015 returning previously calculated offset: 32C82A000 32:629 0:015 SleepImageOffset: 32C82A000 32:644 0:015 02 01 0C 00 D0 41 08 0A 00 00 00 00 01 01 06 00 | .....A.......... 33:180 0:535 02 1F 03 12 0A 00 00 00 00 00 00 00 04 04 18 00 | ................ 33:730 0:550 33 00 32 00 43 00 38 00 32 00 41 00 30 00 30 00 | 3.2.C.8.2.A.0.0. 34:262 0:531 30 00 00 00 7F FF 04 00 | 0....... 34:668 0:405 boot-image before: PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0)\32C82A000 Link to comment Share on other sites More sharing options...
TomHsiung Posted May 20, 2015 Author Share Posted May 20, 2015 5/20/15 11:40:35.480 PM com.apple.xpc.launchd[1]: (com.apple.imfoundation.IMRemoteURLConnectionAgent) The _DirtyJetsamMemoryLimit key is not available on this platform.5/20/15 11:42:42.419 PM discoveryd[76]: Basic NATTServer Got control URL: http://192.168.101.254:1900/ipc (ip) 5/20/15 11:50:00.000 PM kernel[0]: AICPUPMI: CPU P-States [ 8 13 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 (40) 41 42 43 44 ] 5/20/15 11:50:35.996 PM WindowServer[169]: device_generate_desktop_screenshot: authw 0x7f8f584d3c40(2000), shield 0x7f8f58618730(2001) 5/20/15 11:50:36.014 PM WindowServer[169]: device_generate_lock_screen_screenshot: authw 0x7f8f584d3c40(2000)[0, 0, 1920, 1080] shield 0x7f8f58618730(2001), dev [1920,1080] 5/20/15 11:50:36.100 PM imagent[351]: <IMMacNotificationCenterManager: 0x7fba91e00860>: notification observer: com.apple.FaceTime notification: __CFNotification 0x7fba93109b60 {name = _NSDoNotDisturbEnabledNotification} 5/20/15 11:50:36.100 PM identityservicesd[339]: <IMMacNotificationCenterManager: 0x7f9202918b00>: notification observer: com.apple.iChat notification: __CFNotification 0x7f920061be80 {name = _NSDoNotDisturbEnabledNotification} 5/20/15 11:50:36.110 PM imagent[351]: <IMMacNotificationCenterManager: 0x7fba91e00860>: NC Disabled: NO 5/20/15 11:50:36.110 PM identityservicesd[339]: <IMMacNotificationCenterManager: 0x7f9202918b00>: NC Disabled: NO 5/20/15 11:50:36.115 PM identityservicesd[339]: <IMMacNotificationCenterManager: 0x7f9202918b00>: DND Enabled: YES 5/20/15 11:50:36.115 PM imagent[351]: <IMMacNotificationCenterManager: 0x7fba91e00860>: DND Enabled: YES 5/20/15 11:50:36.115 PM identityservicesd[339]: <IMMacNotificationCenterManager: 0x7f9202918b00>: Updating enabled: NO (Topics: ( )) 5/20/15 11:50:36.115 PM imagent[351]: <IMMacNotificationCenterManager: 0x7fba91e00860>: Updating enabled: NO (Topics: ( )) 5/20/15 11:50:36.127 PM com.apple.xpc.launchd[1]: (com.apple.xpc.launchd.domain.user.501) Service "com.apple.xpc.launchd.unmanaged.loginwindow.94" tried to hijack endpoint "com.apple.tsm.uiserver" from owner: com.apple.SystemUIServer.agent 5/20/15 11:50:36.127 PM com.apple.xpc.launchd[1]: (com.apple.xpc.launchd.domain.user.501) Service "com.apple.xpc.launchd.unmanaged.loginwindow.94" tried to hijack endpoint "com.apple.tsm.uiserver" from owner: com.apple.SystemUIServer.agent 5/20/15 11:50:55.961 PM loginwindow[94]: CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces. 5/20/15 11:51:21.437 PM com.apple.iCloudHelper[1193]: objc[1193]: Class FALogging is implemented in both /System/Library/PrivateFrameworks/FamilyCircle.framework/Versions/A/FamilyCircle and /System/Library/PrivateFrameworks/FamilyNotification.framework/Versions/A/FamilyNotification. One of the two will be used. Which one is undefined. 5/20/15 11:51:21.441 PM com.apple.xpc.launchd[1]: (com.apple.imfoundation.IMRemoteURLConnectionAgent) The _DirtyJetsamMemoryLimit key is not available on this platform. 5/20/15 11:51:35.938 PM watchdogd[372]: [watchdog_daemon] @( pm_callback) - ref=0x0 msg_type=0xe0000270 msg=0x510025 5/20/15 11:51:35.939 PM coreaudiod[310]: 2015-05-20 11:51:35.938732 PM [AirPlay] Power: SystemWillSleep 5/20/15 11:51:35.939 PM watchdogd[372]: [watchdog_daemon] @( pm_callback) - ref=0x0 msg_type=0xe0000280 msg=0x520024 5/20/15 11:51:35.939 PM coreaudiod[310]: 2015-05-20 11:51:35.938819 PM [AirPlay] BTLE client stopping to browse for AirPlay Solo Target Presence. 5/20/15 11:51:35.939 PM watchdogd[372]: [watchdog_daemon] @( wd_daemon_thread) - events buffer: 11r2522 145s2522 181r6068 521s6068 692r13671 11077s13671 5/20/15 11:51:35.939 PM coreaudiod[310]: 2015-05-20 11:51:35.938935 PM [AirPlay] BTLE discovery removing all devices 5/20/15 11:51:35.939 PM discoveryd[76]: Basic DNSResolver UDNSServer:: PowerState is DarkWake 5/20/15 11:51:35.939 PM coreaudiod[310]: 2015-05-20 11:51:35.939403 PM [AirPlay] BTLE client stopped to browse for AirPlay Solo Target Presence. 5/20/15 11:51:36.000 PM kernel[0]: PM response took 131 ms (1082, QQ) 5/20/15 11:51:36.000 PM kernel[0]: PM response took 133 ms (1082, QQ) 5/20/15 11:51:50.941 PM discoveryd[76]: Basic BTMMServer Sleep offload failed. Start deregistering 5/20/15 11:51:54.000 PM kernel[0]: PM response took 3148 ms (50, powerd) 5/20/15 11:51:54.000 PM kernel[0]: [0xdf480b000, 0x40000000] 5/20/15 11:51:54.000 PM kernel[0]: [0xe3480b000, 0x40000000] 5/20/15 11:51:54.000 PM kernel[0]: [0x0, 0x0] 5/20/15 11:51:54.804 PM discoveryd[76]: Basic Bonjour,Warn Warning: IPv4 listener multicast send failed en0, 50 5/20/15 11:51:54.804 PM discoveryd[76]: Basic Bonjour,Warn Warning: IPv6 listener multicast send failed en0, 50 5/21/15 12:17:37.000 AM kernel[0]: Wake reason: XHC 5/21/15 12:17:37.000 AM discoveryd[76]: Basic Bonjour,Warn Warning: IPv4 listener multicast send failed en0, 50 5/21/15 12:17:37.001 AM discoveryd[76]: Basic Bonjour,Warn Warning: IPv6 listener multicast send failed en0, 50 5/21/15 12:17:37.000 AM kernel[0]: RTC: PowerByCalendarDate setting ignored 5/21/15 12:17:37.000 AM kernel[0]: Previous sleep cause: 5 5/21/15 12:17:37.002 AM discoveryd[76]: Basic DNSResolver UDNSServer:: PowerState is DarkWake 5/21/15 12:17:37.000 AM kernel[0]: The USB device Rapoo 2.4G Wireless Device (Port 10 of Hub at 0x14000000) may have caused a wake by issuing a remote wakeup (2) 5/21/15 12:17:37.000 AM kernel[0]: full wake promotion (reason 1) 4 ms 5/21/15 12:17:37.004 AM watchdogd[372]: [watchdog_daemon] @( pm_callback) - ref=0x0 msg_type=0xe0000320 msg=0x0 See this 5/21/15 12:17:37.000 AM kernel[0]: The USB device Rapoo 2.4G Wireless Device (Port 10 of Hub at 0x14000000) may have caused a wake by issuing a remote wakeup (2) 5/21/15 12:17:37.000 AM kernel[0]: full wake promotion (reason 1) 4 ms Link to comment Share on other sites More sharing options...
Allan Posted May 20, 2015 Share Posted May 20, 2015 These values have nothing to do with what I showed! You really need fix your power management, like USB ports in DSDT, and another patches. Proof: 5/21/15 12:17:37.000 AM kernel[0]: Wake reason: XHC Link to comment Share on other sites More sharing options...
Recommended Posts