Re: [PATCH] Synaptics: support for pass-through port (stick)

From: Dmitry Torokhov (dtor_core@ameritech.net)
Date: Mon Jul 07 2003 - 12:34:02 EST


On Monday 07 July 2003 06:44 am, Peter Berg Larsen wrote:
> On Sun, 6 Jul 2003, Dmitry Torokhov wrote:
> > + /* adjust the touchpad to child's choice of protocol */
> > + child = port->private;
> > + if (child && child->type >= PSMOUSE_GENPS) {
>
> Not type > PSMOUSE_GENPS ?
>

We have this code in psmouse-base.c ...

        if (psmouse->pktcnt == 3 + (psmouse->type >= PSMOUSE_GENPS)) {
                psmouse_process_packet(psmouse, regs);
                psmouse->pktcnt = 0;
                goto out;
        }

..or am I misreading it?

I will check what can be done with 0xAA 0x00 before we decide to rescan
later this evening.

Dmitry

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



This archive was generated by hypermail 2b29 : Mon Jul 07 2003 - 22:00:30 EST