Hello All,
Since I last posted, I’ve been through a number of troubleshooting iterations.
I followed this set of instructions for disabling and re-enabling the address book sync and caching functions.
https://discussions.apple.com/thread/5565445
It had no impact on the wakeup issue.
I turned of (disabled) my time machine even though the drive wasn’t attached when the wake-up problem happened.
It had no impact on the issue.
I tried booting and putting the MAC back to sleep in SAFE MODE (hold down the shift key while the MAC boots to enter SAFE MODE) which had no effect; the MAC kept waking up.
I searched through tons of threads on the web, you’ll find them too if you search a little.
It appears now that it was my PCI Express card which provides a SD card interface for my machine. The hint was right in front of me, it was in this section of my pmset log which cycled about every 45 seconds waking then allowing the MAC to sleep, then waking it again,…:
2015-10-18 11:04:55 -0700 DarkWake DarkWake [CDN] due to EHC2
and here:
Kernel Assertions: 0x4=USB
id=501 level=255 0x4=USB mod=12/31/69, 4:00 PM description=com.apple.usb.externaldevice.26300000 owner=USB Storage
The PCI card is shown under my MAC’s system information as: Location ID: 0x26300000 / 1 which matches the above kernel assertion.
There isn’t much specific info on EHC2 on the web but I learned that it has to do with the USB, or perhaps some other bus on the MAC.
Even though I hadn’t changed anything on the PCI card in years, I decided to remove it from the machine and put the MAC to sleep.
***********************
Here’s the PMSET -g log excerpt from the last test is below. Basically I put the MAC to sleep at 11:25:51. It remained in sleep mode until I woke it up at 20:28:33 :
Time stamp Domain Message Duration Delay
========== ====== ======= ======== =====
UUID: 393A74EC-A1DD-466F-9AFC-6532481111AB
2015-10-18 11:25:51 -0700 Notification Display is turned off
2015-10-18 11:25:51 -0700 Assertions PID 101(hidd) Summary UserIsActive "com.apple.iohideventsystem.queue.tickle" 00:02:28 id:0x0x900000176 [System: DeclUser kDisp]
2015-10-18 11:25:51 -0700 Assertions Kernel Idle sleep preventers: -None-
2015-10-18 11:25:52 -0700 Sleep Entering Sleep state due to 'Clamshell Sleep': Using AC (Charge:95%) 32568 secs
2015-10-18 11:25:57 -0700 PM Client Acks Delays to Sleep notifications: [com.apple.apsd is slow(5094 ms)]
2015-10-18 20:28:33 -0700 Kernel Client Acks Delays to Sleep notifications: [NVDATesla driver is slow(msg: SetState to 1)(1038 ms)] [powerd is slow(5128 ms)] [AppleAHCIDiskQueueManager driver is slow(msg: SetState to 0)(738 ms)]
2015-10-18 20:28:33 -0700 Assertions Kernel Idle sleep preventers: IODisplayWrangler
2015-10-18 20:28:33 -0700 Notification Display is turned on
2015-10-18 20:28:33 -0700 Assertions PID 93(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd0000025f [System: DeclUser BGTask SRPrevSleep kCPU kDisp]
2015-10-18 20:28:33 -0700 Assertions PID 93(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd0000025f [System: DeclUser BGTask kDisp]
2015-10-18 20:28:40 -0700 Wake Wake [CDNVA] due to EC LID0/HID Activity: Using AC (Charge:100%)
2015-10-18 20:28:40 -0700 Kernel Client Acks Delays to Wake notifications: [en0 driver is slow(msg: DidChangeState to 1)(441 ms)] [NVDATesla driver is slow(msg: SetState to 2)(586 ms)] [NVDATesla driver is slow(msg: SetState to 2)(425 ms)] [PRT1 driver is slow(msg: SetState to 2)(925 ms)] [AppleHDADriver driver is slow(msg: SetState to 1)(2610 ms)]
Total Sleep/Wakes since boot at 2015-10-18 11:22:55 -0700 :1
************************
For now, I am considering my issue tracked down and solved. I’ll work on resolving the PCI card issue. I suspect that something in the handling of the interface has changed with El Capitan 10.11 since this issue emerged after I installed El Cap.
Thanks for all the help and best luck in solving your sleep issues!