summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13/trinity-base/hal/patches/hal-xen-unignore-axes.patch
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-20 20:20:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-20 20:20:39 -0600
commit3604961da7fb258a7f6fe34a08cd60bf58bcf3cb (patch)
treebdcffc4947c45a9da868d7a191db4cc7e02ac33f /arch/3.5.13/trinity-base/hal/patches/hal-xen-unignore-axes.patch
parenta9a3e888fa1f8290730fabd0c5aebd1eb6bbb21c (diff)
parentaa67f69e3bd294588f63825b744c31c95ec1a849 (diff)
downloadtde-packaging-3604961da7fb258a7f6fe34a08cd60bf58bcf3cb.tar.gz
tde-packaging-3604961da7fb258a7f6fe34a08cd60bf58bcf3cb.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'arch/3.5.13/trinity-base/hal/patches/hal-xen-unignore-axes.patch')
-rw-r--r--arch/3.5.13/trinity-base/hal/patches/hal-xen-unignore-axes.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/arch/3.5.13/trinity-base/hal/patches/hal-xen-unignore-axes.patch b/arch/3.5.13/trinity-base/hal/patches/hal-xen-unignore-axes.patch
new file mode 100644
index 000000000..b248639b7
--- /dev/null
+++ b/arch/3.5.13/trinity-base/hal/patches/hal-xen-unignore-axes.patch
@@ -0,0 +1,39 @@
+From e48f59d2b9bcb43ea8a7b8c884dcb73c8f65b170 Mon Sep 17 00:00:00 2001
+From: Peter Hutterer <peter.hutterer@who-t.net>
+Date: Mon, 19 Oct 2009 14:27:20 +1000
+Subject: [PATCH] Un-ignore absolute axes for the Xen Virtual Pointer.
+
+The evdev-internal axis type picking fails for the Xen Virtual Pointer as it
+exposes both relative and absolute axes. Evdev picks the relative axes by
+default, leading to a immovable pointer if the Xen backend only sends
+absolute coordinates.
+
+Explicitly tell evdev to not ignore the absolute axes.
+
+https://bugzilla.redhat.com/show_bug.cgi?id=523914
+
+Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
+---
+ fdi/policy/10osvendor/10-x11-input.fdi | 7 +++++++
+ 1 files changed, 7 insertions(+), 0 deletions(-)
+
+diff --git a/fdi/policy/10osvendor/10-x11-input.fdi b/fdi/policy/10osvendor/10-x11-input.fdi
+index 89ba672..752c4ab 100644
+--- a/fdi/policy/10osvendor/10-x11-input.fdi
++++ b/fdi/policy/10osvendor/10-x11-input.fdi
+@@ -44,5 +44,12 @@
+ <match key="info.product" contains="ThinkPad HDAPS accelerometer data">
+ <remove key="input.x11_driver" />
+ </match>
++
++ <!-- https://bugzilla.redhat.com/show_bug.cgi?id=523914
++ Mouse does not move in PV Xen guest -->
++ <match key="info.product" contains="Xen Virtual Pointer">
++ <merge key="input.x11_options.IgnoreAbsoluteAxes" type="string">false</merge>
++ <merge key="input.x11_options.IgnoreRelativeAxes" type="string">false</merge>
++ </match>
+ </device>
+ </deviceinfo>
+--
+1.6.2.5
+