[PATCH 26/47] when probing for ImExPS/2 mice, the ImPS/2 sequence needs to be sent first

From: Vojtech Pavlik
Date: Thu Jul 29 2004 - 13:12:42 EST


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

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

ChangeSet@xxxxxxxxxxxxx, 2004-06-21 20:31:56+02:00, vojtech@xxxxxxx
input: when probing for ImExPS/2 mice, the ImPS/2 sequence needs
to be sent first, but the result should be ignored.

Signed-off-by: Vojtech Pavlik <vojtech@xxxxxxx>


psmouse-base.c | 2 ++
1 files changed, 2 insertions(+)

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

diff -Nru a/drivers/input/mouse/psmouse-base.c b/drivers/input/mouse/psmouse-base.c
--- a/drivers/input/mouse/psmouse-base.c Thu Jul 29 14:40:13 2004
+++ b/drivers/input/mouse/psmouse-base.c Thu Jul 29 14:40:13 2004
@@ -418,6 +418,8 @@
{
unsigned char param[2];

+ intellimouse_detect(psmouse);
+
param[0] = 200;
psmouse_command(psmouse, param, PSMOUSE_CMD_SETRATE);
param[0] = 200;

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