From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Sitsofe Wheeler <sitsofe@yahoo.com>
Cc: linux-kernel@vger.kernel.org,
Alan Jenkins <sourcejedi.lkml@googlemail.com>,
Matthew Garrett <mjg59@srcf.ucam.org>
Subject: Re: EeePC 900 trackpad often not detected at boot in 2.6.30-rc4
Date: Fri, 15 May 2009 20:29:24 -0700 [thread overview]
Message-ID: <20090516032924.GD12099@dtor-d630.eng.vmware.com> (raw)
In-Reply-To: <20090516032754.GC12099@dtor-d630.eng.vmware.com>
On Fri, May 15, 2009 at 08:27:55PM -0700, Dmitry Torokhov wrote:
> On Wed, May 13, 2009 at 08:19:53PM +0100, Sitsofe Wheeler wrote:
> > Hi,
> >
> > > On Tue, May 12, 2009 at 08:20:54PM -0700, Dmitry Torokhov wrote:
> > > >
> > > > Could you try booting with i8042.debug and send me dmesg of the case
> >
> > See below:
> >
>
> Thanks. I have an idea what is happening... Could you please attach the
> debug patch below and give me debug dmesg of the failure again? Thanks!
>
> --
> Dmitry
And now... *drumroll* ...the patch!
--
Dmitry
Input: libps2 - debug patch
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
---
drivers/input/serio/libps2.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/input/serio/libps2.c b/drivers/input/serio/libps2.c
index a0d8968..4938adc 100644
--- a/drivers/input/serio/libps2.c
+++ b/drivers/input/serio/libps2.c
@@ -208,6 +208,9 @@ int __ps2_command(struct ps2dev *ps2dev, unsigned char *param, int command)
timeout = wait_event_timeout(ps2dev->wait,
!(ps2dev->flags & PS2_FLAG_CMD1), timeout);
+ if (ps2dev->cmdcnt && timeout <= 0 && !(ps2dev->flags & PS2_FLAG_CMD1))
+ printk(KERN_ERR "libps2: errorneously fail %d command\n", command);
+
if (ps2dev->cmdcnt && timeout > 0) {
timeout = ps2_adjust_timeout(ps2dev, command, timeout);
next prev parent reply other threads:[~2009-05-16 3:29 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-11 7:21 EeePC 900 trackpad often not detected at boot in 2.6.29-rc4 Sitsofe Wheeler
2009-05-13 3:20 ` Dmitry Torokhov
2009-05-13 18:53 ` EeePC 900 trackpad often not detected at boot in 2.6.30-rc4 Sitsofe Wheeler
2009-05-13 19:19 ` Sitsofe Wheeler
2009-05-16 3:27 ` Dmitry Torokhov
2009-05-16 3:29 ` Dmitry Torokhov [this message]
2009-05-18 8:41 ` Sitsofe Wheeler
2009-05-18 9:42 ` Sitsofe Wheeler
2009-05-20 2:47 ` Dmitry Torokhov
2009-05-20 5:47 ` Sitsofe Wheeler
2009-05-20 7:25 ` Dmitry Torokhov
2009-05-26 22:20 ` Sitsofe Wheeler
2009-05-28 15:54 ` Dmitry Torokhov
2009-05-28 16:42 ` Sitsofe Wheeler
2009-05-28 16:49 ` Dmitry Torokhov
2009-05-29 9:31 ` Sitsofe Wheeler
2009-05-29 14:39 ` Dmitry Torokhov
2009-05-20 8:38 ` Ingo Molnar
2009-05-26 22:14 ` Sitsofe Wheeler
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=20090516032924.GD12099@dtor-d630.eng.vmware.com \
--to=dmitry.torokhov@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mjg59@srcf.ucam.org \
--cc=sitsofe@yahoo.com \
--cc=sourcejedi.lkml@googlemail.com \
/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.