Re: [PATCH] INPUT:Add ABS_PRESSURE input event support fortouchscreen driver

From: daoguang wu
Date: Mon Jun 27 2011 - 05:01:40 EST


2011/6/27 Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>:
>
>
> Baohua Song <Baohua.Song@xxxxxxx> wrote:
>
>>
>>
>>> -----Original Message-----
>>> From: linux-arm-kernel-bounces@xxxxxxxxxxxxxxxxxxx
>>> [mailto:linux-arm-kernel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
>>daoguang
>>> wu
>>> Sent: 2011年6月27日 10:15
>>> To: Mark Brown
>>> Cc: kgene.kim@xxxxxxxxxxx; ben-linux@xxxxxxxxx;
>>> dmitry.torokhov@xxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx;
>>> wdgvip@xxxxxxxxx; linux-input@xxxxxxxxxxxxxxx;
>>> linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
>>> Subject: Re: [PATCH] INPUT:Add ABS_PRESSURE input event support for
>>> touchscreen driver
>>>
>>> 2011/6/24 Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>:
>>> > 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.
--
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/