8 Replies Latest reply: Dec 1, 2013 5:41 PM by Tanager41
hotovson Level 1 Level 1

Hi,

when I want to sleep (either by keyboard or power button) Mac mini, the computer enters sleep.

Unfortunately, after a few seconds, the computer wakes up without interference.

 

I've tried all the recommended procedures to fix problems with sleeping/waking without success.

 

When I disconnect the keyboard and press power button, the computer falls to sleep and remains in sleep.

When I connect this keyboard to another Mac Mini, this is also self-awakening.

 

Please, can anybody help me with this strange problem?

 

Thanks


=== from kernel.log ==========================

May 25 21:13:13 mini kernel[0]: System Sleep

May 25 21:13:14 mini kernel[0]: Wake reason = EHC2

May 25 21:13:14 mini kernel[0]: System Wake

May 25 21:13:14 mini kernel[0]: Previous Sleep Cause: 5

May 25 21:13:14 mini kernel[0]: The USB device Keyboard Hub (Port 4 of Hub at 0x26000000) may have caused a wake by issuing a remote wakeup (2)

May 25 21:13:14 mini kernel[0]: The USB device Apple Keyboard (Port 2 of Hub at 0x26400000) may have caused a wake by issuing a remote wakeup (3)

========================================


Mac mini, Mac OS X (10.6.7)
  • TeenTitan Level 4 Level 4

    I take it nothing else is plugged into the keyboard?

     

    Have you checked to see if the computer is detecting a specific key as being pressed?

    (apple menu, system preferences, Language & text, input source tab, check Keyboard Viewer, check show input menu in menu bar, go to the menu bar, click on the flag, chose show keyboard viewer) if a key is flickering, or dark gray, then the computer thinks the key is being pressed.

  • hotovson Level 1 Level 1

    Thanks for advices.

    No, keyboard is alone.

    Yes, I have checked with keyboard viewer, all keys are working normally.

     

    Everything worked normally couple of months.

    Now when I press Cmd-Opt-Eject computer goes to sleep, then it is sleeping few seconds and then it wakes up. Without touching any key.

  • TeenTitan Level 4 Level 4

    I take it you'v tired unplugging the mouse, and then trying the keyboard shortcut?

  • hotovson Level 1 Level 1

    As I noted above, computer goes to sleep by every way - power button, sleep timer, shortcut or menu.

    But remains sleeping ONLY with keyboard unconnected.

    Problematic keyboard worked well for many months until recently.

     

    Same situation is on another Mac mini.

     

    With another keyboard (from old PC) everything works fine (except hibernating shortcut, of course).

  • William Mercer Jr Level 1 Level 1

    Outstanding.  Worked for me; good instructions.  Thanks!

  • Tanager41 Level 1 Level 1

    After a lot of narrowing down, I've determined the same problem -- wired keyboard preventing sleep -- but on an iMac. The problem intensified to unacceptable levels after installing Mountain Lion. OK, so the USB hubs on the keyboard (unused) are the cause. Is there a solution without switching to a different keyboard? I prefer this one because of the alphanumeric keys and not having to change batteries.

  • macdarab Level 1 Level 1

    Hi Tanager41 any luck since with preventing the keyboard from waking the device? I have the same issue, works fine if I unplug the apple USB keyboard, I have a 2009 mac mini running Mavericks.

  • Tanager41 Level 1 Level 1

    Replaced the problem keyboard with a new Apple wired keyboard and all is well. Good luck to you.