Bug 103863

Summary: keyboard stops responding
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Ladislav Michnovic <lmichnovic>
Component: KernelAssignee: Olaf Hering <ohering>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: al4321, eich, vojtech
Version: Beta 1   
Target Milestone: ---   
Hardware: i586   
OS: SUSE Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: output from hwinfo
part of /var/log/messages file
Configuration file when keyboard/mouse don't respond.

Description Ladislav Michnovic 2005-08-10 15:59:48 UTC
I was testing a Pilot-link package with USB Palm. My PS/2 keyboard stops
responding, but mouse and applications were OK. System was restarted trough ssh.
I'll attach hwinfo and a relevant part of /var/log/messages file.
Comment 1 Ladislav Michnovic 2005-08-10 16:01:06 UTC
Created attachment 45567 [details]
output from hwinfo
Comment 2 Ladislav Michnovic 2005-08-10 16:01:47 UTC
Created attachment 45568 [details]
part of /var/log/messages file
Comment 3 Olaf Hering 2005-08-14 17:48:14 UTC
is it reproducable? do you see further interrupts when you press keys?
watch -n1 cat /proc/interrupts
Comment 4 Ladislav Michnovic 2005-08-15 08:44:36 UTC
I can't reproduce this hangup. If that will happen again, I'll check the interrupts.
Comment 5 Alexey Eremenko 2005-08-16 18:04:38 UTC
I have *the same* problem. 
 
However, my keyboard stops responding mostly when working with KDE-Yast 
modules. 
For example when I want to search for new software in Yast Install; 
 
My keyboard: 
Genius Multimedia KB-18, PS/2 keyboard  
 
However, when I move to other window (i.e. KWrite) it restores. 
 
Is my behavior is similar to yours ? 
 
Or your keyboard, after hangs is not working under *any* app ? 
Comment 6 Alexey Eremenko 2005-08-16 18:22:09 UTC
In order to restore my keyboard to working state in Suse-Yast, I needed to 
open any application in 2nd Desktop (in KDE pager), click to focus on it,  
the get back to Desktop 1 and Focus on SuSE-Yast. 
 
If I by mistake focus on different app, the keyboard will be non-functional in 
Yast -Again. 
Comment 7 Ladislav Michnovic 2005-08-17 09:54:33 UTC
(In reply to comment #5)
> Is my behavior is similar to yours ? 
>  
> Or your keyboard, after hangs is not working under *any* app ? 
No, my keyboard stops working at all. I'm not using KDE but Windowmaker.
Comment 8 Olaf Hering 2005-08-23 16:00:09 UTC
I had that too here, on an ibook. I was able to c&p a 'chvt 1' into a root
shell, kbd worked on the console. But not when switching back to X. Everything
was ok after reboot. Odd, I was able to login via kdm before it happend. Looks
like somehow X loses the keyboard. 

Egbert, any ideas where X does read from the keyboard?
Comment 9 Egbert Eich 2005-08-23 17:21:36 UTC
> For example when I want to search for new software in Yast Install; 
I have seen this too. It's a toolkit problem. Has nothing to do with keyboard
data not being sent to X any more.
> had that too here, on an ibook. I was able to c&p a 'chvt 1' into a root
> shell, kbd worked on the console. But not when switching back to X. Everything
> was ok after reboot. Odd, I was able to login via kdm before it happend. Looks
> like somehow X loses the keyboard. 
This may or may not be related to the original problem.
> Egbert, any ideas where X does read from the keyboard?
Yes. Basically you can run strace and see if select returns of you press a key.
A look at /proc/<server-pid>/fd should also tell you which file handle your
keyboard device is.
Comment 10 Egbert Eich 2005-08-26 10:26:52 UTC
Any news here?
Comment 11 Olaf Hering 2005-08-26 10:28:40 UTC
I havent seen it since then.
Comment 12 Ladislav Michnovic 2005-08-26 15:59:23 UTC
So do I. I have already Beta 3 and it's OK.
Comment 13 Alexey Eremenko 2005-08-27 10:51:55 UTC
Really.
 I can't reproduce that with BETA 3.
Comment 14 Olaf Hering 2005-08-27 10:58:23 UTC
ok, reopen if it happens again.
Comment 15 Steve Winn 2006-09-14 22:44:14 UTC
Created attachment 98763 [details]
Configuration file when keyboard/mouse don't respond.
Comment 16 Steve Winn 2006-09-14 23:08:32 UTC
I just created an attachment (see last comment) but my explanation was lost! I'm reopening this bug because it fits my symptoms so nicely. I hope that I'm adding useful informatin but apologize if I'm not following protocol.

I've seen this same problem on SLES 10 prior to GMC (final release) and SLED 10 GMC, under similar cirumstances,  four times in the last 5 weeks, always associated with changes to VNC. I'm not sure that it is 100% reproducible but there seems to be a high probablity that playing with VNC will cause the problem

I just installed SLED 10 GMC.  I enabled VNC during installation.  After the install I used YAST->network services->network services (xinted) to enable all 6 of the VNC options:  vnc1, vnc2, vnc3, httpvnc1... etc.  (Enabling vnc during install or using remoted admin only seems to configure vnc1.) On reboot the mouse and keyboard are not responding at the GUI login:  caps lock detected, alt-ctrl-f1, etc. work, but it doesn't respond to typing a user name or moving the mouse.   When I saw this problem on SLES 10 the helpdesk Linux guru examined the file and said xorg.conf was fouled up, so I included the file from this SLED 10 system while it was in a broken state.
Comment 17 Olaf Hering 2006-09-15 05:43:41 UTC
Please file a new X11 bug, your symptoms differ.