Re: Mouse/Keyboard problems with 2.5.38

From: Vojtech Pavlik (vojtech@suse.cz)
Date: Mon Oct 07 2002 - 15:01:06 EST


On Mon, Oct 07, 2002 at 09:55:10PM +0200, Stian Jordet wrote:
> man, 2002-10-07 kl. 15:00 skrev Vojtech Pavlik:
> > On Fri, Sep 27, 2002 at 01:51:43PM +0200, Stian Jordet wrote:
> > > fre, 2002-09-27 kl. 09:10 skrev Vojtech Pavlik:
> > > > Unfortunately the little bit of information I needed scrolled away
> > > > already. Can you try with the other shift (right?)? That won't
> > > > probably crash your machine, but will most likely generate an "Unknown
> > > > scancode" message. Again, send me the log lines. This time they should
> > > > make it in the syslog well.
> > > Ok, the combination which freezes the computer is right SHIFT, and
> > > pageup/down, etc. Left SHIFT works just like expected. This time I first
> > > wrote 'cp /var/log/syslog /tmp/syslog', then 'echo cut-here >
> > > /var/log/syslog' Left-SHIFT+PAGEUP, arrow up two times, to get the cp..,
> > > enter. Then I edited /tmp/syslog and copied only what was after
> > > "cut-here". So the keystrokes included here should be Left-SHIFT+PAGEUP,
> > > ARROW-UP, ARROW-UP, ENTER. If this works like I think it should. As you
> > > can see, it did not generate an "Unknown scancode"...
> >
> > Can you test whether the attached patch helps?
>
> I was starting to think you had forgot me :)

In that case you should have reminded me of your problem. I tend to
forget when e-mails accumulate beyond a couple hundreds. ;)

> The patch helped a lot. Now it doesn't crash at all. But when I use
> RIGHT-ALT+PAGE-UP, I get these errors a couple of times, then it
> suddenly works as it should.
>
> atkbd.c: Unknown key (set 2, scancode 0x1b6, on isa0060/serio0) pressed.
> input: AT Set 2 keyboard on isa0060/serio0
> atkbd.c: Unknown key (set 2, scancode 0x1c9, on isa0060/serio0) pressed.
> input: AT Set 2 keyboard on isa0060/serio0
> atkbd.c: Unknown key (set 2, scancode 0x1c9, on isa0060/serio0) pressed.
> input: AT Set 2 keyboard on isa0060/serio0
> atkbd.c: Unknown key (set 2, scancode 0x1c9, on isa0060/serio0) pressed.
> input: AT Set 2 keyboard on isa0060/serio0
> atkbd.c: Unknown key (set 2, scancode 0x1c9, on isa0060/serio0) pressed.
> input: AT Set 2 keyboard on isa0060/serio0
> atkbd.c: Unknown key (set 2, scancode 0x1c9, on isa0060/serio0) pressed.
> input: AT Set 2 keyboard on isa0060/serio0
> atkbd.c: Unknown key (set 2, scancode 0x1c9, on isa0060/serio0) pressed.
>
> I think the first key is LEFT-SHIFT+PAGE-UP, and the rest the same with
> right-shift. Anyway, after those first errors, it works perfect. No
> freeze like before. Thanks :) Great work :)

I still don't like this behavior - the keyboard shouldn't reinitialize.
Can you repeat the same with I8042_DEBUG_IO?

I definitely wasn't able to reproduce this here with very violent
bashing at my keyboard. And l/r alt-pageup works here just fine.

-- 
Vojtech Pavlik
SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:01:00 EST