input layer strangeness
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.
Quoted 9 lines · Andrew Morton
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
Quoted 4 lines
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.
Quoted 5 lines
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 ...
Signature · 2 lines
Vojtech Pavlik SuSE Labs
Quoted 16 lines · Vojtech Pavlik
Quoted 9 lines · Andrew Morton
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 xtermsQuoted 4 lines
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.
Quoted 4 lines
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.
Quoted 8 lines
Quoted 5 lines
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.
Quoted 27 lines · Andrew Morton
Quoted 16 lines · Vojtech Pavlik
Quoted 9 lines · Andrew Morton
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 xtermsQuoted 4 lines
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.
Quoted 4 lines
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.
Quoted 3 lines
Quoted 3 lines
In practice, it's irritating because it's quite easy to get a stream of erroneous input dumped into the wrong windows.
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
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.
Signature · 2 lines
Vojtech Pavlik SuSE Labs