Re: [PATCH v9 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation
From: H. Nikolaus Schaller
Date: Sun Feb 19 2017 - 12:05:34 EST
> Am 19.02.2017 um 15:17 schrieb Pavel Machek <pavel@xxxxxx>:
>> About loosing precision: there is already noise (jitter) in
>> real-world devices so that you can't achieve subpixel precision
>> anyways (unless your panel has a very low resolution). Please see my
>> answer to Dmitry some mails ago.
> Maybe you can achieve better precision with averaging.
Can you? What do you want to average here? Multiple sequential measurements?
This makes the touch slower and hence imprecise and unuseable in another way.
Anyways, the tsc2007 chip can already do such averaging.
> Anyway "input is already noisy" does not mean "so it is okay to
> degrade it more".
You have not yet said how you think it is degraded *more* than in your
> Solve it properly. That means passing calibration
> data from kernel to userland.
As written before, the really proper solution would be to provide floating
or fixed point subpixel input events. Not arbitrarily scaling up in kernel
and leaving downscaling to user space (where everybody can make it worse).
But I don't think it is worth implementing subpixel touch events for real
world devices due to the jitter I mentioned.
Description: Message signed with OpenPGP using GPGMail