[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090516032924.GD12099@dtor-d630.eng.vmware.com>
Date: Fri, 15 May 2009 20:29:24 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Sitsofe Wheeler <sitsofe@...oo.com>
Cc: linux-kernel@...r.kernel.org,
Alan Jenkins <sourcejedi.lkml@...glemail.com>,
Matthew Garrett <mjg59@...f.ucam.org>
Subject: Re: EeePC 900 trackpad often not detected at boot in 2.6.30-rc4
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@...il.com>
Signed-off-by: Dmitry Torokhov <dtor@...l.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);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists