Re: Mouse/Keyboard problems with 2.5.38

From: Vojtech Pavlik (vojtech@suse.cz)
Date: Tue Oct 08 2002 - 03:17:11 EST


On Tue, Oct 08, 2002 at 02:20:49AM +0200, Stian Jordet wrote:
> man, 2002-10-07 kl. 22:01 skrev Vojtech Pavlik:
> > On Mon, Oct 07, 2002 at 09:55:10PM +0200, Stian Jordet wrote:
> [snip]
> > > 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. ;)
>
> I kinda did, in a polite manner. Perhaps I was to polite :)
>
> > > 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.
> [snip}
> > 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.
>
> Ok, this is very weird. I tried many times that first boot, and it
> wouldn't crash what so ever. Ok, it came up with some errors, but I
> couldn't get it to crash. After a recompile with debug enabled,
> everything went totally nuts. It didn't crash, but if I pressed S (or
> what ever key) I would get a screen full of that. Everything was crazy.
> But still no crash. I rebootet, still same behavior. Then I turned of
> debugging, and compiled again. And this time it started crashing again
> (!). I have no idea why, but now it's like it have always been. I have
> tried several times, used a fresh kerneltree, and patched again, no
> help. Freezes just like before. I will try some more tomorrow (I'm going
> to university in five hours), but I really can't understand what have
> happened.
>
> Thanks anyway for you work :)

I really wonder what your keyboard sends for those keys. To avoid the
freeze (and rescanning of the keyboard), you should be able to
comment-out these lines in atkbd.c:

         case ATKBD_KEY_BAT:
                 serio_rescan(atkbd->serio);
                 return;
 

-- 
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 : Tue Oct 15 2002 - 22:00:23 EST