Thanks a lot for finding this! I thnk we can remove it for now, or
actually add a reverse option to force the restore only if needed - most
machines don't need it.
I'm doing the change immediately.
> Or maybe you have a better idea...
>
> Stelian.
>
> ===== drivers/input/serio/i8042.c 1.5 vs edited =====
> --- 1.5/drivers/input/serio/i8042.c Sat Jul 13 20:31:00 2002
> +++ edited/drivers/input/serio/i8042.c Fri Jul 19 15:36:09 2002
> @@ -221,12 +221,16 @@
>
> retval = i8042_command(&c, I8042_CMD_AUX_SEND);
>
> +#if 0
> /*
> * Here we restore the CTR value. I don't know why, but i8042's in half-AT
> * mode tend to trash their CTR when doing the AUX_SEND command.
> + *
> + * However, for some reasons this breaks (at least) my Sony VAIO C1VE
> + * aux interface.
> */
> -
> retval |= i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR);
> +#endif
>
> /*
> * Make sure the interrupt happens and the character is received even
> --
> Stelian Pop <stelian.pop@fr.alcove.com>
> Alcove - http://www.alcove.com
-- Vojtech Pavlik SuSE Labs - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/