rpms/hal/devel hal-KVM-evdev.patch,NONE,1.1 hal.spec,1.188,1.189
Peter Hutterer
whot at fedoraproject.org
Fri Mar 27 05:01:46 UTC 2009
Author: whot
Update of /cvs/pkgs/rpms/hal/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32037
Modified Files:
hal.spec
Added Files:
hal-KVM-evdev.patch
Log Message:
* Fri Mar 27 2009 Peter Hutterer <peter.hutterer at redhat.com> - 0.5.12-26.20090226git
- hal-KVM-evdev.patch: force the evdev driver for American Megatrends KVM
(#484776)
hal-KVM-evdev.patch:
--- NEW FILE hal-KVM-evdev.patch ---
>From 7618498eec840cb26474dc47821e083957772706 Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer at who-t.net>
Date: Fri, 20 Mar 2009 14:37:24 +1000
Subject: [PATCH] Add x11_driver for American Megatrends KVM.
This device exposes only ABS_X, ABS_Y and buttons. It gets input.joystick
assigned but not input.mouse, hence the default evdev mapping doesn't pick up
on it.
Red Hat Bug 484776 <https://bugzilla.redhat.com/show_bug.cgi?id=484776>
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
fdi/policy/10osvendor/10-x11-input.fdi | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/fdi/policy/10osvendor/10-x11-input.fdi b/fdi/policy/10osvendor/10-x11-input.fdi
index 769f75b..eb9767e 100644
--- a/fdi/policy/10osvendor/10-x11-input.fdi
+++ b/fdi/policy/10osvendor/10-x11-input.fdi
@@ -2,6 +2,12 @@
<deviceinfo version="0.2">
<device>
+ <!-- This KVMS has abs x/y and buttons. It only has inputInfo.joystick
+ set by hal and doesn't get picked up by default -->
+ <match key="input.product" contains="American Megatrends Inc. Virtual Keyboard and Mouse">
+ <merge key="input.x11_driver" type="string">evdev</merge>
+ </match>
+
<!-- KVM emulates a USB graphics tablet which works in absolute coordinate mode -->
<match key="input.product" contains="QEMU USB Tablet">
<merge key="input.x11_driver" type="string">evdev</merge>
--
1.6.0.6
Index: hal.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hal/devel/hal.spec,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -r1.188 -r1.189
--- hal.spec 14 Mar 2009 16:58:46 -0000 1.188
+++ hal.spec 27 Mar 2009 05:01:16 -0000 1.189
@@ -28,7 +28,7 @@
Name: hal
Version: 0.5.12
#Release: 14%{?dist}
-Release: 25.%{?alphatag}%{?dist}
+Release: 26.%{?alphatag}%{?dist}
URL: http://www.freedesktop.org/Software/hal
#Source0: http://hal.freedesktop.org/releases/%{name}-%{version}rc1.tar.bz2
Source0: http://hal.freedesktop.org/releases/%{name}-%{version}-%{?alphatag}.tar.gz
@@ -48,6 +48,9 @@
# upstream
Patch8: hal-fix-udev-dir.patch
+# http://lists.freedesktop.org/archives/hal/2009-March/013125.html
+Patch9: hal-KVM-evdev.patch
+
License: AFL or GPLv2
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -143,6 +146,7 @@
%patch4 -p1 -b .dell-killswitch
%patch7 -p1 -b .tablet-evdev
%patch8 -p1 -b .fix-udev
+%patch9 -p1 -b .kvm-evdev
%build
%configure \
@@ -293,6 +297,10 @@
%{_datadir}/gtk-doc/html/libhal-storage/*
%changelog
+* Fri Mar 27 2009 Peter Hutterer <peter.hutterer at redhat.com> - 0.5.12-26.20090226git
+- hal-KVM-evdev.patch: force the evdev driver for American Megatrends KVM
+ (#484776)
+
* Sat Mar 14 2009 - Matthew Garrett <mjg at redhat.com> - 0.5.12-25.20090226git
- Fully disable smbios support - backlight control is in-kernel on Dells now.
More information about the fedora-extras-commits
mailing list