All of lore.kernel.org
 help / color / mirror / Atom feed
* input layer strangeness
@ 2002-10-02  4:23 Andrew Morton
  2002-10-02  6:09 ` Vojtech Pavlik
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Morton @ 2002-10-02  4:23 UTC (permalink / raw)
  To: lkml, Vojtech Pavlik


It's been doing this ever since the input layer changes:

- open a few xterms
- press the spacebar, leave pressed
- start waggling the mouse about
- stop pressing spacebar, keep waggling the mouse about,
  across the xterms

The keystrokes *never* stop coming.  Just the continuous mouse
activity causes a stream of keyboard input, at seemingly the normal
autorepeat rate. I can keep them coming for 30 seconds, just by
moving the mouse.

In practice, it's irritating because it's quite easy to get a
stream of erroneous input dumped into the wrong windows.

It's a vanilla dual pentium with an AT keyboard and a PS/2
mouse.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: input layer strangeness
  2002-10-02  4:23 input layer strangeness Andrew Morton
@ 2002-10-02  6:09 ` Vojtech Pavlik
  2002-10-02  6:12   ` Andrew Morton
  0 siblings, 1 reply; 4+ messages in thread
From: Vojtech Pavlik @ 2002-10-02  6:09 UTC (permalink / raw)
  To: Andrew Morton; +Cc: lkml, Vojtech Pavlik

On Tue, Oct 01, 2002 at 09:23:43PM -0700, Andrew Morton wrote:
> 
> It's been doing this ever since the input layer changes:
> 
> - open a few xterms
> - press the spacebar, leave pressed
> - start waggling the mouse about
> - stop pressing spacebar, keep waggling the mouse about,
>   across the xterms
> 
> The keystrokes *never* stop coming.  Just the continuous mouse
> activity causes a stream of keyboard input, at seemingly the normal
> autorepeat rate. I can keep them coming for 30 seconds, just by
> moving the mouse.

Do they stop coming when you stop moving the mouse or they don't stop at
all? The first would be quite interesting, the second would probably be
a missed key release event due to keyboard controller overload by the
mouse.

> In practice, it's irritating because it's quite easy to get a
> stream of erroneous input dumped into the wrong windows.
> 
> It's a vanilla dual pentium with an AT keyboard and a PS/2
> mouse.

Can you check if it happens also on UP? Just want to know if it might be
a SMP issue ...

-- 
Vojtech Pavlik
SuSE Labs

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: input layer strangeness
  2002-10-02  6:09 ` Vojtech Pavlik
@ 2002-10-02  6:12   ` Andrew Morton
  2002-10-07 13:16     ` Vojtech Pavlik
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Morton @ 2002-10-02  6:12 UTC (permalink / raw)
  To: Vojtech Pavlik; +Cc: lkml

Vojtech Pavlik wrote:
> 
> On Tue, Oct 01, 2002 at 09:23:43PM -0700, Andrew Morton wrote:
> >
> > It's been doing this ever since the input layer changes:
> >
> > - open a few xterms
> > - press the spacebar, leave pressed
> > - start waggling the mouse about
> > - stop pressing spacebar, keep waggling the mouse about,
> >   across the xterms
> >
> > The keystrokes *never* stop coming.  Just the continuous mouse
> > activity causes a stream of keyboard input, at seemingly the normal
> > autorepeat rate. I can keep them coming for 30 seconds, just by
> > moving the mouse.
> 
> Do they stop coming when you stop moving the mouse or they don't stop at
> all? The first would be quite interesting, the second would probably be
> a missed key release event due to keyboard controller overload by the
> mouse.

They stop immediately if I stop moving the mouse.

> > In practice, it's irritating because it's quite easy to get a
> > stream of erroneous input dumped into the wrong windows.
> >
> > It's a vanilla dual pentium with an AT keyboard and a PS/2
> > mouse.
> 
> Can you check if it happens also on UP? Just want to know if it might be
> a SMP issue ...

Will do.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: input layer strangeness
  2002-10-02  6:12   ` Andrew Morton
@ 2002-10-07 13:16     ` Vojtech Pavlik
  0 siblings, 0 replies; 4+ messages in thread
From: Vojtech Pavlik @ 2002-10-07 13:16 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Vojtech Pavlik, lkml

On Tue, Oct 01, 2002 at 11:12:04PM -0700, Andrew Morton wrote:
> Vojtech Pavlik wrote:
> > 
> > On Tue, Oct 01, 2002 at 09:23:43PM -0700, Andrew Morton wrote:
> > >
> > > It's been doing this ever since the input layer changes:
> > >
> > > - open a few xterms
> > > - press the spacebar, leave pressed
> > > - start waggling the mouse about
> > > - stop pressing spacebar, keep waggling the mouse about,
> > >   across the xterms
> > >
> > > The keystrokes *never* stop coming.  Just the continuous mouse
> > > activity causes a stream of keyboard input, at seemingly the normal
> > > autorepeat rate. I can keep them coming for 30 seconds, just by
> > > moving the mouse.
> > 
> > Do they stop coming when you stop moving the mouse or they don't stop at
> > all? The first would be quite interesting, the second would probably be
> > a missed key release event due to keyboard controller overload by the
> > mouse.
> 
> They stop immediately if I stop moving the mouse.
> 
> > > In practice, it's irritating because it's quite easy to get a
> > > stream of erroneous input dumped into the wrong windows.
> > >
> > > It's a vanilla dual pentium with an AT keyboard and a PS/2
> > > mouse.
> > 
> > Can you check if it happens also on UP? Just want to know if it might be
> > a SMP issue ...
> 
> Will do.

Results? It also might be the keyboard controller in your machine
starves the keyboard input pipe when the mouse is moving and flooding it
with data. This way the release event from the keyboard doesn't come
until you stop moving the mouse. Can you verify that with
I8042_DEBUG_INPUT? Thanks.

-- 
Vojtech Pavlik
SuSE Labs

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-10-07 13:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-02  4:23 input layer strangeness Andrew Morton
2002-10-02  6:09 ` Vojtech Pavlik
2002-10-02  6:12   ` Andrew Morton
2002-10-07 13:16     ` Vojtech Pavlik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.