Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-23-2008, 12:21 AM
|
#1
|
|
Member
Registered: Jun 2004
Distribution: Slackware
Posts: 155
Rep:
|
Keyboard and mouse freezing
Occasionally when I move the mouse or (less often) when I'm typing, the keyboard and mouse will both freeze. They are completely unresponsive. Typing or moving the mouse does nothing. I've tried the numlock and capslock keys, but the keyboard LEDs do not change.
I'm using a PS/2 mouse and keyboard. I've tried unplugging and replugging the mouse and keyboard, but this does not fix the problem. If I plug in a USB mouse, the USB mouse will work fine. I don't have a USB keyboard to test.
To me it seems like the computer stops servicing the keyboard and mouse interrupts. Otherwise the computer seems fine since I can SSH into it. Here are some interesting things I've found:
The number of interrupts from IRQs 1 and 12 (keyboard and mouse, respectively) do not change, as reported by /proc/interrupts.
This time it froze when using the keyboard (IRQ 1).
Code:
# cat /proc/irq/1/spurious
count 700
unhandled 1
last_unhandled 252768 ms
unhandled seems to always be 0 when it's not frozen, and 1 when it is. I don't know if the timestamp matches when the keyboard froze or not, but it's usually within 10 minutes.
I've taken a multimeter to the PS/2 ports on the back of the computer. It looks like the computer is forcing the clock signal to ground on both PS/2 ports, inhibiting the mouse and keyboard from sending any data.
Any ideas on how to fix this?
|
|
|
|
12-23-2008, 07:28 AM
|
#2
|
|
Member
Registered: Mar 2007
Posts: 239
Rep:
|
Is this a momentary thing, or do you have to restart to get the devices working?
If momentary, try running the top command (or use system guard) to see if it a result of 100% CPU utilistion and which process is hogging the resources.
|
|
|
|
12-23-2008, 01:57 PM
|
#3
|
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
What's the longest you have waited for it to "thaw"?
I prefer htop, but whichever you use try sshing in & checking for hoggish processes.
Or if you're willing, set up htop in a root window in advance; then, the next time you have this problem, plug in your USB mouse & use it to goto htop. It's interactive, so you may be able to kill a rogue process w/o rebooting.
|
|
|
|
12-23-2008, 06:06 PM
|
#4
|
|
Member
Registered: Jun 2004
Distribution: Slackware
Posts: 155
Original Poster
Rep:
|
Quote:
Originally Posted by htnakirs
Is this a momentary thing, or do you have to restart to get the devices working?
|
It never unfreezes. I have to restart for it to work again. No processes are hogging the processor either.
I've seen the problem occur on one other machine running a different OS (windows 98; this one runs ubuntu). Maybe it's a hardware problem or a driver problem?
|
|
|
|
12-24-2008, 07:51 AM
|
#5
|
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
- What is your mobo? (w/ mfrs. info. link(s), please)
- Have you Googled this problem w/ it?
- Have you run any other OS's or distros? -- Did you have the problem?
|
|
|
|
12-24-2008, 11:25 AM
|
#6
|
|
Member
Registered: Jun 2004
Distribution: Slackware
Posts: 155
Original Poster
Rep:
|
Quote:
Originally Posted by archtoad6
- What is your mobo? (w/ mfrs. info. link(s), please)
- Have you Googled this problem w/ it?
- Have you run any other OS's or distros? -- Did you have the problem?
|
- Jetway J7F4K1G5D
- Google doesn't turn up anything for me.
- Not yet on this board, but I'm working on it.
|
|
|
|
04-16-2009, 04:55 AM
|
#7
|
|
Member
Registered: Jun 2007
Posts: 53
Rep:
|
Keyboard and mouse freezing
Quote:
Originally Posted by elyk
Occasionally when I move the mouse or (less often) when I'm typing, the keyboard and mouse will both freeze. They are completely unresponsive. Typing or moving the mouse does nothing. I've tried the numlock and capslock keys, but the keyboard LEDs do not change.
I'm using a PS/2 mouse and keyboard. I've tried unplugging and replugging the mouse and keyboard, but this does not fix the problem. If I plug in a USB mouse, the USB mouse will work fine. I don't have a USB keyboard to test.
|
Not meaning to hijack your thread, elyk, but your description fits my problem *exactly*. A cold reboot is usually necessary for me to get the mouse (and, ocasionally, keyboard) working again. I have three different Linux distros on this box and the problem appears to be the same with all of them. Since they are of different 'age', i.e. use different kernel and Xorg versions, I have ruled out Linux software as the cause.
Motherboard: http://www.gigabyte.com.tw/Products/...ProductID=1857
Mouse: Trust MI-6200
Keyboard: Dell; PRODUCT NO. ALPSCL188XX, made in Ireland, Family No.: AT101-102 (an old 'generic' type keyboard...)
KVM-switch: Aten (mouse/keyboard/video/sound for 2 PC's)
Googling for the keyboard product number, I came across this
http://www.dnull.com/bsd/oldnews/bsdnew29246.html
I have been wondering if it might be as 'simple' as the keyboard having become dirty/dusty. This because my keyborad IS dusty, and because the problem has only appeared the last month, after more than 3 years without any problems on the same hardware. The mouse is relatively new, though, only about 6 months, but the problem is only a few weeks old...
Update:
It turns out the mouse itself is the culprit. Probably the lousy thin cord. No more Trust products with my systems.
Last edited by Paraply; 04-19-2009 at 05:08 AM.
Reason: Problem solved.
|
|
|
|
04-19-2009, 07:45 PM
|
#8
|
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
- If a multimeter shows an electrical problem on the PS/2 ports when the system is frozen, then I think it's a defective mobo; unless there is an outside chance that there something wrong w/ your keyboard, your mouse, or both: Do you have/can you borrow a different keyboard & mouse to eliminate this possibility?
- BTW:
- How long have you had it?
- How did you had pick it?
- BTW 2, how much RAM does it support -- I found no spec. for that at the link you so kindly provided.
- Is getting a USB keyboard an option for you?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:04 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|