lkml.org 
[lkml]   [2004]   [Feb]   [14]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 14 Feb 2004 10:59:00 +0100
FromVojtech Pavlik <>
SubjectRe: Strange atkbd messages with missing keyboard
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.

-- 
Vojtech Pavlik
SuSE Labs, SuSE CR
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:00    [from the cache]
©2003-2008