[PATCH 25/44] Only reprobe on PS/2 HW when the HW sends 0xaa

From: Vojtech Pavlik
Date: Tue Mar 16 2004 - 09:43:07 EST


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

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

ChangeSet@xxxxxxxxxxx, 2004-03-03 11:50:22+01:00, vojtech@xxxxxxx
input: Only do hotplug on PS/2 HW when the HW sends 0xaa. This
avoids problems with broken USB->PS/2 legacy emulation
in certain BIOSes.


serio.c | 3 +++
1 files changed, 3 insertions(+)

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

diff -Nru a/drivers/input/serio/serio.c b/drivers/input/serio/serio.c
--- a/drivers/input/serio/serio.c Tue Mar 16 13:18:33 2004
+++ b/drivers/input/serio/serio.c Tue Mar 16 13:18:33 2004
@@ -195,6 +195,9 @@
ret = serio->dev->interrupt(serio, data, flags, regs);
} else {
if (!flags) {
+ if ((serio->type == SERIO_8042 ||
+ serio->type == SERIO_8042_XL) && (data != 0xaa))
+ return ret;
serio_rescan(serio);
ret = IRQ_HANDLED;
}

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