[PATCH 3/4] Explicitly set All-Repeat mode in Set3 on AT keyboards.

From: Vojtech Pavlik
Date: Mon Sep 29 2003 - 13:36:41 EST


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

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

ChangeSet@xxxxxx, 2003-09-29 12:59:49+02:00, vojtech@xxxxxxx
input: Explicitly set All-Repeat mode in Set3 on AT keyboards.


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

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

diff -Nru a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
--- a/drivers/input/keyboard/atkbd.c Mon Sep 29 19:36:59 2003
+++ b/drivers/input/keyboard/atkbd.c Mon Sep 29 19:36:59 2003
@@ -111,6 +111,7 @@
#define ATKBD_CMD_SETREP 0x10f3
#define ATKBD_CMD_ENABLE 0x00f4
#define ATKBD_CMD_RESET_DIS 0x00f5
+#define ATKBD_CMD_SETALL_MBR 0x00fa
#define ATKBD_CMD_RESET_BAT 0x02ff
#define ATKBD_CMD_RESEND 0x00fe
#define ATKBD_CMD_EX_ENABLE 0x10ea
@@ -519,6 +520,8 @@
if (atkbd_command(atkbd, param, ATKBD_CMD_SSCANSET))
return 2;
}
+
+ atkbd_command(atkbd, param, ATKBD_CMD_SETALL_MBR);

return 3;
}

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