lkml.org 
[lkml]   [2006]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: request for opinion on synaptics, adb and powerpc
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-07 09:28    [W:0.158 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site