Contribute
Register

[SOLVED] PC wakes up seconds after sleeping (IODisplayWrangler?)

Joined
Aug 26, 2017
Messages
3
Motherboard
Asus PRIME Z370-A
CPU
i7-8700K
Graphics
UHD 630
Mac
  1. iMac
Mobile Phone
  1. iOS
**SOLVED: Turns out the H100i USB connector was the cause of the problem. As soon as I disconnected it, the PC slept fine. Original post below.**

Hello,

My system is waking up two seconds after it goes to sleep via
Code:
pmset sleepnow
. I've disconnected all cords/inputs except the USB connection to the CPU cooler (H100i v2) and my computer does not have hardware for WiFi or Bluetooth. In addition, I made sure via Activity Monitor that no processes were "Preventing Sleep" and disabled mDNSResponder.

The relevant lines of
Code:
pmset -g log
are pasted below. I see that IODisplayWrangler may be the culprit here but was unable to find anything useful when researching what it was. Any suggestions? Thank you in advance for your help; let me know if you need additional information.

Code:
Time stamp                Domain              Message                                                                    Duration  Delay
==========                ======              =======                                                                    ========  =====
UUID: ADC311CE-2D19-49BD-8FA4-57A0C8066CE5
2017-09-03 20:30:00 -0700 Sleep               Entering Sleep state due to 'Software Sleep pid=1725':TCPKeepAlive=active Using AC 23 secs
2017-09-03 20:30:09 -0700 Wake Requests       [proc=UserEventAgent request=SleepService inDelta=18890 info="AppRefresh:com.apple.apsd.apprefresh,BGTask:com.apple.coreduetd.knowledge,"] [*proc=UserEventAgent request=TimerPlugin inDelta=7382 info="AppRefresh:com.apple.apsd.apprefresh,BGTask:com.apple.coreduetd.knowledge,"] [proc=UserEventAgent request=TimerPlugin inDelta=10991 info="BGTask:com.apple.photoanalysisd.backgroundanalysis,"]     
2017-09-03 20:30:09 -0700 PM Client Acks      Delays to Sleep notifications: [com.apple.apsd is slow(9037 ms)]
2017-09-03 20:30:21 -0700 Kernel Client Acks  Delays to Sleep notifications: [CodecCommanderPowerHook driver is slow(msg: SetState to 0)(302 ms)] [AppleHDADriver driver is slow(msg: SetState to 0)(1028 ms)] [powerd is slow(9039 ms)] [en0 driver is slow(msg: WillChangeState to 0)(5290 ms)]       
2017-09-03 20:30:23 -0700 Assertions          PID 46(powerd) Created InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:00  id:0x0xd000088dd [System: DeclUser SRPrevSleep kCPU kDisp]      
2017-09-03 20:30:23 -0700 com.apple.sleepservices.sessionStarted SleepService: window begins with cap time=86400 secs
2017-09-03 20:30:23 -0700 DarkWake            DarkWake from Normal Sleep [CDNP] due to XDCI XHC/: Using AC 3 secs
2017-09-03 20:30:23 -0700 HibernateStats      hibmode=0 standbydelay=10800                                                         36    
2017-09-03 20:30:23 -0700 Kernel Client Acks  Delays to Wake notifications: [en0 driver is slow(msg: DidChangeState to 1)(838 ms)] [PRT1 driver is slow(msg: SetState to 2)(1182 ms)] [PRT5 driver is slow(msg: SetState to 2)(1182 ms)] [PRT4 driver is slow(msg: SetState to 2)(1184 ms)] [PRT3 driver is slow(msg: SetState to 2)(1185 ms)] [NVDA driver is slow(msg: SetState to 1)(496 ms)] [CodecCommander driver is slow(msg: SetState to 2)(523 ms)]       
2017-09-03 20:30:23 -0700 Assertions          PID 46(powerd) Created InternalPreventSleep "com.apple.powermanagement.acwakelinger" 00:00:00  id:0x0xd000088df [System: DeclUser PushSrvc SRPrevSleep kCPU kDisp]      
2017-09-03 20:30:24 -0700 Assertions          PID 97(hidd) TurnedOn UserIsActive "com.apple.iohideventsystem.queue.tickle.4294970932.3" 00:38:28  id:0x0x900008667 [System: DeclUser PushSrvc SRPrevSleep IPushSrvc kCPU kDisp]      
2017-09-03 20:30:24 -0700 Assertions          Kernel Idle sleep preventers: IODisplayWrangler      
2017-09-03 20:30:24 -0700 Assertions          PID 46(powerd) CapExpired ApplePushServiceTask "Powerd - Wait for client pushService assertions" 00:00:01  id:0x0xa000088de [System: DeclUser PushSrvc SRPrevSleep IPushSrvc kCPU kDisp]      
2017-09-03 20:30:24 -0700 com.apple.sleepservices.sessionTerminated SleepService: window has terminated.
2017-09-03 20:30:24 -0700 Notification        Display is turned on                                                              
2017-09-03 20:30:26 -0700 Wake                DarkWake to FullWake from Normal Sleep [CDNVA] due to UserActivity Assertion: Using AC       
2017-09-03 20:30:26 -0700 HibernateStats      hibmode=0 standbydelay=10800                                                         36    
2017-09-03 20:30:26 -0700 Kernel Client Acks  Delays to Wake notifications: [AppleHDADriver driver is slow(msg: SetState to 1)(410 ms)] [AppleHDADriver driver is slow(msg: SetState to 1)(1526 ms)]       
2017-09-03 20:30:36 -0700 Assertions          PID 46(powerd) Released InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:12  id:0x0xd000088dd [System: DeclUser SRPrevSleep IPushSrvc kCPU kDisp]      

Total Sleep/Wakes since boot at 2017-09-03 18:33:10 -0700 :17

2017-09-03 20:31:04 -0700 : Showing all currently held IOKit power assertions
Assertion status system-wide:
   BackgroundTask                 0
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    0
   InteractivePushServiceTask     1
   PreventSystemSleep             0
   ExternalMedia                  0
   PreventUserIdleSystemSleep     0
   NetworkClientActive            0
   InternalPreventSleep           1
Listed by owning process:
   pid 78(apsd): [0x00001b4d001288f9] 00:00:04 InteractivePushServiceTask named: "com.apple.apsd-connectionestablish-push.apple.com"
Timeout will fire in 86396 secs Action=TimeoutActionTurnOff
   pid 78(apsd): [0x00001b4e001288fa] 00:00:02 InteractivePushServiceTask named: "com.apple.apsd-connectionestablish-sandbox.push.apple.com"
Timeout will fire in 86397 secs Action=TimeoutActionTurnOff
   pid 97(hidd): [0x0000123300098667] 00:39:08 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294970932.3"
Timeout will fire in 118 secs Action=TimeoutActionRelease
   pid 46(powerd): [0x00001b28000d88df] 00:00:41 InternalPreventSleep named: "com.apple.powermanagement.acwakelinger"
Timeout will fire in 4 secs Action=TimeoutActionRelease
Kernel Assertions: 0x104=USB,MAGICWAKE
   id=519  level=255 0x100=MAGICWAKE mod=9/3/17, 20:41 description=en0 owner=en0
   id=525  level=255 0x4=USB mod=12/31/69, 16:00 description=com.apple.usb.externaldevice.14d00000 owner=H100i v2
   id=526  level=255 0x4=USB mod=12/31/69, 16:00 description=com.apple.usb.externaldevice.14400000 owner=USB Receiver
   id=527  level=255 0x4=USB mod=12/31/69, 16:00 description=com.apple.usb.externaldevice.14300000 owner=Sensei Raw Gaming Mouse
Idle sleep preventers: IODisplayWrangler
 
Last edited:
Joined
Mar 1, 2014
Messages
9
Motherboard
Z170X-Gaming 7
CPU
i7-6700K
Graphics
HD-530 / GTX 1080
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
I have a similar issue with my computer waking up second after sleep.... when I boot into windows I do not have that issue only under Sierra.
How did you fix it?
 
Joined
Mar 21, 2019
Messages
74
Motherboard
Gigabyte Z390 Designare
CPU
i9-9900K
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
Hey @usandfriends what does that USB connector provide? Is the H100i still operational with out it?
 
Top