Messages in this thread Patch in this message | | | Subject | [PATCH 25/44] Only reprobe on PS/2 HW when the HW sends 0xaa | Date | Tue, 16 Mar 2004 15:19:37 +0100 | From | Vojtech Pavlik <> |
| |
You can pull this changeset from: bk://kernel.bkbits.net/vojtech/input
===================================================================
ChangeSet@1.1608.56.3, 2004-03-03 11:50:22+01:00, vojtech@suse.cz 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |