Re: [BUG: 2.6.9-rc2-bk11] input completely dead in X

From: Dmitry Torokhov
Date: Tue Sep 28 2004 - 02:21:01 EST


On Tuesday 28 September 2004 02:01 am, Vojtech Pavlik wrote:
> On Tue, Sep 28, 2004 at 01:26:19AM -0500, Dmitry Torokhov wrote:
> > Resending as I forgot to CC Vojtech and Peter first time around...
> >
> > On Monday 27 September 2004 10:46 pm, Micha Feigin wrote:
> > > > Or better yet, use the auto-dev feature, which should work if you have
> > > > a new enough X driver and kernel patch.
> > > >
> > >
> > > auto-dev doesn't work for me and I don't have time to check it
> > > out.
> >
> > Addition of Kensington ThinkingMouse / ExpertMouse support caused Synaptics
> > and ALPS protocol numbers to move to 8 and 9 respectively which broke Peter's
> > auto-dev detection.
>
> Ouch. I suspected something bad will happen.
>
> > Vojtech, we need to keep protcol numbers stable, I propose something like this:
> >
> > enum psmouse_type {
> >         PSMOUSE_PS2             = 0,
> >         PSMOUSE_PS2PP,
> >         PSMOUSE_THINKPS,
> >         PSMOUSE_GENPS           = 64,   /* 4 byte protocol start */
> >         PSMOUSE_IMPS,
> >         PSMOUSE_IMEX,
> >         PSMOUSE_SYNAPTICS       = 128,  /* 5+ byte protocols start */
> >         PSMOUSE_ALPS,
> > };
>
> No, we really need to keep backwards compatibility with the numbering
> here and solve the packetsize issue elsewhere. Probably the best would
> be for each of the protocols to have its own packet collection routine,
> like the Synaptics and ALPS already have. It could be shared among the
> simpler protocols.
>
> We'll need this anyway for a heuristic resynchronizer.
>

Ok, for now I am killing PS2TPP which is not really useful and will allow
THINKPS take it's spot moving SYNAPTICS and ALPS to their former numbers.

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