Benches Networking

14

unexpected wakes from sleep and crashes since 1...

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Since I updated my Mac Pro to 10.5.3 yesterday it wakes from sleep by itself for no apparent reason. After the last wake in the middle of the night it simply froze. This hasn't happened since the EFI update which fixed the restart from sleep issue for 2008 mac pros. The Console reveals absolutely nothing.

14 replies

Sign in or join Beachball Help to reply.

  1. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Is there anything in the system.log file about "USB caused wake event (EHCI)" around the time of the spontaneous wake-up? That's what I am seeing on my iMac when those episodes occur.
    -Raghu

  2. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    yes,
    I do see that one too. Strange. The only USB device I use is a wireless mouse. I've been using it for months and it never did that before. I've reset SMC by unplugging my computer for 10 hours. We'll see if that has any effect...

  3. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Same problem here. I couldn't wake my sleeping iMac this evening and had to force a reboot. System log shows several apparent wakes from sleep caused by an unknown USB device during the peiod that my Mac had been unattended.

    Simon

  4. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I reset SMC after my last post in this thread by unplugging the computer for 10 hours overnight. I haven't had a repeat crash after that. Of course not that much time has passed since then but still, you might want to try resetting SMC.

  5. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    The iMac decided to wake up at 24 past midnight last night, I know because I awoke to find a bright light in the living room. I sent it back to sleep and went back to sleep myself. This morning it refused to wake, or even respond to the power button. I unplugged it and plugged it back in, then pressing the power button started it.

    Looking at the log I see it was awoken by a busy USB device. I recently tossed out my wife's mouse which she used on a MBP for the same problem, as the mouse was the only USB device and it was cheap.

    I will try a SMC reset (only takes 15 seconds here on the iMac) and will see tonight I guess.

  6. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    when you reset SMC, I recommend waiting a lot longer than 15 seconds (I know that the manual says that 15 seconds is enough) as short wait have been known not to reset it fully.

  7. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    just an update. last night the computer again woke by itself. this time no USB devices messages around wake time. In fact the only console message is "system wake". No crash at that time either - just a wake.

  8. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I have seen a similar problem - here it seems like it will wake once in error and then when I put it to sleep a second time it stays asleep.

    I have yet to experience the crashes that you mention....

  9. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I still haven't had a crash since the SMC reset but the unexpected wakes continue...

  10. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi guys,

    I've also had unexpected wake ups since the latest Leopard update.
    It's taken as few as 2 minutes to as much as 2 hours since I entered it into sleep mode.

    I questioned my sanity for the last couple days coming down to a fully lit screen in my office. It only just now woke up right in front of me. Very bizarre.

    Best,

    Marcus

  11. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    V.K, thanks for the advice. I left the computer unplugged all night two night ago. I tested it out twice yesterday and both times it failed, once was during lunch and the second time was at night. Within twenty minutes for both.

    I have checked my Sys. Prefs. and there is no schedule to wake up and wake for ethernet access is disabled. The only other thing that has changed recently is my internet access. We upgraded from ADSL to VDSL, we used to have a wireless modem/router which was nice and convenient. However at the moment I am unable to get a wireless modem/router with a VDSL connection on it. Our ISP gave us a VDSL bridge, basically each computer has to log on directly to our ISP using PPPoE, where as before the modem/router logged on and then shared the connection. How are you connecting to the internet?

  12. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I have a cable modem connected to my computer by an ethernet cable. I haven't changed my internet connection in a couple of years so I'm quite sure it's not to blame.

  13. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    okay... I am just trying to figure out the bases. My next step would be to send it to sleep with nothing but the Apple supplied keyboard connected to it.

  14. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi, Perhaps this is the same problem that has plagued my 24" imac/ 2.33 ghz since installing Leopard. No problems running Tiger. The computer is typically powered on 24/7. Occasionally, it will wake up at a random time in response to an unspecified "USB caused wake event (EHCI)". It will then seem to go back to sleep, but it will not wake by any method, forcing a restart with the power button. Sometimes this happens immediately after I try to select "Sleep" in the Apple menu, but usually quite a while after it goes to sleep, when the computer is unattended. Oddly, this usually happens sometime during the night.

    This is a snip from the "All Messages" log from the time of the latest event, which happened soon after installing the 10.5.3 combo update:

    5/29/08 11:50:35 PM loginwindow[13648] Login Window Started Security Agent
    5/29/08 11:50:41 PM kernel System Sleep
    5/30/08 12:20:48 AM kernel System Wake
    5/30/08 12:20:48 AM kernel USB caused wake event (EHCI)
    5/30/08 12:20:48 AM kernel IOBluetoothHCIController::terminateWL .. done
    5/30/08 12:20:48 AM kernel AppleYukon2 - en0 link active, 100-Mbit, full duplex, symmetric flow control enabled port 0
    5/30/08 12:20:48 AM kernel CSRHIDTransitionDriver::start []
    5/30/08 12:20:49 AM kernel CSRHIDTransitionDriver::switchToHCIMode legacy
    5/30/08 12:21:00 AM kernel USBF: 50904.705 AppleUSBHubPort: Port 1 of Hub at 0x7d000000 about to terminate a busy device (IOUSBCompositeDevice) after waiting 10 seconds
    5/30/08 12:21:00 AM kernel USBF: 50905. 8 CSRHIDTransitionDriver[0x4b97580](IOUSBCompositeDevice) GetFullConfigDescriptor(0) returned NULL
    5/30/08 12:21:00 AM kernel CSRHIDTransitionDriver... done
    5/30/08 12:21:11 AM kernel CSRUSBBluetoothHCIController::setPowerState(0x5c03e00, 0 -> 2) timed out after 30275 ms

    I have tried resetting the SMC and PRAM. Hardware Test finds no problems. When I was still running 10.5.1, I erased and reinstalled the operating system from scratch. And I have tried disconnecting all the USB devices before reconnecting them one by one to find the one sending the wake event. Because of the erratic nature of the problem, I have not isolated a problematic device. The log points at the internal USB hub that controls the IR receiver and Bluetooth. I don't use the IR, nor do I have any Bluetooth devices.

    Googling for answers, I found this at http://lists.apple.com/archives/usb/2007/Nov/msg00053.html, where the poster found that, when he used all three of his imac's USB ports, after sleep, one or another of the ports would fail to wake up. When only two were used, no problem. A response from an Apple engineer indicated issues with USB power management in Leopard.

    So, on the chance that there is a connection, I am testing using only two USB ports, and a new powered hub. I still don't know where the wake up call is coming from. So far, no problems, but I have low confidence that this will be the ultimate solution.