Thanks!
> It is available here:
>
> http://w1.894.telia.com/~u89404340/touchpad/index.html
>
> I think the following patch should be applied anyway. It adds a link
> to the html page, fixes bogus reset retry logic and fixes a deviation
> from the coding style preferred by Linus.
>
>
> diff -u -r linux/drivers/input/mouse.orig/Kconfig linux/drivers/input/mouse/Kconfig
> --- linux/drivers/input/mouse.orig/Kconfig 2003-06-19 01:30:39.000000000 +0200
> +++ linux/drivers/input/mouse/Kconfig 2003-06-17 22:03:17.000000000 +0200
> @@ -37,7 +37,7 @@
> This touchpad is found on many modern laptop computers.
> Note that you also need a user space driver to interpret the data
> generated by the kernel. A compatible driver for XFree86 is available
> - from http://...
> + from http://w1.894.telia.com/~u89404340/touchpad/index.html
>
> If unsure, say Y.
>
> diff -u -r linux/drivers/input/mouse.orig/synaptics.c linux/drivers/input/mouse/synaptics.c
> --- linux/drivers/input/mouse.orig/synaptics.c 2003-06-19 01:30:47.000000000 +0200
> +++ linux/drivers/input/mouse/synaptics.c 2003-06-17 22:06:48.000000000 +0200
> @@ -171,9 +171,9 @@
> static int query_hardware(struct psmouse *psmouse)
> {
> struct synaptics_data *priv = psmouse->private;
> - int retries = 3;
> + int retries = 0;
>
> - while ((retries++ <= 3) && synaptics_reset(psmouse))
> + while ((retries++ < 3) && synaptics_reset(psmouse))
> printk(KERN_ERR "synaptics reset failed\n");
>
> if (synaptics_identify(psmouse, &priv->identity))
> @@ -266,8 +266,7 @@
> * Functions to interpret the absolute mode packets
> ****************************************************************************/
>
> -static void synaptics_parse_hw_state(struct synaptics_data *priv,
> - struct synaptics_hw_state *hw)
> +static void synaptics_parse_hw_state(struct synaptics_data *priv, struct synaptics_hw_state *hw)
> {
> unsigned char *buf = priv->proto_buf;
>
>
> --
> Peter Osterlund - petero2@telia.com
> http://w1.894.telia.com/~u89404340
-- Vojtech Pavlik SuSE Labs, SuSE CR - 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/