public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Vojtech Pavlik <vojtech@suse.cz>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Dmitry Torokhov <dtor_core@ameritech.net>,
	Peter Osterlund <petero2@telia.com>,
	Luca Bigliardi <shammash@artha.org>,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: Re: request for opinion on synaptics, adb and powerpc
Date: Sat, 7 Jan 2006 09:25:23 +0100	[thread overview]
Message-ID: <20060107082523.GA6276@corona.ucw.cz> (raw)
In-Reply-To: <1136608396.4840.206.camel@localhost.localdomain>

On Sat, Jan 07, 2006 at 03:33:15PM +1100, 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 ...
 
For X there is the synaptics driver, with more features than the pads
PS/2 mode.

For GPM there are the abovementioned patches, with configurable tap
characteristics, etc. They should be at least as good as the pads own
PS/2 mode.

For other legacy applications, there is the gpm repeater mode, exporting
GPM's functionality over the PS/2 protocol.

For legacy applications without GPM on the system, there is mousedev.c,
creating virtualized PS/2 devices for every application that opens it.
Its tap handling is not perfect, and it's not very much configurable,
but it works.

IMO there are enough options to make the device work well in absolute
mode.

If a relative mode is an absolute must, then a kernel option is IMO
sufficient (we have psmouse.proto=imps for the classic PS/2 Synaptics
pads), although a sysfs attribute would likely be better.

In theory, we could use EV_SYN, SYN_CONFIG for notifying applications
that the device has changed its capabilities, but a
disconnect/recreation will work better, since no applications support
the SYN_CONFIG notification ATM.

-- 
Vojtech Pavlik
SuSE Labs, SuSE CR

  parent reply	other threads:[~2006-01-07  8:25 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
2006-01-07  5:49               ` Benjamin Herrenschmidt
2006-01-07  8:25         ` Vojtech Pavlik [this message]
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=20060107082523.GA6276@corona.ucw.cz \
    --to=vojtech@suse.cz \
    --cc=benh@kernel.crashing.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=dtor_core@ameritech.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=petero2@telia.com \
    --cc=shammash@artha.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