All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pete Zaitcev <zaitcev@redhat.com>
To: Andries Brouwer <aebr@win.tue.nl>
Cc: Pete Zaitcev <zaitcev@redhat.com>,
	Chris Heath <chris@heathens.co.nz>,
	linux-kernel@vger.kernel.org
Subject: Re: i8042 problem
Date: Sun, 27 Jul 2003 21:55:45 -0400	[thread overview]
Message-ID: <20030727215545.A21295@devserv.devel.redhat.com> (raw)
In-Reply-To: <20030727104726.GA1313@win.tue.nl>; from aebr@win.tue.nl on Sun, Jul 27, 2003 at 12:47:26PM +0200

> Date: Sun, 27 Jul 2003 12:47:26 +0200
> From: Andries Brouwer <aebr@win.tue.nl>

> So the culprit is the failing of atkbd_probe().
> It does a ATKBD_CMD_GETID, but gets no answer, then a
> ATKBD_CMD_SETLEDS, and that command fails.

I see the light now. Somehow I imagined that atkbd code does not call
the ->open for the port. Now it all falls into place. Everything works
with a bigger timeout.

Thanks a lot, Andries & Chris!

-- Pete

diff -urN -X dontdiff linux-2.6.0-test1-bk2/drivers/input/keyboard/atkbd.c linux-2.6.0-test1-bk2-nip/drivers/input/keyboard/atkbd.c
--- linux-2.6.0-test1-bk2/drivers/input/keyboard/atkbd.c	2003-07-13 20:37:15.000000000 -0700
+++ linux-2.6.0-test1-bk2-nip/drivers/input/keyboard/atkbd.c	2003-07-27 15:20:35.000000000 -0700
@@ -214,7 +214,7 @@
 
 static int atkbd_sendbyte(struct atkbd *atkbd, unsigned char byte)
 {
-	int timeout = 10000; /* 100 msec */
+	int timeout = 20000; /* 200 msec */
 	atkbd->ack = 0;
 
 #ifdef ATKBD_DEBUG

  reply	other threads:[~2003-07-28  1:43 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-26  6:11 i8042 problem Pete Zaitcev
2003-07-26  9:36 ` Andries Brouwer
2003-07-27  1:41   ` Chris Heath
2003-07-27  6:06     ` Pete Zaitcev
2003-07-27 10:47       ` Andries Brouwer
2003-07-28  1:55         ` Pete Zaitcev [this message]
2003-07-28 11:25           ` Alan Cox
2003-07-28 11:59             ` Andries Brouwer
2003-07-28 14:01               ` Maciej W. Rozycki
2003-07-28 14:54                 ` Andries Brouwer
2003-07-28 15:43                   ` Maciej W. Rozycki
2003-07-28 15:51                     ` Andries Brouwer
2003-07-29 18:29                       ` Maciej W. Rozycki
2003-08-12 20:46                         ` Vojtech Pavlik
2003-08-13 13:44                           ` Maciej W. Rozycki
2003-07-28 16:07             ` Pete Zaitcev
2003-08-12 20:47               ` Vojtech Pavlik
2003-08-12 20:42         ` Vojtech Pavlik
2003-08-12 23:06           ` Andries Brouwer

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=20030727215545.A21295@devserv.devel.redhat.com \
    --to=zaitcev@redhat.com \
    --cc=aebr@win.tue.nl \
    --cc=chris@heathens.co.nz \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.