[PATCH 5/9] psmouse broken hardware workaround

From: Dmitry Torokhov
Date: Sun Feb 29 2004 - 02:17:23 EST



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


ChangeSet@xxxxxx, 2004-02-27 23:57:31-05:00, dtor_core@xxxxxxxxxxxxx
Psmouse: some hardware does not ACK "disable streaming mode" command.
Since we already have an idea that it's a mouse device that
is present (from its response to GET ID command), instead of
aborting, issue a warning and continue.


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


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



diff -Nru a/drivers/input/mouse/psmouse-base.c b/drivers/input/mouse/psmouse-base.c
--- a/drivers/input/mouse/psmouse-base.c Sun Feb 29 01:17:30 2004
+++ b/drivers/input/mouse/psmouse-base.c Sun Feb 29 01:17:30 2004
@@ -442,7 +442,7 @@
*/

if (psmouse_command(psmouse, NULL, PSMOUSE_CMD_RESET_DIS))
- return -1;
+ printk(KERN_WARNING "psmouse.c: Failed to reset mouse on %s\n", psmouse->serio->phys);

/*
* And here we try to determine if it has any extensions over the
-
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/