Re: [bisected regression] Touchpad "paste" stops working after suspend to RAM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 14, 2009 at 01:13:25PM +0200, Carlos R. Mafra wrote:
> On Tue 13.Oct'09 at 19:30:08 -0700, Dmitry Torokhov wrote:
> > On Wed, Oct 14, 2009 at 02:51:31AM +0200, Carlos R. Mafra wrote:
> > > On Tue 13.Oct'09 at 16:57:01 -0700, Dmitry Torokhov wrote:
> > > > On Tue, Oct 13, 2009 at 04:56:08PM -0700, Dmitry Torokhov wrote:
> > > > > On Wed, Oct 14, 2009 at 01:16:41AM +0200, Carlos R. Mafra wrote:
> > > > > > [restoring Cc: list]
> > > > > > 
> > > > > > On Tue 13.Oct'09 at 13:24:59 -0700, Dmitry Torokhov wrote:
> > > > > > >
> > > > > > > Could you please try this patch (again if you could post dmesg that
> > > > > > > would be great). Thank you!
> > > > > > 
> > > > > > The patch quoted below also fixes the problem. I attached the
> > > > > > syslog with i8042.debug (with a s2ram in the middle) to the
> > > > > > bugzilla: 
> > > > > > 
> > > > > > http://bugzilla.kernel.org/show_bug.cgi?id=14392
> > > > > > 
> > > > > 
> > > > > Still not quite happy, although it is better. I don't understand why
> > > > > your box likes to reply on AUX port when command is sent via keyboard
> > > > > port.
> > > > > 
> > > > > Could you please try booting with atkbd.reset (I assume keyboard is
> > > > > built in) and send me yet another dmesg.
> > > > > 
> > > > 
> > > > Oh, yes, keep the last patch applied. Thanks!
> > > 
> > > I uploaded the dmesg with atkbd.reset (and i8042.debug too, btw)
> > > to the bugzilla.
> > > 
> > 
> > Hmm, this is messed up... For some reason your box insists on replying
> > to reset commands from AUX port, no matter what device we trying to
> > reset. Does your box (Vaio, right?) has external PS/2 ports? I don't
> > believe Vaios have docking stations... 
> 
> My Vaio has no PS/2 port and no docking station.
> 
> > Also, could you please boot with
> > i8042.nomux and send me yet another dmesg and dmidecode too.
> 
> Ok, they are in the kernel bugzilla #14392 now.
> 
> > Thanks for your patience.
> 
> I thank _you_ for digging the problem even further. Your proposed patch
> "fixed" it already for me, but you are being honest in saying that
> you are still not happy with your fix and want to do better. I really
> appreciate that and will help you with what I can do. I hope there is
> a way out of my Vaio's oddities.

Ok, so here is hopefullt the last patch, it automatically disables MUX
mode on your Vaio since it is broken (you still need the previous patch
that changes atkbd since - there are 2 diffrent issues). I'd appreciate
if you could test it - if it works then you should see mention of only 2
serio ports in your dmesg and not 5.

Thanks!

-- 
Dmitry


Input: i8042 - add Sony Vaio VGN-FZ240E to the nomux list

From: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>

On this model, when KBD is in active multiplexing mode, acknowledgements
to reset and get ID commands issued on KBD port sometimes are delivered
to AUX3 port (touchpad) which messes up device detection. Legacy KBC
mode works fine and since there are no external PS/2 ports on this laptop
and no support for docking station we can safely disable active MUX mode.

Signed-off-by: Dmitry Torokhov <dtor@xxxxxxx>
---

 drivers/input/serio/i8042-x86ia64io.h |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)


diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h
index 77ff205..a537925 100644
--- a/drivers/input/serio/i8042-x86ia64io.h
+++ b/drivers/input/serio/i8042-x86ia64io.h
@@ -327,6 +327,17 @@ static struct dmi_system_id __initdata i8042_dmi_nomux_table[] = {
 		},
 	},
 	{
+		/*
+		 * Reset and GET ID commands issued via KBD port are
+		 * sometimes being delivered to AUX3.
+		 */
+		.ident = "Sony Vaio FZ-240E",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "VGN-FZ240E"),
+		},
+	},
+	{
 		.ident = "Amoi M636/A737",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "Amoi Electronics CO.,LTD."),
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux