Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got a "Sleep" key on my keyboard that I use to suspend the system when I'm away from the computer for a longer time.

This works fine, at least for a while after I've turned the computer on. However, after some time, the Sleep key just stops working, and I've got to reboot the computer to make it work again.

Problem is, I don't know what to check. What kinds of things can change in a system to disrupt the operation of this key? And sometimes it takes longer than other times before it stops working; sometimes I can use the key for days on end; other times it won't even work once.
I can still always use pm-suspend manually to suspend the system, so it's not the system itself that has become corrupted, only the keyboard.

Anyone got any ideas on what to check, where to begin? I'm running Debian, by the way.

share|improve this question
When you press the key, does anything appear in the system logs? Look for any file under /var/log that changes when you press the key. – Gilles Aug 3 '12 at 22:17
I can try that. Of course it works fine now, so I'll have to wait until it breaks again. – Mr Lister Aug 4 '12 at 7:36
I made copies of the files in the log directory, in particular the pm-suspend.log, so I can see if there's different info in there after it starts failing. – Mr Lister Aug 4 '12 at 7:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.