Re: 2.6.x atkbd.c moaning

From: Anton Blanchard
Date: Thu Mar 18 2004 - 07:05:07 EST



> Why is this and should I investigate further?
..

> mice: PS/2 mouse device common for all mice
> serio: i8042 AUX port at 0x60,0x64 irq 12
> input: ImExPS/2 Generic Explorer Mouse on isa0060/serio1
> serio: i8042 KBD port at 0x60,0x64 irq 1
> input: AT Translated Set 2 keyboard on isa0060/serio0
> atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).

Did this happen recently? If so, does backing out the following patch help?

Anton


# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/03/03 15:14:01+01:00 vojtech@xxxxxxx
# input: i8042.c:
# Assume the chip always is in XLATE mode, even when it doesn't
# have the XLATE bit set - apparently IBM PS/2 model 70 behaves
# this way.
#
# drivers/input/serio/i8042.c
# 2004/03/03 15:13:56+01:00 vojtech@xxxxxxx +0 -8
# input: i8042.c:
# Assume the chip always is in XLATE mode, even when it doesn't
# have the XLATE bit set - apparently IBM PS/2 model 70 behaves
# this way.
#
diff -Nru a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c
--- a/drivers/input/serio/i8042.c Thu Mar 18 15:06:59 2004
+++ b/drivers/input/serio/i8042.c Thu Mar 18 15:06:59 2004
@@ -722,14 +722,6 @@
}

/*
- * If the chip is configured into nontranslated mode by the BIOS, don't
- * bother enabling translating and be happy.
- */
-
- if (~i8042_ctr & I8042_CTR_XLATE)
- i8042_direct = 1;
-
-/*
* Set nontranslated mode for the kbd interface if requested by an option.
* After this the kbd interface becomes a simple serial in/out, like the aux
* interface is. We don't do this by default, since it can confuse notebook
-
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/