Re: [PATCH] input: psmouse: create an 'enabled' sysfs attribute tosquelch mouse

From: Andres Salomon
Date: Sat Feb 25 2012 - 14:19:14 EST


On Fri, 24 Feb 2012 00:21:58 -0800
Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> wrote:

> Hi Andres,
>
> On Fri, Feb 17, 2012 at 06:06:34PM -0800, Andres Salomon wrote:
> >
> > From: Paul Fox <pgf@xxxxxxxxxx>
> >
> > on OLPC XO laptops, at least one model of touchpad (sentelic)
> > emits continuous jittery motion reports when the laptop is
> > configured in "ebook" mode. the touchpad is inaccessible in
> > that configuration, so we simply disable it.
> >
> > these motion reports will wake the SoC when put to sleep, so simply
> > ignoring the events is not a possibilty; the device must be
> > disabled.
>
> Can you switch the AUX serio port into manual bind mode (viqa sysfs)
> and simply connect/disconnect the touchpad as needed (again via
> sysfs)?
>

Thanks for the suggestion. We're in the process of testing that; it
does stop the touchpad from transmitting data, but there are some
reinit issues to be investigated. Quoth pgf, "the added latency
due to the reinit when we enter/exit ebook mode might or might not be
acceptable. and our touchpad (sentelic) needs some boot time
initialization from user-level -- we're not sure whether we'll need
to redo some or all of that. (we do seem to lose the current values of
vscroll and hscroll, for instance.)"
--
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/