Contribute
Register

darkwake flag has no apparent effect

Status
Not open for further replies.
Joined
Jan 13, 2010
Messages
20
Motherboard
Gigabyte GA-P55M-UD2
CPU
Core i5-750
Graphics
GeForce 9400 GT
Mac
  1. MacBook Pro
  2. Mac mini
  3. Mac Pro
Classic Mac
  1. PowerBook
Mobile Phone
  1. Android
  2. iOS
Hi all, I recently updated my old 10.7 rig to 10.8.4 with a fresh install (specs at end). Everything went off without a hitch, used to Multibeast to apply the DSDT for my mobo, install audio (ALC888b/887, with DSDT, Legacy), install Ethernet (Lnx2Mac's RealtekRTL81xx), and install the SATA drives so my drives appear internal.

So came time to tackle the sleep issue - I thought auto-sleep was broken but apparently have to wait another 1-2 minutes after display sleep for the system to sleep...I'm okay with that.

Darkwake on the other hand, I could not fix. I prefer to wake up my system with a WOL magic packet, because it may be a few days between when I need to access remotely or need to access via WAN. But I tried all possible darkwake flags I've read about (no, 0, 8, 10) and it has no apparent effect on the system - after auto-sleep or manual sleep, it will still wake itself up every ~2 minutes (spinning up the fans and HDDs), and go back to sleep after ~30 seconds, and repeat. I also tried adding the darkwake flag to /Library/Preferences/SystemConfiguration/com.apple.Boot.plist (I first tried only /Extra/org.chameleon.Boot.plist).

Anyone have advice or guidance on the situation?


Mobo: Gigabyte P55M-UD2 (F11 bios)
CPU: Core i5 (don't remember specific model, 750 maybe? definitely 1st gen) @ 2.8GHz
HDDs: Western Digital (1-640GB for OS X, 1-1000TB for Win7/8)
Optical drive: Optiarc DVD RW AD-7260S (because I recall some DVD drives affected sleep a while ago)
If you need anymore info, ask
 
Have you checked your console log to see what it is that is waking the system?
 
The wake reason is "RTC (Alarm)"

Also, here's the output from "pmset -g log"
Code:
9/18/13 1:58:57 PM EDT   Sleep               	Software Sleep Sleep: Using AC                                             	84 secs
9/18/13 1:58:57 PM EDT   SlowResponse        	Kernel: Response from powerd is slow                                       	          	16000 ms
9/18/13 1:58:57 PM EDT   Assertions          	PID 73(apsd) Released ApplePushServiceTask "com.apple.apsd-waitingformessages-push.apple.com" 00:00:41  id:0xc00000181 Aggregate:0x1040
9/18/13 1:58:57 PM EDT   WakeRequests        	Clients requested wake events: [proc=mDNSResponder request=Maintenance inDelta=70]
9/18/13 1:58:57 PM EDT   WakeRequests        	PM scheduled RTC wake event: MaintenanceImmediate inDelta=70.00
9/18/13 2:00:21 PM EDT   DarkWake            	DarkWake due to RTC/Maintenance: Using AC                                  	0 secs
9/18/13 2:00:21 PM EDT   Sleep               	Maintenance Sleep Sleep: Using AC                                          	124 secs
9/18/13 2:00:25 PM EDT   Assertions          	PID 17(powerd) Created BackgroundTask "Powerd - Wait for client BackgroundTask assertions" 00:00:04  id:0xc00000196 Aggregate:0x1040
9/18/13 2:00:31 PM EDT   Assertions          	PID 17(powerd) TimedOut BackgroundTask "Powerd - Wait for client BackgroundTask assertions" 00:00:10  id:0xc00000196 Aggregate:0x1040
9/18/13 2:00:31 PM EDT   Assertions          	PID 17(powerd) Released BackgroundTask "Powerd - Wait for client BackgroundTask assertions" 00:00:10  id:0xc00000196 Aggregate:0x1040
9/18/13 2:00:31 PM EDT   Assertions          	Summary- Aggregate:0x40 Using AC
9/18/13 2:00:37 PM EDT   SlowResponse        	PMConnection: Response from mDNSResponder is slow (powercaps:0x0)          	          	15999 ms
9/18/13 2:00:37 PM EDT   WakeRequests        	Clients requested wake events: [proc=mDNSResponder request=Maintenance inDelta=94]
9/18/13 2:00:37 PM EDT   WakeRequests        	PM scheduled RTC wake event: MaintenanceImmediate inDelta=94.00
9/18/13 2:02:25 PM EDT   DarkWake            	DarkWake due to RTC/Maintenance: Using AC                                  	0 secs
9/18/13 2:02:25 PM EDT   Sleep               	Maintenance Sleep Sleep: Using AC                                          	124 secs
9/18/13 2:02:25 PM EDT   SlowResponse        	Kernel: Response from powerd is slow                                       	          	16002 ms
9/18/13 2:02:33 PM EDT   Assertions          	PID 17(powerd) Created BackgroundTask "Powerd - Wait for client BackgroundTask assertions" 00:00:07  id:0xc000001a1 Aggregate:0x1040
9/18/13 2:02:35 PM EDT   Assertions          	PID 17(powerd) TimedOut BackgroundTask "Powerd - Wait for client BackgroundTask assertions" 00:00:10  id:0xc000001a1 Aggregate:0x1040
9/18/13 2:02:35 PM EDT   Assertions          	PID 17(powerd) Released BackgroundTask "Powerd - Wait for client BackgroundTask assertions" 00:00:10  id:0xc000001a1 Aggregate:0x1040
9/18/13 2:02:35 PM EDT   Assertions          	Summary- Aggregate:0x40 Using AC
9/18/13 2:02:41 PM EDT   SlowResponse        	PMConnection: Response from mDNSResponder is slow (powercaps:0x0)          	          	15998 ms
9/18/13 2:02:41 PM EDT   WakeRequests        	Clients requested wake events: [proc=mDNSResponder request=Maintenance inDelta=94]
9/18/13 2:02:41 PM EDT   WakeRequests        	PM scheduled RTC wake event: MaintenanceImmediate inDelta=94.00
...and it just repeats every two minutes
 
I just want to add, if I disable all services in the Sharing panel of System Preferences, then it doesn't wake up every two minutes. I suspect that is by design, but defeats the purpose of what I'm trying to accomplish.

Also, further reading online (I thought I read it all yesterday) revealed that a Mac is supposed to "darkwake" every two hours to re-register with the network, but my Hackintosh and my real Mac Mini (running Lion, with darkwake=0 in Boot.plist) both wake up every two minutes (perhaps because I don't use an Apple router?)
 
Status
Not open for further replies.
Back
Top