Re: Keyboard/mouse lockup... again

From: Linus Torvalds (torvalds@transmeta.com)
Date: Sat Mar 11 2000 - 21:35:37 EST


On Sat, 11 Mar 2000, Blu3Viper wrote:
>
> FYI, this anomaly occurs with the linksys cardbus pcmcia network cards as
> well, it loads the pcmcia tulip driver. removal of the card does not return
> the keyboard/mouse.

You know, I finally have a clue again.

The Yenta issue is a complete red herring, and it just so happens that
another change happened to pc_keyb.c at around the same time as the new
cardbus stuff. And I suspect it is a problem only with certain super-IO
chips, and those chips probably tend to be used mostly in laptops, which
is why there seemed to be sucha strong correlation..

Very simple test: in drivers/char/pc_keyb.c, at around line 446, there's a
line line

        /* Ignore error bytes */
        if (!(status & (KBD_STAT_GTO | KBD_STAT_PERR))) {
                ...

and people who have the "keyboard and mouse goes away" problem should just
remove that single if-statement completely.

Does that really simply change make your keyboard come to life again?

                Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:20 EST