From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Andres Salomon <dilinger@queued.net>
Cc: Daniel Drake <dsd@laptop.org>,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
pgf@laptop.org, James Cameron <quozl@laptop.org>
Subject: Re: [PATCH] psmouse: disable the synaptics extension on OLPC machines.
Date: Sun, 19 Dec 2010 00:37:09 -0800 [thread overview]
Message-ID: <20101219083709.GE10074@core.coreip.homeip.net> (raw)
In-Reply-To: <20101219003214.26f1a6b1@queued.net>
On Sun, Dec 19, 2010 at 12:32:14AM -0800, Andres Salomon wrote:
> On Sun, 19 Dec 2010 00:20:27 -0800
> Dmitry Torokhov <dmitry.torokhov@gmail.com> wrote:
>
> > On Sat, Dec 18, 2010 at 10:00:51AM +0000, Daniel Drake wrote:
> > > On 18 December 2010 07:02, Dmitry Torokhov
> > > <dmitry.torokhov@gmail.com> wrote:
> > > > What about just adding psmouse.proto=exps then?
> > >
> > > It's not quite that simple either, because we want the same distro
> > > image to work on all versions of XO. XO's can come with either hgpk,
> > > synaptics, or sentelic touchpads. In the sentelic and hgpk cases,
> > > we'd want the "real" drivers to kick in.
> > >
> >
> > Hmm, I am confused. HGPK depends on OLPC so your distribution must
> > have it defined. Are there general purpose distributions that enable
> > OLPC?
>
>
> Yes, Debian enables CONFIG_OLPC in its 486 kernel (and one of these
> days, I'll open up a bug for them to enable it in their 686 kernel).
>
> There are 3 types of touchpads in OLPC XO machines (hgpk, synaptics,
> and sentelics). If the hardware is either hgpk or sentelics, we want
> those extensions to load. If the hardware is synaptics, we want the
> extension not to load. Doing this via kernel
> arg doesn't work, as a generic distributions (and even those built
> specifically for OLPC XOs) will not know which touchpad hardware will
> be in use.
>
It still should be theoretically possible to do it in userspace (playing
with protocol settings via sysfs) but I think in kernel is less painful.
I'll apply the patch.
Thanks for the explanations.
--
Dmitry
prev parent reply other threads:[~2010-12-19 8:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-18 5:09 [PATCH] psmouse: disable the synaptics extension on OLPC machines Andres Salomon
2010-12-18 5:49 ` Dmitry Torokhov
2010-12-18 6:14 ` Andres Salomon
2010-12-18 7:02 ` Dmitry Torokhov
2010-12-18 10:00 ` Daniel Drake
2010-12-19 8:20 ` Dmitry Torokhov
2010-12-19 8:32 ` Andres Salomon
2010-12-19 8:37 ` Dmitry Torokhov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101219083709.GE10074@core.coreip.homeip.net \
--to=dmitry.torokhov@gmail.com \
--cc=dilinger@queued.net \
--cc=dsd@laptop.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pgf@laptop.org \
--cc=quozl@laptop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).