Skip to contentSkip to conversation

2.6: Synaptics TouchPad and GPM (GPM patches)

DISCUSSION Dmitry Torokhov 3 participants 5 messages Aug 23, 2003 – Aug 27, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

Apologies for the semi-offtopic message but ever since support for Synaptics' absolute mode went in many people complained that it broke GPM.

I did some work on extending evdev support in GPM, the new protocol implementation supports following subtypes:

1. relative device - standard relative device like generic PS/2 mouse reporting via /dev/input/eventX
2. absolute device - touch screens and tablets.
3. touchpad - device reporting absolute coordinates and pressure via /dev/input/event, GPM recognizes normal and corner tapping.
4. synaptics - same as touchpad but also supports multi-finger taps (expects MSC_GESTURE messages from the kernel).

Kernel has to support EV_SYNC for touchpad and synaptics support, relative and absolute modes can be used with 2.4 kernels by specifying nosync option.

You will find the patches at:
http://www.geocities.com/dt_or/gpm/patches/

RPMs (binary and source) built on RH8 are at:
http://www.geocities.com/dt_or/gpm/RPMS/

The README is at:
http://www.geocities.com/dt_or/gpm/gpm.html

The patches work pretty well for me and I hope they will work for others too. Because of limited hardware I could not test evdev with touchscreen or a tablet.

Dmitry.

#2 lore raw
In reply to Dmitry Torokhov
Quoted 17 lines · Dmitry Torokhov

Hi,

Apologies for the semi-offtopic message but ever since support for Synaptics' absolute mode went in many people complained that it broke GPM.

I did some work on extending evdev support in GPM, the new protocol implementation supports following subtypes:

1. relative device - standard relative device like generic PS/2 mouse reporting via /dev/input/eventX
2. absolute device - touch screens and tablets.
3. touchpad - device reporting absolute coordinates and pressure via /dev/input/event, GPM recognizes normal and corner tapping.
4. synaptics - same as touchpad but also supports multi-finger taps (expects MSC_GESTURE messages from the kernel).

Quoted 3 lines

Kernel has to support EV_SYNC for touchpad and synaptics support, relative and absolute modes can be used with 2.4 kernels by specifying nosync option.

You should not need any options for this - it's all queryable via ioctls ...

Quoted 19 lines

You will find the patches at:
http://www.geocities.com/dt_or/gpm/patches/

RPMs (binary and source) built on RH8 are at:
http://www.geocities.com/dt_or/gpm/RPMS/

The README is at:
http://www.geocities.com/dt_or/gpm/gpm.html

The patches work pretty well for me and I hope they will work for others too. Because of limited hardware I could not test evdev with touchscreen or a tablet.

Dmitry.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 2 lines
Vojtech Pavlik
SuSE Labs, SuSE CR
#3 lore raw
Quoted 8 lines · Vojtech Pavlik
Quoted 4 lines · Dmitry Torokhov

Kernel has to support EV_SYNC for touchpad and synaptics support, relative and absolute modes can be used with 2.4 kernels by specifying nosync option.

You should not need any options for this - it's all queryable via ioctls
...

Done, along with implementing new type "auto" which selects best mode for the device.

Dmitry

#4 lore raw
Quoted 7 lines · Dmitry Torokhov
Quoted 6 lines · Vojtech Pavlik
Quoted 4 lines · Dmitry Torokhov

Kernel has to support EV_SYNC for touchpad and synaptics support, relative and absolute modes can be used with 2.4 kernels by specifying nosync option.

Quoted 5 lines
Quoted 2 lines

You should not need any options for this - it's all queryable via ioctls
...

Done, along with implementing new type "auto" which selects best mode for the device.

Cool.

You could even make it search for all mouse-like input devices ...

Signature · 2 lines
Vojtech Pavlik
SuSE Labs, SuSE CR