📢 Newsroom Update

Apple’s new MacBook Pro features the incredibly powerful M4 family of chips and ushers in a new era with Apple Intelligence. Learn more >

📢 Newsroom Update

Apple introduces M4 Pro and M4 Max. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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

Posted on Jan 3, 2017 12:56 AM

Reply
17 replies

Feb 20, 2017 7:46 AM in response to avancheri

I'm having the same issue, even if in my case the mac doesn't wake up completely but just the keyboard backlight.


My system log shows the same error as yours:


Feb 20 15:36:17 MacBook-Pro logd[55]: Flushing contents to disk due to sleep event

Feb 20 15:36:18 MacBook-Pro com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.user.501): Service "com.apple.xpc.launchd.unmanaged.loginwindow.97" tried to hijack endpoint "com.apple.tsm.uiserver" from owner: com.apple.SystemUIServer.agent

Feb 20 15:56:37 --- last message repeated 1 time ---

Feb 20 15:56:37 MacBook-Pro syslogd[38]: ASL Sender Statistics

Feb 20 15:56:37 MacBook-Pro WindowServer[120]: 99995.010 [DFR] ERR [_DFRDisplayUsbRecvComplete] failed 0xe00002ed

Feb 20 15:56:37 MacBook-Pro WindowServer[120]: 99995.014 [DFR] [deviceTerminate]

Feb 20 15:56:37 MacBook-Pro WindowServer[120]: 99995.014 [DFR] [_DFRDisplayDeviceRemoved]

Feb 20 15:56:37 MacBook-Pro WindowServer[120]: 99995.014 [DFR] [___DFRDisplayDeviceRemoved_block_invoke] calling client detach callback

Feb 20 15:56:37 MacBook-Pro WindowServer[120]: 99995.014 [DFR] [_DFRDisplayClose]

Feb 20 15:56:37 MacBook-Pro WindowServer[120]: 99995.027 [DFR] [deviceMatch]

Feb 20 15:56:37 MacBook-Pro WindowServer[120]: 99995.027 [DFR] [_DFRDisplayDeviceAdded]

Feb 20 15:56:37 MacBook-Pro WindowServer[120]: 99995.030 [DFR] [_DFRDisplayUsbStart]

Feb 20 15:56:37 MacBook-Pro WindowServer[120]: 99995.031 [DFR] [_DFRDisplayOpen]

Feb 20 15:56:37 MacBook-Pro WindowServer[120]: 99995.034 [DFR] [_DFRDisplayOpen] sending GetInfo

Feb 20 15:56:37 MacBook-Pro WindowServer[120]: 99995.035 [DFR] [_DFRDisplayHandleVendorPacket] kDFRDisplayCommandGetInfo ready: 0

Feb 20 15:56:37 MacBook-Pro WindowServer[120]: 99995.035 [DFR] [_DFRDisplayHandleVendorPacket] calling client attach callback

Feb 20 15:56:37 MacBook-Pro WindowServer[120]: 99995.035 [DFR] [_DFRDisplayHandleVendorPacket] kDFRDisplayCommandGetInfo ready: 1

Feb 20 15:56:38 MacBook-Pro com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit

Feb 20 15:56:40 MacBook-Pro diagnosticd[157]: Streaming server Reconnected

Feb 20 15:56:43 --- last message repeated 1 time ---

Feb 20 15:56:43 MacBook-Pro eospreflightagent[5170]: objc[5170]: Class AMSupportURLConnectionDelegate is implemented in both /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevic e (0x7fff9d9d16e0) and /usr/lib/libFDR_osx.dylib (0x10704fad8). One of the two will be used. Which one is undefined.

Jul 15, 2017 3:51 AM in response to avancheri

I've done a complete reinstall also (MBP 2016 15" Touchbar) and did it with a Genius. Not much of an improvement. My log also has the MacBook going to Apple every 9 minutes and 2 seconds at 17.188.166.210 even though it should not. The Genius said that was iCloud and it will do that even though it should not. I'm also getting Airport errors like this one...


Sat Jul 15 00:49:43.017 <kernel> AirPort_Brcm43xx::platformWoWEnable: WWEN[enable], in_fatal_err[0].


Which makes me wonder if it's my airport card in the MacBook or if it's one of the old Airport Expresses in my network that's causing issues. Do you have old Airport Expresses or Apple TV's on your network?

Jul 28, 2017 9:59 AM in response to avancheri

Same issue here. Macbook Pro 2017 15"

Jul 28 19:19:37 zanahoria WindowServer[143]: 377587.428 [DFR] [_DFRDisplayClose] Jul 28 19:19:37 zanahoria WindowServer[143]: 377587.444 [DFR] [deviceMatch] Jul 28 19:19:37 zanahoria WindowServer[143]: 377587.444 [DFR] [_DFRDisplayDeviceAdded] Jul 28 19:19:37 zanahoria WindowServer[143]: 377587.444 [DFR] [_DFRDisplayUsbStart] Jul 28 19:19:37 zanahoria WindowServer[143]: 377587.444 [DFR] [_DFRDisplayOpen] Jul 28 19:19:37 zanahoria WindowServer[143]: 377587.446 [DFR] [_DFRDisplayOpen] sending GetInfo Jul 28 19:19:37 zanahoria WindowServer[143]: 377587.448 [DFR] [_DFRDisplayHandleVendorPacket] kDFRDisplayCommandGetInfo ready: 0 Jul 28 19:19:37 zanahoria WindowServer[143]: 377587.448 [DFR] [_DFRDisplayHandleVendorPacket] calling client attach callback Jul 28 19:19:37 zanahoria WindowServer[143]: 377587.449 [DFR] [_DFRDisplayHandleVendorPacket] kDFRDisplayCommandGetInfo ready: 1 Jul 28 19:20:05 zanahoria WindowServer[143]: 377615.424 [DFR] ERR [_DFRDisplayUsbRecvComplete] failed 0xe00002ed Jul 28 19:20:05 zanahoria WindowServer[143]: 377615.425 [DFR] ERR [_DFRDisplayUsbSendComplete] writePipeAsync failed 0xe00002ed Jul 28 19:20:05 zanahoria WindowServer[143]: 377615.430 [DFR] [deviceTerminate] Jul 28 19:20:05 zanahoria WindowServer[143]: 377615.430 [DFR] [_DFRDisplayDeviceRemoved] Jul 28 19:20:05 zanahoria WindowServer[143]: 377615.430 [DFR] [___DFRDisplayDeviceRemoved_block_invoke] calling client detach callback

I put the laptop in a bag and I don't know why I decided to check something after a while. I took it out and it was REALLY hot. After I opened it the fans started working and the temperature got down. I don't know if any component (battery) was damaged due to the high temperatures.

Aug 2, 2017 9:08 PM in response to avancheri

Hi everyone. I had the same issue and it let me hate this machine.

In the morning I make me a coffee, lay down on my couch, throw my book on my legs and open the lid and see the low battery symbol 😠 nearly every morning!!!!! It let me freak out, so I throw it away stamping through my apartment searching this #%$%&$%&***! Power Adapter to plug it in. It runs out of battery even when it was at 100% in the evening.


My college gave me the hint to delete all configured connections in network preferences which are listed on the left: WiFi, Thunderbolt Ethernet etc. (everything)! and apply. Just configure What you need right now like WiFi, bluetooth etc. my list was long about the time with iPhone USB Tethering, FireWire, Thunderbolt this, Thunderbolt that etc. etc.


This fixed my problem and My MBP TB sleeps like a baby every time I close the lid without this issue now.

I am happy now and treat my college to lunch today! Hopefully it helps also you guys!


Cheers

B

Dec 27, 2017 11:13 PM in response to avancheri

Same issue. Macbook pro, touch bar 13.

Battery discharging for 50% overnight! Look the chart: http://take.ms/OrDzj


Dec 28 02:29:06 macAlex-2 com.apple.xpc.launchd[1] (com.apple.auditd[34937]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.auditd

Dec 28 02:33:28 macAlex-2 com.apple.xpc.launchd[1] (com.apple.AddressBook.SourceSync): Service only ran for 3 seconds. Pushing respawn out by 7 seconds.

Dec 28 02:33:28 macAlex-2 diagnosticd[30865]: Streaming server Reconnected

Dec 28 02:38:24 macAlex-2 com.apple.xpc.launchd[1] (com.apple.bsd.dirhelper[34956]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.bsd.dirhelper

Dec 28 02:38:24 macAlex-2 diagnosticd[30865]: Streaming server Reconnected

Dec 28 02:38:24 macAlex-2 com.apple.xpc.launchd[1] (com.apple.AddressBook.SourceSync): Service only ran for 2 seconds. Pushing respawn out by 8 seconds.

Dec 28 02:38:24 macAlex-2 com.apple.xpc.launchd[1] (com.apple.quicklook[34957]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.quicklook

Dec 28 02:38:46 macAlex-2 syslogd[46]: ASL Sender Statistics

Dec 28 02:43:20 macAlex-2 diagnosticd[30865]: Streaming server Reconnected

Dec 28 02:43:23 macAlex-2 com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit

Dec 28 02:43:23 --- last message repeated 1 time ---

Dec 28 02:43:23 macAlex-2 com.apple.xpc.launchd[1] (com.apple.auditd[34991]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.auditd

Dec 28 02:48:15 macAlex-2 com.apple.xpc.launchd[1] (com.apple.AddressBook.SourceSync): Service only ran for 8 seconds. Pushing respawn out by 2 seconds.

Dec 28 02:48:15 macAlex-2 diagnosticd[30865]: Streaming server Reconnected

Dec 28 02:48:46 macAlex-2 syslogd[46]: ASL Sender Statistics

Dec 28 02:53:11 macAlex-2 com.apple.xpc.launchd[1] (com.apple.AddressBook.SourceSync): Service only ran for 6 seconds. Pushing respawn out by 4 seconds.

Dec 28 02:53:11 macAlex-2 diagnosticd[30865]: Streaming server Reconnected

Dec 28 02:53:24 macAlex-2 com.apple.xpc.launchd[1] (com.apple.auditd[35018]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.auditd

Dec 28 02:53:25 macAlex-2 com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit

Dec 28 02:58:07 --- last message repeated 1 time ---

Sleep issue with MacBook Pro Touch Bar

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.