Re: Strange atkbd messages with missing keyboard
From: Vojtech Pavlik
Date: Sat Feb 14 2004 - 05:00:29 EST
On Fri, Feb 13, 2004 at 05:46:15PM -0500, Dmitry Torokhov wrote:
> > > I wonder if changing timeout in atkbd_sendbyte to 400 or 500 ms will
> > > cure the problem.
> > It probably would, but it also would slow down the detection. I think we
> > can simply ignore bytes with the timeout flag set in the atkbd_interrupt
> > function when we're not expecting an ACK/NAK.
> The problem with this approach is that if late NAK comes while we are
> actually waiting for result of some other command it will interfere and
> can cause misdetection.
This only happens with timeout NAKs. And in that case, there is no
device to talk to - and thus nothing can be misdetected.
SuSE Labs, SuSE CR
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/