Sleep issue with MacBook Pro Touch Bar
Hello, I have an issue with a MBP 2016 with TB. It doesn't stay in sleep. I reinstalled from scratch without any additional software installed. Standard power settings. Power disconnected. Everything disconnected. It doesn't stay in sleep:
From system.log goes in sleep:
Jan 2 22:06:51 MacBook-Pro logd[40]: Flushing contents to disk due to sleep event
Jan 2 22:06:52 MacBook-Pro com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
Jan 2 22:07:06 MacBook-Pro eoshostd[169]: BUG in libdispatch client: kevent[EVFILT_READ] monitored resource vanished before the source cancel handler was invoked
But:
Jan 3 00:07:06 MacBook-Pro WindowServer[116]: 8658.830 [DFR] ERR [_DFRDisplayUsbRecvComplete] failed 0xe00002ed
Jan 3 00:07:06 MacBook-Pro WindowServer[116]: 8658.835 [DFR] [deviceTerminate]
Jan 3 00:07:06 MacBook-Pro WindowServer[116]: 8658.835 [DFR] [_DFRDisplayDeviceRemoved]
Jan 3 00:07:06 MacBook-Pro WindowServer[116]: 8658.835 [DFR] [___DFRDisplayDeviceRemoved_block_invoke] calling client detach callback
Jan 3 00:07:06 MacBook-Pro WindowServer[116]: 8658.835 [DFR] [_DFRDisplayClose]
Jan 3 00:07:06 MacBook-Pro SystemUIServer[829]: BUG in libdispatch client: kevent[EVFILT_MACHPORT] monitored resource vanished before the source cancel handler was invoked
Jan 3 00:07:06 MacBook-Pro WindowServer[116]: 8658.868 [DFR] [deviceMatch]
Jan 3 00:07:06 MacBook-Pro WindowServer[116]: 8658.868 [DFR] [_DFRDisplayDeviceAdded]
Jan 3 00:07:06 MacBook-Pro WindowServer[116]: 8658.869 [DFR] [_DFRDisplayUsbStart]
Jan 3 00:07:06 MacBook-Pro WindowServer[116]: 8658.869 [DFR] [_DFRDisplayOpen]
Jan 3 00:07:06 MacBook-Pro WindowServer[116]: 8658.870 [DFR] [_DFRDisplayOpen] sending GetInfo
Jan 3 00:07:06 MacBook-Pro WindowServer[116]: 8658.871 [DFR] [_DFRDisplayHandleVendorPacket] kDFRDisplayCommandGetInfo ready: 0
Jan 3 00:07:06 MacBook-Pro WindowServer[116]: 8658.871 [DFR] [_DFRDisplayHandleVendorPacket] calling client attach callback
Jan 3 00:07:06 MacBook-Pro WindowServer[116]: 8658.872 [DFR] [_DFRDisplayHandleVendorPacket] kDFRDisplayCommandGetInfo ready: 1
Jan 3 00:07:09 MacBook-Pro diagnosticd[156]: Streaming server Reconnected
Jan 3 01:07:14 --- last message repeated 1 time ---
Jan 3 01:07:14 MacBook-Pro syslogd[23]: ASL Sender Statistics
Jan 3 01:07:14 MacBook-Pro WindowServer[116]: 12266.830 [DFR] ERR [_DFRDisplayUsbRecvComplete] failed 0xe00002ed
Jan 3 01:07:14 MacBook-Pro WindowServer[116]: 12266.834 [DFR] [deviceTerminate]
Jan 3 01:07:14 MacBook-Pro WindowServer[116]: 12266.834 [DFR] [_DFRDisplayDeviceRemoved]
Jan 3 01:07:14 MacBook-Pro WindowServer[116]: 12266.834 [DFR] [___DFRDisplayDeviceRemoved_block_invoke] calling client detach callback
Jan 3 01:07:14 MacBook-Pro WindowServer[116]: 12266.834 [DFR] [_DFRDisplayClose]
Jan 3 01:07:14 MacBook-Pro WindowServer[116]: 12266.848 [DFR] [deviceMatch]
Jan 3 01:07:14 MacBook-Pro WindowServer[116]: 12266.849 [DFR] [_DFRDisplayDeviceAdded]
Jan 3 01:07:14 MacBook-Pro WindowServer[116]: 12266.849 [DFR] [_DFRDisplayUsbStart]
Jan 3 01:07:14 MacBook-Pro WindowServer[116]: 12266.849 [DFR] [_DFRDisplayOpen]
Jan 3 01:07:14 MacBook-Pro WindowServer[116]: 12266.850 [DFR] [_DFRDisplayOpen] sending GetInfo
Jan 3 01:07:14 MacBook-Pro WindowServer[116]: 12266.851 [DFR] [_DFRDisplayHandleVendorPacket] kDFRDisplayCommandGetInfo ready: 0
Jan 3 01:07:14 MacBook-Pro WindowServer[116]: 12266.851 [DFR] [_DFRDisplayHandleVendorPacket] calling client attach callback
Jan 3 01:07:14 MacBook-Pro WindowServer[116]: 12266.851 [DFR] [_DFRDisplayHandleVendorPacket] kDFRDisplayCommandGetInfo ready: 1
Jan 3 01:07:14 MacBook-Pro com.apple.xpc.launchd[1] (com.apple.AirPortBaseStationAgent): Service only ran for 7 seconds. Pushing respawn out by 3 seconds.
Jan 3 01:07:16 MacBook-Pro diagnosticd[156]: Streaming server Reconnected
Jan 3 03:07:22 --- last message repeated 1 time ---
Jan 3 03:07:22 MacBook-Pro WindowServer[116]: 19474.641 [DFR] ERR [_DFRDisplayUsbRecvComplete] failed 0xe00002eb
Jan 3 03:07:22 MacBook-Pro WindowServer[116]: 19474.660 [DFR] [deviceTerminate]
Jan 3 03:07:22 MacBook-Pro syslogd[23]: ASL Sender Statistics
Jan 3 03:07:22 MacBook-Pro WindowServer[116]: 19474.660 [DFR] [_DFRDisplayDeviceRemoved]
Jan 3 03:07:22 MacBook-Pro WindowServer[116]: 19474.660 [DFR] [___DFRDisplayDeviceRemoved_block_invoke] calling client detach callback
Jan 3 03:07:22 MacBook-Pro WindowServer[116]: 19474.660 [DFR] [_DFRDisplayClose]
Jan 3 03:07:22 MacBook-Pro WindowServer[116]: 19475.020 [DFR] [deviceMatch]
Jan 3 03:07:22 MacBook-Pro WindowServer[116]: 19475.020 [DFR] [_DFRDisplayDeviceAdded]
... and so on every two hours...
The issue seems starting from wifi, in wifi.log:
Tue Jan 3 00:07:06.018 <kernel> wl0: wl_update_tcpkeep_seq: Original Seq: 3925025988, Ack: 3824105141, Win size: 4096
Tue Jan 3 00:07:06.018 <kernel> wl0: wl_update_tcpkeep_seq: Updated seq/ack/win from UserClient Seq 3925026089, Ack 3824105210, Win size 1452
Tue Jan 3 00:07:06.018 <kernel> wl0: leaveModulePoweredForOffloads: Wi-Fi will stay on.
Tue Jan 3 00:07:06.018 <kernel> AirPort_Brcm43xx::platformWoWEnable: WWEN[enable], in_fatal_err[0]
Tue Jan 3 00:07:06.018 <kernel> AirPort_Brcm43xx::syncPowerState: WWEN[enabled]
Tomorrow I have an appointment at the Genius Bar. In the meantime do you have any idea?
Thanks.
Alessandro