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

Bug #1209049 reported by Matt Whitlock
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-grouper (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

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 the 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.

Tags: patch
Revision history for this message
Matt Whitlock (whitslack) wrote :
tags: added: patch
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Hi Matt,

Can you send this patch request to the Ubuntu Kernel Team mailing list for review:
<email address hidden>

In your request, you can reference this bug.

Thanks in advance.

Changed in linux-grouper (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Matt Whitlock (whitslack) wrote :

Seth Forshee pointed out that input_mt_report_pointer_emulation exists for this purpose, so I've switched to it. Tested working.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.