diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-20 20:20:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-20 20:20:39 -0600 |
commit | 3604961da7fb258a7f6fe34a08cd60bf58bcf3cb (patch) | |
tree | bdcffc4947c45a9da868d7a191db4cc7e02ac33f /arch/3.5.13/trinity-base/hal/patches/hal-KVM-evdev.patch | |
parent | a9a3e888fa1f8290730fabd0c5aebd1eb6bbb21c (diff) | |
parent | aa67f69e3bd294588f63825b744c31c95ec1a849 (diff) | |
download | tde-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-KVM-evdev.patch')
-rw-r--r-- | arch/3.5.13/trinity-base/hal/patches/hal-KVM-evdev.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/arch/3.5.13/trinity-base/hal/patches/hal-KVM-evdev.patch b/arch/3.5.13/trinity-base/hal/patches/hal-KVM-evdev.patch new file mode 100644 index 000000000..917655ed1 --- /dev/null +++ b/arch/3.5.13/trinity-base/hal/patches/hal-KVM-evdev.patch @@ -0,0 +1,36 @@ +From 7618498eec840cb26474dc47821e083957772706 Mon Sep 17 00:00:00 2001 +From: Peter Hutterer <peter.hutterer@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@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 + |