[PATCH] INPUT:Add ABS_PRESSURE input event support for touchscreen driver

daoguang wu wdgvip at gmail.com
Mon Jun 27 04:57:48 EDT 2011


2011/6/27 Dmitry Torokhov <dmitry.torokhov at gmail.com>:
>
>
> Baohua Song <Baohua.Song at csr.com> wrote:
>
>>
>>
>>> -----Original Message-----
>>> From: linux-arm-kernel-bounces at lists.infradead.org
>>> [mailto:linux-arm-kernel-bounces at lists.infradead.org] On Behalf Of
>>daoguang
>>> wu
>>> Sent: 2011年6月27日 10:15
>>> To: Mark Brown
>>> Cc: kgene.kim at samsung.com; ben-linux at fluff.org;
>>> dmitry.torokhov at gmail.com; linux-kernel at vger.kernel.org;
>>> wdgvip at gamil.com; linux-input at vger.kernel.org;
>>> linux-arm-kernel at lists.infradead.org
>>> Subject: Re: [PATCH] INPUT:Add ABS_PRESSURE input event support for
>>> touchscreen driver
>>>
>>> 2011/6/24 Mark Brown <broonie at opensource.wolfsonmicro.com>:
>>> > On Fri, Jun 24, 2011 at 10:15:38AM +0800, Wu DaoGuang wrote:
>>> >> The touchscreen driver s3c2410_ts.c doesn't work well when using
>>> >> the tslib, an abstraction layer for touchscreen panel events.
>>> >> Tslib needs ABS_X ABS_Y and ABS_PRESSURE events to report, but
>>only
>>> >> the former two the driver can provide.
>>> >
>>> > It seems much more sane to fix this in tslib, the kernel is not
>>actually
>>> > reporting pressure meaningfully here and there's already BTN_TOUCH
>>to
>>> > report if the pen is down.
>>> >
>>> yeah,I will try to fix it in tslib.
>>
>>You may send a patch to tslib.
>>
>
> This has already been fixed in tslib a couple years ago. I'm not sure if a
> new version was cut or not.
> --
> Dmitry

I try the latest tslib ,and find there is no such problem and the
latest version of tslib  can be downloaded from
git://github.com/kergoth/tslib.git.

Thanks a lot.



More information about the linux-arm-kernel mailing list