rpms/hal/F-12 hal-xen-unignore-axes.patch, NONE, 1.1 hal.spec, 1.206, 1.207

Peter Hutterer whot at fedoraproject.org
Mon Oct 19 05:47:28 UTC 2009


Author: whot

Update of /cvs/pkgs/rpms/hal/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20940

Modified Files:
	hal.spec 
Added Files:
	hal-xen-unignore-axes.patch 
Log Message:
* Mon Oct 19 2009 Peter Hutterer <peter.hutterer at redhat.com> 0.5.13-9
- hal-xen-unignore-axes.patch: force evdev to allow rel+abs axes on the Xen
  Virtual Pointer device (#523914)


hal-xen-unignore-axes.patch:
 10-x11-input.fdi |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

--- NEW FILE hal-xen-unignore-axes.patch ---
>From e48f59d2b9bcb43ea8a7b8c884dcb73c8f65b170 Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer at 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 at 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



Index: hal.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hal/F-12/hal.spec,v
retrieving revision 1.206
retrieving revision 1.207
diff -u -p -r1.206 -r1.207
--- hal.spec	11 Aug 2009 11:50:10 -0000	1.206
+++ hal.spec	19 Oct 2009 05:47:28 -0000	1.207
@@ -26,7 +26,7 @@
 Summary: Hardware Abstraction Layer
 Name: hal
 Version: 0.5.13
-Release: 8%{?dist}
+Release: 9%{?dist}
 #Release: 1.%{?alphatag}%{?dist}
 URL: http://www.freedesktop.org/Software/hal
 Source0: http://hal.freedesktop.org/releases/%{name}-%{version}.tar.bz2
@@ -49,6 +49,9 @@ Patch11: hal-HDAPS-blacklist.patch
 # https://bugzilla.redhat.com/show_bug.cgi?id=507782
 Patch12: hal-mdfind.patch
 
+# https://bugzilla.redhat.com/show_bug.cgi?id=523914
+Patch13: hal-xen-unignore-axes.patch
+
 Patch100: hal-use-at-console.patch
 
 License: AFL or GPLv2
@@ -141,6 +144,7 @@ API docs for HAL.
 %patch9 -p1 -b .kvm-evdev
 %patch11 -p1 -b .hdaps-blacklist
 %patch12 -p1 -b .mdfind
+%patch13 -p1 -b .xen-unignore
 %patch100 -p1 -b .drop-polkit
 
 autoreconf -i -f
@@ -282,6 +286,10 @@ fi
 %{_datadir}/gtk-doc/html/libhal-storage/*
 
 %changelog
+* Mon Oct 19 2009 Peter Hutterer <peter.hutterer at redhat.com> 0.5.13-9
+- hal-xen-unignore-axes.patch: force evdev to allow rel+abs axes on the Xen
+  Virtual Pointer device (#523914)
+
 * Tue Aug 11 2009 Ville Skyttä <ville.skytta at iki.fi> - 0.5.13-8
 - Use bzipped upstream tarball.
 




More information about the fedora-extras-commits mailing list