[PATCH 2/4] ALPS resume fix

From: Dmitry Torokhov
Date: Mon Apr 04 2005 - 01:20:52 EST


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

Input: ALPS needs to be reset for detection to work reliably when
reconnecting.

Signed-off-by: Dmitry Torokhov <dtor@xxxxxxx>


alps.c | 2 ++
1 files changed, 2 insertions(+)

Index: dtor/drivers/input/mouse/alps.c
===================================================================
--- dtor.orig/drivers/input/mouse/alps.c
+++ dtor/drivers/input/mouse/alps.c
@@ -341,6 +341,8 @@ static int alps_reconnect(struct psmouse
unsigned char param[4];
int version;

+ psmouse_reset(psmouse);
+
if (!(priv->i = alps_get_model(psmouse, &version)))
return -1;

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