* Keyboard problem
@ 2007-07-16 3:28 Natalie Protasevich
2007-07-16 13:29 ` Dmitry Torokhov
0 siblings, 1 reply; 3+ messages in thread
From: Natalie Protasevich @ 2007-07-16 3:28 UTC (permalink / raw)
To: Jiri Kosina, Dmitry Torokhov, Vojtech Pavlik, linux-input,
Alan Stern
Hello,
We have a problem with keybords here. It only hits several systems out
of many, and really impossible to reproduce because it happens on
different combinations of hardware/software and no one managed to find
out what triggers it. I had it on my workstation for a while, then it
was gone (was as of Friday when I hit it again).
Keyboard stops responding while mouse is still functional, if you hold
a key for a few seconds it reacts and displays a key (several of
them). If I hold down well ctrl-alt-F1 then I'm able to switch to text
screen and keyboard is just fine there. So it happens while X is
running, seems more likely when memory intensive apps are running
(firefox, kernel builds). Doesn't depend on type of videocard, whether
it is double or single monitor configuration, type of mouse (USB or
PS2 - but our HW guys said the systems have PS2 connector through the
USB bridge) - nothing seems to matter only presence of X. Restarting X
fixes a problem, but it is still very disruptive to everyone affected.
It seems like Linux input driver, USB and X may be involved. What can
be done to diagnose this problem? There is nothing in the logs, only
couple messages in X log which tell that screen saver was run a couple
times and mysterious message about Screen 0 and 1 now "sharing
resources". Do we need USB sniffer to trace traffic? Anything we can
do to get information from the kernel? Maybe instrumenting keyboard
driver and Xorg keyboard library somehow, use kprobes.
Any recommendations?
Thanks,
--Natalie
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Keyboard problem
2007-07-16 3:28 Keyboard problem Natalie Protasevich
@ 2007-07-16 13:29 ` Dmitry Torokhov
2007-07-30 14:26 ` Jiri Kosina
0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Torokhov @ 2007-07-16 13:29 UTC (permalink / raw)
To: Natalie Protasevich; +Cc: Jiri Kosina, Vojtech Pavlik, linux-input, Alan Stern
Hi Natalie,
On 7/15/07, Natalie Protasevich <protasnb@gmail.com> wrote:
> Hello,
> We have a problem with keybords here. It only hits several systems out
> of many, and really impossible to reproduce because it happens on
> different combinations of hardware/software and no one managed to find
> out what triggers it. I had it on my workstation for a while, then it
> was gone (was as of Friday when I hit it again).
> Keyboard stops responding while mouse is still functional, if you hold
> a key for a few seconds it reacts and displays a key (several of
> them). If I hold down well ctrl-alt-F1 then I'm able to switch to text
> screen and keyboard is just fine there. So it happens while X is
> running, seems more likely when memory intensive apps are running
> (firefox, kernel builds). Doesn't depend on type of videocard, whether
> it is double or single monitor configuration, type of mouse (USB or
> PS2 - but our HW guys said the systems have PS2 connector through the
> USB bridge) - nothing seems to matter only presence of X. Restarting X
> fixes a problem, but it is still very disruptive to everyone affected.
> It seems like Linux input driver, USB and X may be involved. What can
> be done to diagnose this problem? There is nothing in the logs, only
> couple messages in X log which tell that screen saver was run a couple
> times and mysterious message about Screen 0 and 1 now "sharing
> resources". Do we need USB sniffer to trace traffic? Anything we can
> do to get information from the kernel? Maybe instrumenting keyboard
> driver and Xorg keyboard library somehow, use kprobes.
> Any recommendations?
What keyboard driver are you using in X? Isit the standard keyboard
driver or xf86-input-evdev? If the former you can try loading evbug
module (which will dump all input events into syslog) and wait for the
condition to appear. Then connect to the box remotely (ssh/telnet) and
see if keypresses still make to syslog. If they do that means that
USB/HID and input core work fine and the propblem lies in the upper
layers.
--
Dmitry
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Keyboard problem
2007-07-16 13:29 ` Dmitry Torokhov
@ 2007-07-30 14:26 ` Jiri Kosina
0 siblings, 0 replies; 3+ messages in thread
From: Jiri Kosina @ 2007-07-30 14:26 UTC (permalink / raw)
To: Dmitry Torokhov
Cc: Natalie Protasevich, Vojtech Pavlik, linux-input, Alan Stern
On Mon, 16 Jul 2007, Dmitry Torokhov wrote:
> What keyboard driver are you using in X? Isit the standard keyboard
> driver or xf86-input-evdev? If the former you can try loading evbug
> module (which will dump all input events into syslog) and wait for the
> condition to appear. Then connect to the box remotely (ssh/telnet) and
> see if keypresses still make to syslog. If they do that means that
> USB/HID and input core work fine and the propblem lies in the upper
> layers.
You could also enable CONFIG_USB_DEBUG and CONFIG_HID_DEBUG (*) and see
whether there are any error messages reported when the hang occurs.
(*) with the latest vanilla kernel (2.6.23-rc1 and later) CONFIG_HID_DEBUG
defaults to 'y', but you have to pass 'debug=1' parameter to receive the
debugging output).
Thanks,
--
Jiri Kosina
SUSE Labs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-07-30 14:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-16 3:28 Keyboard problem Natalie Protasevich
2007-07-16 13:29 ` Dmitry Torokhov
2007-07-30 14:26 ` Jiri Kosina
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).