diff options
author | Philip Langdale <philipl@fido2.homeip.net> | 2008-10-23 21:54:44 -0700 |
---|---|---|
committer | Philip Langdale <philipl@fido2.homeip.net> | 2008-10-23 21:54:44 -0700 |
commit | eb03e96c1974a3fbe1c48c56974ff32bc886c8f7 (patch) | |
tree | a0a671aa85dc18d54dcda82ab738ac3e332888a0 /fdi | |
parent | 223afd09500672a7fe8a1ab5fc221001863a8bec (diff) |
Add HAL integration to support input hot plug.
* vmmouse_detect: A simple program that detects whether a vmmouse
device is present.
* hal-probe-vmmouse: A HAL callout script that uses vmmouse_detect
and overrides input.x11_driver.
* 11-x11-vmmouse.fdi: fdi descriptor that adds the callout for PS/2
mice.
Additional 'configure' variables have been added to allow for overriding
HAL paths, although this shouldn't usually be necessary.
Diffstat (limited to 'fdi')
-rw-r--r-- | fdi/11-x11-vmmouse.fdi | 10 | ||||
-rw-r--r-- | fdi/Makefile.am | 25 |
2 files changed, 35 insertions, 0 deletions
diff --git a/fdi/11-x11-vmmouse.fdi b/fdi/11-x11-vmmouse.fdi new file mode 100644 index 0000000..e725f9a --- /dev/null +++ b/fdi/11-x11-vmmouse.fdi @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<deviceinfo version="0.2"> + <device> + <match key="info.capabilities" contains="input.mouse"> + <match key="input.originating_device" contains="i8042_AUX_port"> + <append key="info.callouts.add" type="strlist">hal-probe-vmmouse</append> + </match> + </match> + </device> +</deviceinfo> diff --git a/fdi/Makefile.am b/fdi/Makefile.am new file mode 100644 index 0000000..4581f27 --- /dev/null +++ b/fdi/Makefile.am @@ -0,0 +1,25 @@ +# Copyright 2008 VMware, Inc. +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# on the rights to use, copy, modify, merge, publish, distribute, sub +# license, and/or sell copies of the Software, and to permit persons to whom +# the Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice (including the next +# paragraph) shall be included in all copies or substantial portions of the +# Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL +# VMWARE, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +fdidir=$(HAL_FDI_DIR) +fdi_DATA = 11-x11-vmmouse.fdi + +EXTRA_DIST = 11-x11-vmmouse.fdi + |