[PATCH] Alps touchpad probing failure

From: Daniel Caujolle-Bert
Date: Wed Jan 19 2005 - 18:29:21 EST


Hi,

With 2.6.11-rc1 bk6 and bk7 (didn't tried with < bk6), my alps touchpad is no
more correctly probed, it's recognised as a standard PS/2 mouse.
So, with this trivial two line patch, everything is working again.

Cheers.
--
73's de Daniel "Der Schreckliche", F1RMB.

-=- Daniel Caujolle-Bert -=- segfault@xxxxxxxxxxxxxxxx -=-
-=- http://naboo.homelinux.org -=-
--- linux-2.6.11-rc1/drivers/input/mouse/alps.c 2005-01-19 19:43:36.000000000 +0100
+++ linux/drivers/input/mouse/alps.c 2005-01-19 19:34:32.000000000 +0100
@@ -194,6 +194,12 @@
int i;

/*
+ * Let's clean the stuff.
+ */
+ if(psmouse_reset(psmouse) < 0)
+ printk(KERN_ERR "alps reset failed\n");
+
+ /*
* First try "E6 report".
* ALPS should return 0x00,0x00,0x0a or 0x00,0x00,0x64
*/

Attachment: pgp00000.pgp
Description: PGP signature