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

Vojtech Pavlik
2004-07-29T14:56:56Z

ChangeSet@1.1722.148.13, 2004-06-21 20:31:56+02:00, vojtech@suse.cz
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@suse.cz>

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;