[meego-commits] 14852: Changes to devel:kernel/kernel-adaptation-connext
Austin Zhang
no_reply at build.meego.com
Wed Mar 16 04:46:59 UTC 2011
Hi,
I have made the following changes to kernel-adaptation-connext in project devel:kernel. Please review and accept ASAP.
Thank You,
Austin Zhang
[This message was auto-generated]
---
Request #14852:
submit: home:austin:branches:devel:kernel/kernel-adaptation-connext(cleanup) -> devel:kernel/kernel-adaptation-connext
Message:
None
State: new 2011-03-15T21:46:50 austin
Comment: None
changes files:
--------------
--- kernel-adaptation-connext.changes
+++ kernel-adaptation-connext.changes
@@ -0,0 +1,4 @@
+* Wed Mar 16 2011 Austin Zhang <austin.zhang at intel.com> - 2.6.37.2
+- Send of BTN_LEFT together with BTN_TOUCH to make tsc2007 work with new
+ xinput2.0 in MeeGO. Part of fixing of BMC#12777.
+
new:
----
linux-2.6.37-tsc2007-touch-fixing-leftbutton.patch
spec files:
-----------
--- kernel-adaptation-connext.spec
+++ kernel-adaptation-connext.spec
@@ -243,18 +243,19 @@
Patch227: linux-2.6.37-connext-0026-usb-otg-cut1.patch
Patch228: linux-2.6.37-connext-0027-tsc2007.patch
Patch229: linux-2.6.37-connext-0028-mapper.patch
+Patch230: linux-2.6.37-tsc2007-touch-fixing-leftbutton.patch
#
# EMGD
#
-Patch230: linux-2.6.37-emgd-0001-initial-import-1812.patch
-Patch231: linux-2.6.37-emgd-0002-add-makefile.patch
-Patch232: linux-2.6.37-emgd-0003-1859-build.patch
-Patch233: linux-2.6.37-emgd-0004-add-2.6.37-support.patch
+Patch231: linux-2.6.37-emgd-0001-initial-import-1812.patch
+Patch232: linux-2.6.37-emgd-0002-add-makefile.patch
+Patch233: linux-2.6.37-emgd-0003-1859-build.patch
+Patch234: linux-2.6.37-emgd-0004-add-2.6.37-support.patch
# turn on "print fatal signals" by default, so that we can debug /sbin/init
# crashes
-Patch234: linux-2.6.35-fatal-signals.patch
+Patch235: linux-2.6.35-fatal-signals.patch
BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
@@ -492,23 +493,25 @@
%patch228 -p1
# linux-2.6.37-connext-0028-mapper.patch
%patch229 -p1
+# linux-2.6.37-tsc2007-touch-fixing-leftbutton.patch
+%patch230 -p1
#
# EMGD
#
# linux-2.6.37-emgd-0001-initial-import-1812.patch
-%patch230 -p1
-# linux-2.6.37-emgd-0002-add-makefile.patch
%patch231 -p1
-# linux-2.6.37-emgd-0003-1859-build.patch
+# linux-2.6.37-emgd-0002-add-makefile.patch
%patch232 -p1
-# linux-2.6.37-emgd-0004-add-2.6.37-support.patch
+# linux-2.6.37-emgd-0003-1859-build.patch
%patch233 -p1
+# linux-2.6.37-emgd-0004-add-2.6.37-support.patch
+%patch234 -p1
# turn on "print fatal signals" by default, so that we can debug /sbin/init
# crashes
# linux-2.6.35-fatal-signals.patch
-%patch234 -p1
+%patch235 -p1
# Drop some necessary files from the source dir into the buildroot
cp $RPM_SOURCE_DIR/config-* .
other changes:
--------------
++++++ linux-2.6.37-tsc2007-touch-fixing-leftbutton.patch (new)
--- linux-2.6.37-tsc2007-touch-fixing-leftbutton.patch
+++ linux-2.6.37-tsc2007-touch-fixing-leftbutton.patch
+Send out BTN_LEFT event together with BTN_TOUCH to make tsc2007 work
+with new xinput2.0 in MeeGo.
+Part of fixing of BMC#12777
+
+Signed-off-by: Austin Zhang <austin.zhang at intel.com>
+---
+ drivers/input/touchscreen/tsc2007.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff -Naurp linux-2.6.37-orig/drivers/input/touchscreen/tsc2007.c linux-2.6.37/drivers/input/touchscreen/tsc2007.c
+--- linux-2.6.37-orig/drivers/input/touchscreen/tsc2007.c 2011-03-15 15:36:20.565824591 +0800
++++ linux-2.6.37/drivers/input/touchscreen/tsc2007.c 2011-03-15 15:52:44.506818456 +0800
+@@ -150,6 +150,7 @@ static void tsc2007_send_up_event(struct
+ dev_dbg(&tsc->client->dev, "UP\n");
+
+ input_report_key(input, BTN_TOUCH, 0);
++ input_report_key(input, BTN_LEFT, 0);
+ input_report_abs(input, ABS_PRESSURE, 0);
+ input_sync(input);
+ }
+@@ -204,6 +205,7 @@ static void tsc2007_work(struct work_str
+ dev_dbg(&ts->client->dev, "DOWN\n");
+
+ input_report_key(input, BTN_TOUCH, 1);
++ input_report_key(input, BTN_LEFT, 1);
+ ts->pendown = true;
+ }
+
+@@ -334,6 +336,7 @@ static int __devinit tsc2007_probe(struc
+
+ input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS);
+ input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH);
++ input_dev->keybit[BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT);
+
+ input_set_abs_params(input_dev, ABS_X, 0, MAX_12BIT, 0, 0);
+ input_set_abs_params(input_dev, ABS_Y, 0, MAX_12BIT, 0, 0);
++++++ series
--- series
+++ series
@@ -93,6 +93,7 @@
linux-2.6.37-connext-0026-usb-otg-cut1.patch
linux-2.6.37-connext-0027-tsc2007.patch
linux-2.6.37-connext-0028-mapper.patch
+linux-2.6.37-tsc2007-touch-fixing-leftbutton.patch
#
# EMGD
More information about the MeeGo-commits
mailing list