Re: possible bug in 2.4.x pc_keyb.c
Len Sorensen (lsorense@opengraphics.com)
Mon, 22 Oct 2001 11:07:41 -0400
On Mon, Oct 22, 2001 at 04:36:25PM +0100, Walter Harms wrote:
> hi list,
>
> keyboard disappears with 2.4.x kernel on notebook (compaq amarda)
>
> After some time the keyboard from my amarda notebook does not respond to anything. The only hint is that
> "keyboard: Timeout - AT keyboard not present?" appears
> quit often in the syslog before the kbd stops working.
>
> Comparing the 2.2.x code (no problems) with the 2.4.x code i found pckbd_leds() as prime suspect.
> as you can see it sets kbd_exists = 0 (FALSE) after sending an ENABLE. I am not sure if this is my probleme (read: no time to check if this fix works) but i guess its wrong.
>
> Note:
> 1. the error isnt easy reproduceable but appears only with the 2.4.x
> 2. send_data returns 1 for acknowledge else 0
> 3. kann sombody please document kbd_exists ?
I have seen this error on every 2.4 and 2.3.99 kernel I have used
on every machine I use. The machiens I have used it on are all IBM
Intelistation or IBM PC300GL machines. Whenever the keyboard interrupt
it lost, I either loose the character I just typed (most common), or
get a duplicate of the character. If it happens when I hit shift, the
shift can get stuck since the release is lost. Same for ALT and CTRL.
It never happened with any 2.2 kernel. The keyboard always comes back
after loosing the one character (although I think I have had it die for
about 1 second a few times, although not lately).
Len Sorensen
-
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/