Re: request for opinion on synaptics, adb and powerpc

From: Dmitry Torokhov
Date: Fri Jan 06 2006 - 23:27:10 EST


On Friday 06 January 2006 19:51, Benjamin Herrenschmidt wrote:
>
> > Fedora handles this situation by always installing the synaptics package
> > and setting up the X config file automatically if the computer has a
> > synaptics touchpad. I guess this approach could work for other
> > distributions too.
>
> The problem we have is a bit different (or I didn't understand
> something). The mac trackpad has it's own kernel driver and is all
> relative mode. Luca's patch will make it work in absolute mode instead
> for use with X synaptic driver, thus providing more "features" than the
> default relative-mode one.
>
> So what we are looking for is a way to have the kernel driver switch
> between raw and ps2 modes based on instruction/ioctl from the userland
> client (the X synaptic driver). This shouldn't be much of a problem if
> the X synaptic driver switches it to raw at X start and on EnterVT and
> back to what it was on LeaveVT...
>

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.

--
Dmitry
-
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/