Thread (11 messages) flat view 11 messages, 3 authors, 2015-03-24

Re: [PATCH v3 0/4] input: ft5x06: Fix userspace reported maximum value

From: Markus Pargmann <hidden>
Date: 2015-03-12 14:30:44
Also in: lkml

Hi Maxime,

On Tue, Mar 03, 2015 at 02:50:42PM +0100, Maxime Ripard wrote:
Hi,

The current ft5x06 reports to the user-space that its maximum
coordinates are, on both X and Y, way higher than what could be
actually usable on the screen (in my case, 5759x1151 instead of
480x800).

This causes trouble on some userspace stacks that then try to re-scale
these coordinates back to the framebuffer resolution, like QT does.

Use the of_touchscreen code to find the real touchscreen limits in the
DT case, and report that to the userspace.
Thanks for sending it again. This series works for me on imx6q with an
edt-ft5x06 touchscreen.

Tested-by: Markus Pargmann <redacted>

Best Regards,

Markus

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help