[PATCH 2/39] input: Profusion/ServerWorks chipset workaround in i8042.c for Ingo Molnar.

From: Vojtech Pavlik
Date: Mon Jun 07 2004 - 06:58:21 EST


You can pull this changeset from:
bk://kernel.bkbits.net/vojtech/input-for-linus

===================================================================

ChangeSet@xxxxxxxxxxxx, 2004-03-26 16:27:05+01:00, vojtech@xxxxxxx
input: Profusion/ServerWorks chipset workaround in i8042.c for Ingo Molnar.


i8042.c | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletion(-)

===================================================================

diff -Nru a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c
--- a/drivers/input/serio/i8042.c 2004-06-07 13:13:43 +02:00
+++ b/drivers/input/serio/i8042.c 2004-06-07 13:13:43 +02:00
@@ -474,8 +474,17 @@
if (i8042_command(&param, I8042_CMD_AUX_LOOP) || param != 0xa9)
return -1;
param = 0xa4;
- if (i8042_command(&param, I8042_CMD_AUX_LOOP) || param == 0x5b)
+ if (i8042_command(&param, I8042_CMD_AUX_LOOP) || param == 0x5b) {
+
+/*
+ * Do another loop test with the 0x5a value. Doing anything else upsets
+ * Profusion/ServerWorks OSB4 chipsets.
+ */
+
+ param = 0x5a;
+ i8042_command(&param, I8042_CMD_AUX_LOOP);
return -1;
+ }

if (mux_version)
*mux_version = ~param;

-
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/