public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dtor_core@ameritech.net>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Peter Osterlund <petero2@telia.com>,
	Luca Bigliardi <shammash@artha.org>,
	Vojtech Pavlik <vojtech@suse.cz>,
	linux-kernel@vger.kernel.org
Subject: Re: request for opinion on synaptics, adb and powerpc
Date: Sat, 7 Jan 2006 00:02:46 -0500	[thread overview]
Message-ID: <200601070002.47255.dtor_core@ameritech.net> (raw)
In-Reply-To: <200601062346.30987.dtor_core@ameritech.net>

On Friday 06 January 2006 23:46, Dmitry Torokhov wrote:
> On Friday 06 January 2006 23:44, Benjamin Herrenschmidt wrote:
> > On Fri, 2006-01-06 at 23:36 -0500, Dmitry Torokhov wrote:
> > > On Friday 06 January 2006 23:33, Benjamin Herrenschmidt wrote:
> > > > 
> > > > > Why would you want to switch to relative mode when leaving X? As far as
> > > > > I know the only other mouse "user" out there is GPM and there are patches
> > > > > available for it to use event device:
> > > > > 
> > > > > 	http://geocities.com/dt_or/gpm/gpm.html
> > > > > 
> > > > > Unfortunately the maintainer can't find time to merge these so they were
> > > > > sitting there for over 2 years. FWIW Fedora patches their GPM with these.
> > > > 
> > > > gpm among other legacy things ...
> > > > 
> > > 
> > > What other legacy things? And in that case I think manually forcing protocol
> > > back to relative would be an option.
> > > 
> > > The thing is that Synaptics in absolute and relative mode is 2 completely
> > > different devices with different capabilities. If you want to switch mode
> > > you really need to kill old input device and create a brand new one.
> > 
> > Ok, so what method should we use to "switch" ? sysfs isn't quite an
> > option yet as the ADB bus isn't yet represented there (unless we add
> > attributes to the input object, but that's a bit awkward as it would be
> > destroyed and re-created if I follow you). A module option would work
> > but adbhid isn't a module, thus that would basically end up as a static
> > kernel argument, unless the driver "polls" the module param regulary to
> > trigger the change.. I don't think there is a way for a driver to get a
> > callback when /sys/module/<driver>/parameters/* changes is there ?
> > 
> 
> Yes, there is, but I'd imagine static option would be just fine. After
> all you either use legacy applications or you don't. And if mousedev
> does not provide adequate emulation you switch to relative mothod.
> 

Oh, yes, another option for legacy applications would be to use GPM's
repeater mode.

-- 
Dmitry

  reply	other threads:[~2006-01-07  5:02 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20060106231301.GG4732@kamaji.shammash.lan>
2006-01-07  0:25 ` request for opinion on synaptics, adb and powerpc Peter Osterlund
2006-01-07  0:51   ` Benjamin Herrenschmidt
2006-01-07  4:17     ` Dmitry Torokhov
2006-01-07  4:33       ` Benjamin Herrenschmidt
2006-01-07  4:36         ` Dmitry Torokhov
2006-01-07  4:44           ` Benjamin Herrenschmidt
2006-01-07  4:46             ` Dmitry Torokhov
2006-01-07  5:02               ` Dmitry Torokhov [this message]
2006-01-07  5:49               ` Benjamin Herrenschmidt
2006-01-07  8:25         ` Vojtech Pavlik
2006-01-07 16:04           ` Dmitry Torokhov
2006-01-07 18:40             ` Vojtech Pavlik
2006-01-07 22:15               ` Benjamin Herrenschmidt

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=200601070002.47255.dtor_core@ameritech.net \
    --to=dtor_core@ameritech.net \
    --cc=benh@kernel.crashing.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=petero2@telia.com \
    --cc=shammash@artha.org \
    --cc=vojtech@suse.cz \
    /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