updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / hal / hal-xen-unignore-axes.patch
blobb248639b79423124022852d3804c590f408305d6
1 From e48f59d2b9bcb43ea8a7b8c884dcb73c8f65b170 Mon Sep 17 00:00:00 2001
2 From: Peter Hutterer <peter.hutterer@who-t.net>
3 Date: Mon, 19 Oct 2009 14:27:20 +1000
4 Subject: [PATCH] Un-ignore absolute axes for the Xen Virtual Pointer.
6 The evdev-internal axis type picking fails for the Xen Virtual Pointer as it
7 exposes both relative and absolute axes. Evdev picks the relative axes by
8 default, leading to a immovable pointer if the Xen backend only sends
9 absolute coordinates.
11 Explicitly tell evdev to not ignore the absolute axes.
13 https://bugzilla.redhat.com/show_bug.cgi?id=523914
15 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 ---
17 fdi/policy/10osvendor/10-x11-input.fdi | 7 +++++++
18 1 files changed, 7 insertions(+), 0 deletions(-)
20 diff --git a/fdi/policy/10osvendor/10-x11-input.fdi b/fdi/policy/10osvendor/10-x11-input.fdi
21 index 89ba672..752c4ab 100644
22 --- a/fdi/policy/10osvendor/10-x11-input.fdi
23 +++ b/fdi/policy/10osvendor/10-x11-input.fdi
24 @@ -44,5 +44,12 @@
25 <match key="info.product" contains="ThinkPad HDAPS accelerometer data">
26 <remove key="input.x11_driver" />
27 </match>
29 + <!-- https://bugzilla.redhat.com/show_bug.cgi?id=523914
30 + Mouse does not move in PV Xen guest -->
31 + <match key="info.product" contains="Xen Virtual Pointer">
32 + <merge key="input.x11_options.IgnoreAbsoluteAxes" type="string">false</merge>
33 + <merge key="input.x11_options.IgnoreRelativeAxes" type="string">false</merge>
34 + </match>
35 </device>
36 </deviceinfo>
37 --
38 1.6.2.5