Messages in this thread Patch in this message | | | From | Dmitry Torokhov <> | Subject | [PATCH 2/4] ALPS resume fix | Date | Mon, 4 Apr 2005 01:11:49 -0500 |
| |
===================================================================
Input: ALPS needs to be reset for detection to work reliably when reconnecting.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |