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.
So this patch fixes the problem.
Signed-off-by: Wu DaoGuang <redacted>
---
drivers/input/touchscreen/s3c2410_ts.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
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.
So this patch fixes the problem.
Signed-off-by: Wu DaoGuang<redacted>
---
drivers/input/touchscreen/s3c2410_ts.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
From: Mark Brown <hidden> Date: 2011-06-24 12:42:06
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.
On Fri, Jun 24, 2011 at 10:15:38AM +0800, Wu DaoGuang wrote:
quoted
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.
From: Baohua Song <hidden> Date: 2011-06-27 03:08:00
-----Original Message-----
From: linux-arm-kernel-bounces@lists.infradead.org
[mailto:linux-arm-kernel-bounces@lists.infradead.org] On Behalf Of daoguang
wu
Sent: 2011年6月27日 10:15
To: Mark Brown
Cc: kgene.kim@samsung.com; ben-linux@fluff.org;
dmitry.torokhov@gmail.com; linux-kernel@vger.kernel.org;
wdgvip@gamil.com; linux-input@vger.kernel.org;
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] INPUT:Add ABS_PRESSURE input event support for
touchscreen driver
2011/6/24 Mark Brown [off-list ref]:
quoted
On Fri, Jun 24, 2011 at 10:15:38AM +0800, Wu DaoGuang wrote:
quoted
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.
Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Follow CSR on Twitter at http://twitter.com/CSR_PLC and read our blog at www.csr.com/blog
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel