From: Vojtech Pavlik <vojtech@suse.cz>
To: Dmitry Torokhov <dtor_core@ameritech.net>
Cc: linux-kernel@vger.kernel.org, Meelis Roos <mroos@linux.ee>
Subject: Re: Strange atkbd messages with missing keyboard
Date: Sat, 14 Feb 2004 10:59:00 +0100 [thread overview]
Message-ID: <20040214095900.GA323@ucw.cz> (raw)
In-Reply-To: <200402131746.15884.dtor_core@ameritech.net>
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
prev parent reply other threads:[~2004-02-14 9:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-12 14:18 Strange atkbd messages with missing keyboard Meelis Roos
2004-02-12 14:46 ` Andries Brouwer
2004-02-12 21:36 ` Vojtech Pavlik
2004-02-13 13:12 ` Meelis Roos
2004-02-13 18:27 ` Dmitry Torokhov
2004-02-13 18:57 ` Vojtech Pavlik
2004-02-13 22:46 ` Dmitry Torokhov
2004-02-14 9:59 ` Vojtech Pavlik [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040214095900.GA323@ucw.cz \
--to=vojtech@suse.cz \
--cc=dtor_core@ameritech.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mroos@linux.ee \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox