How do I determine what is waking my machine up?
Recently my Macbook Pro has been waking up from sleep at undesirable times (middle of the night) without any user interaction (nobody has touched it).
Is there a log on the machine that records the reason a machine woke from sleep?
Apparently the machine wakes up because:
1/26/14, 1:21:20 AM PST Wake Wake [CDNVA] due to EHC1/HID Activity: Using AC (Charge:99%)
What is [CDNVA] due to EHC1/HID Activity: Using AC (Charge:99%)
?
Solution 1:
EHC is Enhanced Host Controller. It's a USB interface, similar to OHC. However EHC can also be wireless devices and Bluetooth since they are also on the USB bus of a Mac.
HID is a Human Interface Device, such as mice/keyboards. Bluetooth HID could be the culprit.
Try disconnecting all USB and Bluetooth devices, and turn off Airport, then attempt to sleep it.
Solution 2:
You can find a lot of information in the system log.
Open the Console utility and this will allow you to easily search the system log for "sleep" and "wake".
The information is not easy to understand but if you do find some lines in the system log you can't understand feel free to update your question.
EHC1 is usually something to do with a USB device. Do you have an external drive attached to the machine? Is it powered via USB?