@pastrychef your build says Power Nap is working, did you have to do anything specific? dark wake=? wake from network on/off? any:
sudo pmset -a hibernate mode 0
sudo pmset -a standby 0
sudo pmset -a disksleep 0?
trying to get my power nap to work, and so far no luck, with it enabled my pc is waking up "fully" at random times and log shows its caused by RTC alarm.
As I have been facing the same problem since I put my build together, can you confirm which message and log file showed the RTC alarm you referred to?
In my case, I have generated the ssdt, upgraded to the latest clover v4558.
Details of my build are here.
Without doing anything special from a command line perspective, the build goes to sleep which turns off the fans. Wakes are not so random as I never got the system to sleep for hours like I did on my previous builds (other hardware though but just saying I know it should work).
Overnight, it looks like the system woke up shortly after midnight and then I am not sure how to interpret what happened around 2:12am.
See messages from powermanagement logs:
Code:
23:38:36.430121 -0400 powerd Display is turned off
23:38:36.430158 -0400 powerd [System: DeclUser kDisp]
23:38:36.436278 -0400 powerd [System: PrevIdle DeclUser kDisp]
23:38:36.439394 -0400 powerd Kernel Idle sleep preventers: -None-
23:38:36.441281 -0400 powerd [System: PrevIdle DeclUser SRPrevSleep kCPU kDisp]
23:38:36.694091 -0400 powerd [System: PrevIdle DeclUser SRPrevSleep kCPU kDisp]
23:38:36.944175 -0400 powerd [System: PrevIdle DeclUser SRPrevSleep kCPU kDisp]
23:38:51.451447 -0400 powerd [System: DeclUser SRPrevSleep kCPU kDisp]
23:38:51.474860 -0400 powerd Entering Sleep state due to 'Software Sleep pid=88':TCPKeepAlive=inactive
I go to sleep as well as a human being
Then a few minutes later, at 00:10:26.185906 the RTC/Maintenance message, not sure if it is the same as yours:
Code:
00:10:23.938599 -0400 powerd
00:10:23.938599 -0400 powerd
00:10:23.938599 -0400 powerd
00:10:23.938599 -0400 powerd
00:10:23.938599 -0400 powerd
00:10:23.938599 -0400 powerd
00:10:23.938599 -0400 powerd
00:10:24.026782 -0400 powerd [System: DeclUser SRPrevSleep kCPU kDisp]
00:10:26.034131 -0400 powerd [System: DeclUser kDisp]
00:10:26.185706 -0400 powerd SleepService: window begins with cap time=86400 secs
00:10:26.185906 -0400 powerd DarkWake from Normal Sleep [CDNPB] due to RTC/Maintenance:
00:10:26.185984 -0400 powerd hibmode=0 standbydelay=10800
00:10:26.187205 -0400 powerd
00:10:26.187301 -0400 powerd [System: DeclUser BGTask kCPU kDisp]
00:10:26.187350 -0400 powerd [System: DeclUser BGTask kCPU kDisp]
00:10:26.187429 -0400 powerd [System: DeclUser PushSrvc BGTask SRPrevSleep kCPU kDisp]
00:10:26.267212 -0400 powerd [System: DeclUser PushSrvc BGTask SRPrevSleep kCPU kDisp]
00:10:26.295691 -0400 powerd [System: DeclUser PushSrvc BGTask SRPrevSleep kCPU kDisp]
00:10:26.311490 -0400 powerd [System: DeclUser PushSrvc BGTask SRPrevSleep kCPU kDisp]
00:10:26.313602 -0400 powerd [System: DeclUser PushSrvc BGTask SRPrevSleep kCPU kDisp]
00:10:30.298718 -0400 powerd [System: DeclUser PushSrvc BGTask SRPrevSleep kCPU kDisp]
00:10:31.728358 -0400 powerd [System: DeclUser PushSrvc BGTask SRPrevSleep kCPU kDisp]
00:10:36.186658 -0400 powerd [System: DeclUser PushSrvc BGTask SRPrevSleep kCPU kDisp]
00:10:36.186715 -0400 powerd Summary- [System: DeclUser PushSrvc SRPrevSleep kCPU kDisp] Using AC
00:10:36.187966 -0400 powerd [System: DeclUser PushSrvc SRPrevSleep kCPU kDisp]
00:10:36.188070 -0400 powerd SleepService: window has terminated.
00:10:37.352894 -0400 powerd [System: DeclUser BGTask SRPrevSleep kCPU kDisp]
00:10:37.354504 -0400 powerd [System: DeclUser SRPrevSleep kCPU kDisp]
00:10:48.231169 -0400 powerd [System: DeclUser BGTask SRPrevSleep kCPU kDisp]
00:10:48.233367 -0400 powerd [System: DeclUser SRPrevSleep kCPU kDisp]
00:10:50.684317 -0400 powerd [System: DeclUser BGTask SRPrevSleep kCPU kDisp]
00:10:52.085257 -0400 powerd [System: DeclUser SRPrevSleep kCPU kDisp]
00:10:59.271527 -0400 powerd [System: DeclUser BGTask SRPrevSleep kCPU kDisp]
00:10:59.273878 -0400 powerd [System: DeclUser SRPrevSleep kCPU kDisp]
00:11:11.197560 -0400 powerd [System: DeclUser SRPrevSleep kCPU kDisp]
00:11:11.197694 -0400 powerd Summary- [System: DeclUser kDisp] Using AC
00:11:11.221036 -0400 powerd Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=inactive
And finally the section that I have no clear understanding on the way to interpret except that it looks like the system woke up, sleep failed and he whole system restarted which is confirmed by an uptime of 6hours and 27 minutes at 8:30am in the morning while I am writing:
Code:
00:11:13.033206 -0400 powerd
02:12:00.514648 -0400 powerd hibmode=0 standbydelay=0
02:12:00.514680 -0400 powerd Sleep Failure [code:0xFFFFFFFF0400001F]:
02:12:00.677663 -0400 powerd powerd process is started
02:12:00.678023 -0400 powerd Summary- [System: No Assertions] Using AC
02:12:01.284860 -0400 powerd Kernel Idle sleep preventers: IODisplayWrangler
02:14:08.418576 -0400 powerd [System: No Assertions]
02:14:08.418643 -0400 powerd [System: No Assertions]
02:14:11.179926 -0400 powerd [System: No Assertions]
02:15:56.456548 -0400 powerd [System: No Assertions]
02:21:48.255776 -0400 powerd Display is turned off
02:22:02.258190 -0400 powerd Kernel Idle sleep preventers: -None-
02:24:15.043108 -0400 powerd [System: No Assertions]
02:24:47.167636 -0400 powerd [System: No Assertions]
02:30:45.898729 -0400 powerd [System: No Assertions]
02:31:18.053885 -0400 powerd [System: No Assertions]
02:37:16.805333 -0400 powerd [System: No Assertions]
02:37:48.932287 -0400 powerd [System: No Assertions]
02:43:47.574377 -0400 powerd [System: No Assertions]
02:44:19.732774 -0400 powerd [System: No Assertions]
02:50:18.515645 -0400 powerd [System: No Assertions]
02:50:50.693152 -0400 powerd [System: No Assertions]
02:56:49.788314 -0400 powerd [System: No Assertions]
02:57:21.999228 -0400 powerd [System: No Assertions]
03:03:20.960896 -0400 powerd [System: No Assertions]
03:03:53.005384 -0400 powerd [System: No Assertions]
03:09:51.933283 -0400 powerd [System: No Assertions]
03:10:24.140257 -0400 powerd [System: No Assertions]
03:14:12.299516 -0400 powerd [System: No Assertions]
03:14:12.299567 -0400 powerd [System: No Assertions]
03:15:33.179225 -0400 powerd [System: No Assertions]
03:16:05.390175 -0400 powerd [System: No Assertions]
03:22:04.268702 -0400 powerd [System: No Assertions]
03:22:36.373501 -0400 powerd [System: No Assertions]
03:28:35.307556 -0400 powerd [System: No Assertions]
03:29:07.518741 -0400 powerd [System: No Assertions]
03:35:06.496817 -0400 powerd [System: No Assertions]
03:35:38.691389 -0400 powerd [System: No Assertions]
03:41:37.585989 -0400 powerd [System: No Assertions]
03:42:09.597039 -0400 powerd [System: No Assertions]
03:48:08.608383 -0400 powerd [System: No Assertions]
03:48:40.652882 -0400 powerd [System: No Assertions]
03:54:39.280523 -0400 powerd [System: No Assertions]
03:55:11.324997 -0400 powerd [System: No Assertions]
04:01:10.369703 -0400 powerd [System: No Assertions]
04:01:42.547633 -0400 powerd [System: No Assertions]
04:07:41.292124 -0400 powerd [System: No Assertions]
04:08:13.503368 -0400 powerd [System: No Assertions]
04:13:22.271431 -0400 powerd [System: No Assertions]
04:13:54.328883 -0400 powerd [System: No Assertions]
04:14:53.506123 -0400 powerd [System: No Assertions]
04:14:53.506180 -0400 powerd [System: No Assertions]
04:19:52.592960 -0400 powerd [System: No Assertions]
04:20:24.604070 -0400 powerd [System: No Assertions]
04:26:23.665449 -0400 powerd [System: No Assertions]
04:26:55.843402 -0400 powerd [System: No Assertions]
04:32:54.254180 -0400 powerd [System: No Assertions]
04:33:26.431771 -0400 powerd [System: No Assertions]
04:39:25.510172 -0400 powerd [System: No Assertions]
04:39:57.513872 -0400 powerd [System: No Assertions]
04:45:56.315765 -0400 powerd [System: No Assertions]
04:46:28.526664 -0400 powerd [System: No Assertions]
04:52:27.376050 -0400 powerd [System: No Assertions]
04:52:59.566184 -0400 powerd [System: No Assertions]
04:58:58.627569 -0400 powerd [System: No Assertions]
04:58:59.633782 -0400 powerd [System: No Assertions]
04:59:30.753037 -0400 powerd [System: No Assertions]
05:05:29.033092 -0400 powerd [System: No Assertions]
05:06:01.177405 -0400 powerd [System: No Assertions]
05:12:00.255393 -0400 powerd [System: No Assertions]
05:12:32.399975 -0400 powerd [System: No Assertions]
05:18:31.344606 -0400 powerd [System: No Assertions]
05:19:03.389065 -0400 powerd [System: No Assertions]
05:20:02.619607 -0400 powerd [System: No Assertions]
05:20:02.619668 -0400 powerd [System: No Assertions]
05:25:02.216921 -0400 powerd [System: No Assertions]
05:25:34.373789 -0400 powerd [System: No Assertions]
05:31:33.334068 -0400 powerd [System: No Assertions]
05:32:05.544651 -0400 powerd [System: No Assertions]
05:38:04.528804 -0400 powerd [System: No Assertions]
05:38:36.573211 -0400 powerd [System: No Assertions]
05:44:35.551178 -0400 powerd [System: No Assertions]
05:45:07.562384 -0400 powerd [System: No Assertions]
05:51:06.623611 -0400 powerd [System: No Assertions]
05:51:38.651402 -0400 powerd [System: No Assertions]
05:57:37.696100 -0400 powerd [System: No Assertions]
05:58:09.890703 -0400 powerd [System: No Assertions]
06:04:08.351563 -0400 powerd [System: No Assertions]
06:04:40.362681 -0400 powerd [System: No Assertions]
06:10:39.390692 -0400 powerd [System: No Assertions]
06:11:11.570211 -0400 powerd [System: No Assertions]
06:16:20.453153 -0400 powerd [System: No Assertions]
06:16:52.464267 -0400 powerd [System: No Assertions]
06:17:51.722122 -0400 powerd [System: No Assertions]
06:17:51.722178 -0400 powerd [System: No Assertions]
06:22:51.372876 -0400 powerd [System: No Assertions]
06:23:23.503449 -0400 powerd [System: No Assertions]
06:29:22.364597 -0400 powerd [System: No Assertions]
06:29:54.454017 -0400 powerd [System: No Assertions]
06:35:53.153546 -0400 powerd [System: No Assertions]
06:36:25.264744 -0400 powerd [System: No Assertions]
06:42:24.059173 -0400 powerd [System: No Assertions]
06:42:56.203809 -0400 powerd [System: No Assertions]
06:48:54.945106 -0400 powerd [System: No Assertions]
06:49:27.092757 -0400 powerd [System: No Assertions]
06:55:26.154123 -0400 powerd [System: No Assertions]
06:55:58.365464 -0400 powerd [System: No Assertions]
07:01:57.076486 -0400 powerd [System: No Assertions]
07:02:29.154355 -0400 powerd [System: No Assertions]
07:08:28.015523 -0400 powerd [System: No Assertions]
07:09:00.154693 -0400 powerd [System: No Assertions]
07:14:58.754719 -0400 powerd [System: No Assertions]
07:15:30.932312 -0400 powerd [System: No Assertions]
07:16:29.951672 -0400 powerd [System: No Assertions]
07:16:29.951761 -0400 powerd [System: No Assertions]
07:21:29.910298 -0400 powerd [System: No Assertions]
07:22:01.954787 -0400 powerd [System: No Assertions]
07:28:00.966151 -0400 powerd [System: No Assertions]
07:28:33.054253 -0400 powerd [System: No Assertions]
07:34:31.721662 -0400 powerd [System: No Assertions]
07:35:03.813104 -0400 powerd [System: No Assertions]
07:41:02.774401 -0400 powerd [System: No Assertions]
07:41:34.985345 -0400 powerd [System: No Assertions]
07:47:33.766587 -0400 powerd [System: No Assertions]
07:48:05.977489 -0400 powerd [System: No Assertions]
07:49:56.086639 -0400 powerd [System: DeclUser kDisp]
07:49:56.086843 -0400 powerd Kernel Idle sleep preventers: IODisplayWrangler
07:49:56.086982 -0400 powerd Display is turned on
07:49:59.525513 -0400 powerd [System: DeclUser kDisp]
The system did not have to wake up at 7:49 as only the display was off when I got to access it.
On the USB front, I have an Apple USB wired Keyboard connected to a non-powered 4-port ANKER USB3 hub. The Apple Keyboard has the logitech USB dongle on it for the MX1000 I use.
I had also a 2013 Nexus 7 tablet charging from the ANKER USB3 hub. I will disconnect the table and do further testing.
The ANKER USB3 hub is connected to HS06/SS06.
Just noticed the update of the 20th of June from Pastrychef on the first post. I will apply the same and report if there is any difference in the behaviour while asleep.