Why Did It Wake Up?

Have you ever been fast asleep only to be woken up by your computer waking itself from sleep? Ever wonder exactly why it woke up? I found a tip on the web recently that gave a great and easy way to try to determine what woke the computer up.

You’ll have to dive into Terminal a bit to get this information, and you may not necessarily get an answer. After your machine wakes up launch Terminal and type the following in:

syslog |grep -i “Wake reason”

You’ll then get a report from your OS that will give a code that tells you why the machine woke up. The article I found give some common error codes:

OHC (Open Host Controller): This likely means an external device like a USB keyboard or mouse woke the machine. It could also be an external FireWire device like a hard drive. To my knowledge, this should also include Thunderbolt devices as well.

EHS (Enhanced Host Controller): Similar to OHC except it’s usually wireless or Bluetooth devices.

USB (Universal Serial Bus): A USB device woke the computer.

LID0: This literally refers to the lid of your laptop. You shouldn’t see this code if you’re on a desktop.

PWRB: This refers to the Power Button of the computer.

RTC (Real Time Clock): This refers to wake-on-demand services like scheduling your computer with sleep and wake times in the Energy Saver settings.

As always, mess with Terminal at your own risk. Before you all start emailing me with other ways to do this, the article does point out that that there are other ways you can monitor this in the Console application, but this way you don’t need to wade through extensive logs filled with gobbledygook.

Read the original article here.

Image Source

Similar Posts

  • Activity Monitor: Part One of a Series

    My MacBook Pro was acting strangely last week: slow application launch times, incessant beach-balling, fans at full speed all the time, hot to…

  • Screen Sharing in OS X

    Many of us who have Leopard and Snow Leopard have already played around with the great screen sharing capabilities. In both Leopard and…

  • Free Saturday Seminars are back!!

    This coming Saturday, January 30th, marks the return of our weekly Saturday Seminars in our South Burlington store!

    This month’s offering will be on iTunes Basics, Tips, and Tricks. We’ll be showing how to import music into iTunes, organize your library, build the perfect playlist, and different ways to sync your iPod/iPhone.

    These seminars run about 25 minutes, are free for all to attend, and start at 4:00 pm. Feel free to bring a question as well!

    See more about our retail stores here.
    Read more about our other seminar offerings here.

  • Custom Keyboard Shortcuts

    It’s no secret that I am a big fan of keyboard shortcuts. If I can keep my hands on the keyboard, and not…

  • iPhone's Mysterious "Other" Data

    If you’ve ever filled your iPhone to capacity, you may have suddenly noticed a gray section of stored data titled “Other” in iTunes….

  • Expand Safari 5 With Extensions

    Safari 5 brought a slew of new features but one of the most exciting features that is yet to be officially unveiled is…