[PATCH] make ektf3k driver report non-MT events too

Matt Whitlock launchpad at mattwhitlock.name
Wed Aug 7 17:51:12 UTC 2013


Joseph Salisbury requested that I submit this patch to the Ubuntu Kernel Team mailing list for review.

> This patch resolves a shortcoming of the ektf3k driver. Previously, the
> driver was reporting only multi-touch events. xf86-input-evdev 2.7.3
> crashes upon receiving input events from [that] driver, and 2.8.1 simply
> ignores the input device altogether as a workaround for the crash.
> 
> This patch adds single-touch ABS_X, ABS_Y, and ABS_PRESSURE axes, as well as
> the BTN_TOUCH key. Only the first finger touching reports on these
> single-touch axes (while continuing to report on the multi-touch axes);
> additional fingers report only on the multi-touch axes.
> 
> I have tested this patch on a Nexus 7 running X.org server 1.13.4 and
> xf86-input-evdev 2.8.1. Without the patch, evdev ignores all input from the
> touchscreen. With the patch, evdev generates mouse events in response to
> touches, as one would expect.

https://bugs.launchpad.net/ubuntu/+source/linux-grouper/+bug/1209049
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ektf3k-singletouch.patch
Type: text/x-patch
Size: 3105 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20130807/ffcdb48e/attachment.bin>


More information about the kernel-team mailing list