Re: [PATCH] psmouse: disable the synaptics extension on OLPCmachines.

From: Dmitry Torokhov
Date: Sat Dec 18 2010 - 02:02:18 EST


On Fri, Dec 17, 2010 at 10:14:47PM -0800, Andres Salomon wrote:
> On Fri, 17 Dec 2010 21:49:28 -0800
> Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> wrote:
>
> > On Fri, Dec 17, 2010 at 09:09:39PM -0800, Andres Salomon wrote:
> > >
> > > OLPC has switched to a Synaptics touchpad. It turns out that it's
> > > pretty useless in absolute mode. This patch looks for an OLPC
> > > system (via DMI tables), and refuses to init Synaptics mode in
> > > that scenario (falling back to relative mode).
> > >
> > > Signed-off-by: Andres Salomon <dilinger@xxxxxxxxxx>
> >
> > Andres,
> >
> > Can we do what hgpk does and add "depend on !OLPC" to the Kconfig
> > instead?
> >
> > Thanks.
> >
>
> That wouldn't work for distro kernels, unfortunately. Currently the
> kernels that OLPC releases disable CONFIG_MOUSE_PS2_SYNAPTICS. I'd
> like to use a stock distribution kernel, which would need to enable
> both CONFIG_OLPC *and* CONFIG_MOUSE_PS2_SYNAPTICS.. Hence the
> motivation for this patch. :)

What about just adding psmouse.proto=exps then?

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