iMac wakes from sleep with a key stuck

I routinely wake up my computers from sleep by pressing a modifier key like shift, command, etc; these keys don't generally cause actions in whatever software is running so they make good "wakeup" buttons.

I recently got a new 20" aluminum iMac, which I love, but it seems that once in a while a key gets stuck. The shortcut menu appears when I try to click on something, or text will get selected, or everything acts like I'm right-clicking. If I do a quick run through all the modifier keys, the problem goes away until the next time I wake the machine. So since getting the new iMac, my routine was changed to pressing a modifier key, waiting till the machine wakes up, then pressing all of the modifier keys.

I discovered today that what's happening is, when I do my regular wake-up thing, whatever key I pressed while the machine was sleeping gets stuck until the next time it's pressed. It's like the key press message is getting to the machine, but the release is ignored while the computer is in the process of waking up. It thinks I'm still holding that particular key down. So now what I do is press one key, then press it again when the computer's awake.

The problem only occurs when the machine goes to sleep due to inactivity. I can't reproduce it by invoking sleep from the Apple menu or the keyboard shortcut.

This never happens on my Core Duo iMac or on my MacBook Pro. It does, however, happen every time on this machine whether I use the included aluminum keyboard or the old white keyboard.

I just got the idea of holding down the the shift, control, or whatever key, until the machine has fully recovered from sleep. I will post further if anything interesting happens when I try it.

I'd like to get things back to the way they were before though (except I want the new iMac to stay of course!). Any ideas?

intel iMac, Mac OS X (10.5.2)

Posted on Apr 12, 2008 10:59 PM

Reply
Question marked as Top-ranking reply

Posted on Apr 13, 2008 2:15 AM

Since this is a related to power management (waking), I would try this procedure to reset the SMC.

http://docs.info.apple.com/article.html?artnum=303319

Apple also released a firmware update for the aluminum keyboard on or about 04/08/08. Was that installed? You say it also happened when using the white plastic keyboard, so it may not be relevant.
4 replies
Question marked as Top-ranking reply

Apr 13, 2008 2:15 AM in response to Jim__

Since this is a related to power management (waking), I would try this procedure to reset the SMC.

http://docs.info.apple.com/article.html?artnum=303319

Apple also released a firmware update for the aluminum keyboard on or about 04/08/08. Was that installed? You say it also happened when using the white plastic keyboard, so it may not be relevant.

Apr 13, 2008 12:51 PM in response to Jim__

{quote:}Re the TIL article above, this appears to pertain only to portables. Is it also something that works on iMacs?{quote}

First as Kinichi suggest reset for the Intel iMac's SMC:

http://docs.info.apple.com/article.html?artnum=303446-en

Normally I quit all running App's befor sleeping my Mac for the night, then I just touch any key, click or the moving mouse to wake the iMac.

Apr 13, 2008 12:26 PM in response to Kenichi Watanabe

If I wake the computer by pressing, for example, control; then wait for the system to recover before releasing it, everything's fine.

It looks like the computer is just not aware of USB activity during the waking process.

Does this happen to anyone else, or is it just me?

I did install the EFI updates last week too. I was kind of excited to see them because I figured they'd noticed the problem and fixed it, but it had no effect.

Re the TIL article above, this appears to pertain only to portables. Is it also something that works on iMacs?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

iMac wakes from sleep with a key stuck

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.