[Letux-kernel] [PATCH v9 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation
H. Nikolaus Schaller
hns at goldelico.com
Sun Feb 19 18:04:14 CET 2017
HI Pavel,
> Am 19.02.2017 um 15:17 schrieb Pavel Machek <pavel at ucw.cz>:
>
> Hi!
>
>> 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
example.
> 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.
BR,
Nikolaus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20170219/42abda6a/attachment-0001.asc>
More information about the Letux-kernel
mailing list