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

Vojtech Pavlik
2004-06-07T11:55:36Z

ChangeSet@1.1371.628.2, 2004-03-26 16:27:05+01:00, vojtech@suse.cz
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;