Re: PROBLEM: PS/2 mouse wart does not work, while scratch pad does.

Take Vos (Take.Vos@binary-magic.com)
Sat, 9 Nov 2002 22:50:22 +0100


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hallo,

On Wednesday 23 October 2002 10:42, Vojtech Pavlik wrote:
> On Wed, Oct 23, 2002 at 12:46:31AM +0100, David Woodhouse wrote:
> > Take.Vos@binary-magic.com said:
> > > hardware:DELL Inspiron 8100
> > >
> > > The internal scratch pad works, but the internal wart mouse doesn't,
> > Probing for various other PS/2 extensions appears to confuse the thing
> > such that the clitmouse no longer works. If we probe for it first and
> > then abort the other probes, it seems happier...
This patch does display the "Synaptics TouchPad", but does not solve the
problem of not finding the clitmouse.

> Thanks, applied.
2.5.46 does not show the "Synaptics TouchPad" during boot, which this patch
did.

Greetings,
Take Vos

> > --- 1.16/drivers/input/mouse/psmouse.c Tue Oct 8 11:51:30 2002
> > +++ edited/drivers/input/mouse/psmouse.c Wed Oct 23 00:39:06 2002
> > @@ -311,6 +311,26 @@
> > if (psmouse_noext)
> > return PSMOUSE_PS2;
> >
> > +/*
> > + * Try Synaptics TouchPad magic ID
> > + */
> > +
> > + param[0] = 0;
> > + psmouse_command(psmouse, param, PSMOUSE_CMD_SETRES);
> > + psmouse_command(psmouse, param, PSMOUSE_CMD_SETRES);
> > + psmouse_command(psmouse, param, PSMOUSE_CMD_SETRES);
> > + psmouse_command(psmouse, param, PSMOUSE_CMD_SETRES);
> > + psmouse_command(psmouse, param, PSMOUSE_CMD_GETINFO);
> > +
> > + if (param[1] == 0x47) {
> > + /* We could do more here. But it's sufficient just
> > + to stop the subsequent probes from screwing the
> > + thing up. */
> > + psmouse->vendor = "Synaptics";
> > + psmouse->name = "TouchPad";
> > + return PSMOUSE_PS2;
> > + }
> > +
> > /*
> > * Try Genius NetMouse magic init.
> > */
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9zYMiMMlizP1UqoURAow3AJwLthJCIB8cZuHRIXps+R5cP2exTACeOe0y
qoFoX9a9JwQYpQhyhcBrrmY=
=9paf
-----END PGP SIGNATURE-----

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