2.6: Synaptics TouchPad and GPM (GPM patches)
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.
Quoted 2 lines · Dmitry Torokhov
You will find the patches at:
http://www.geocities.com/dt_or/gpm/patches/
Could you put a cumulative patch up as well?
Thanks,
Signature · 1 line
Joshua Kwan
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 (expectsMSC_GESTUREmessages from the kernel).
Quoted 3 lines
Kernel has to support
EV_SYNCfor 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.htmlThe 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
Quoted 8 lines · Vojtech Pavlik
Quoted 4 lines · Dmitry Torokhov
Kernel has to support
EV_SYNCfor 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
Quoted 7 lines · Dmitry Torokhov
Quoted 6 lines · Vojtech Pavlik
Quoted 4 lines · Dmitry Torokhov
Kernel has to support
EV_SYNCfor 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