Re: ads7846: clean up, fix pressure reporting
From: Richard Purdie
Date: Mon Aug 10 2009 - 17:12:54 EST
On Sun, 2009-08-09 at 12:21 +0200, Stanislav Brabec wrote:
> Pavel Machek wrote:
> > Fix pressure reporting, and clean up debug prints.
>
> Thanks.
>
> I see much bigger problem with both the old driver and the new ads7846
> driver (2.6.30): They are very noisy on my spitz. When you tap to one
> place, keep stylus pressed and just read values, you get 20-200 pixels
> long pointer motion trip each second.
>
> According to Cyril HrubiÅ, it is caused by the electrical noise that
> originates in the LCD display. The driver needs to read data
> synchronously with the LCD refresh. He already made the fix for collie
> several years ago.
This is what I've been led to believe as well. There was code in the old
driver to try and avoid this by only taking touchscreen readings when
the LCD wasn't electrically active but it sounds like this has become
broken :(.
Cheers,
Richard
--
Richard Purdie
Intel Open Source Technology Centre
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/