[gpm]ALPS driver?

Nathan Conrad conrad@bungled.net
Tue, 30 Jul 2002 10:38:01 -0400


--LZvS9be/3tNcYl/X
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

I've been playing with the new linux kernel 2.5 input system a bit. I
added a driver based on the patch listed a long time ago. If anyone
has an idea of how to detect if the device is the ALPS pad, it would
be very helpful. Does anyone have any documentation on it?

What will happen is that GPM will use the input event mechinism. It
will receive the absolute positioning of the finger, and GPM will have
to translate them into relative motions. It also sends the right and
left mouse buttons.

I think that it will send a BTN_TOUCH event when the pad reports a
touch and a BTN_DRAG when it receives a drag event. These could be
ignored by the gpm if gpm choses to calculate these things from the
three absolute positions (X, Y, pressure).

-Nathan

>On Thu, 18 Jul 2002, James Marca wrote:
>
>> Of course, I don't have any of the fancy stuff that I can get
>> when I boot into windows, and that it appears one can=20
>> get with the synaptics gpm driver.   any hints?
>
>Wait for the synaptics.c to be split in general touchpad and synaptic
>parts. I have delayed this because there are some cyclic dependencies,
>which are not solved nicely (I am hopping it suddenly strikes me
>how). I
>have been working on this lately though.
>
>(if you are desprerate a hack is easy: copy synaptics.c, remove all
>syn_*=20
>functions, add alps interface functions that calls the remaining tp_*
>functions.)
>
>Peter
>--
>E-Mail:       pebl@math.ku.dk=20
>Real name:    Peter Berg Larsen=20
>Where:        Department of Computer Science, Copenhagen Uni., Denmark

--=20
Nathan J. Conrad    (919) 929-6413   http://bungled.net
101 Cynthia Drive / Chapel Hill, NC 27514-6614
GPG: F4FC 7E25 9308 ECE1 735C  0798 CE86 DA45 9170 3112


--LZvS9be/3tNcYl/X
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9RqTJzobaRZFwMRIRAho3AJ48bD4YCPN/Cvi2hTXfK8lUNzmjXwCdH6M0
TVxPYhKW9Rz1HUkebwj2loY=
=XN8Y
-----END PGP SIGNATURE-----

--LZvS9be/3tNcYl/X--