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

From: Carlos R. Mafra
Date: Thu Oct 15 2009 - 07:11:42 EST


On Wed 14.Oct'09 at 17:44:52 -0700, Dmitry Torokhov wrote:
> 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

I tested the patch below on top of the atkbd patch, and paste still
works after s2ram

> - if it works then you should see mention of only 2
> serio ports in your dmesg and not 5.

And now I see this in the dmesg

PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice

so your patch did what you said it would.

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-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/