summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@fido2.homeip.net>2008-10-23 21:54:44 -0700
committerPhilip Langdale <philipl@fido2.homeip.net>2008-10-23 21:54:44 -0700
commiteb03e96c1974a3fbe1c48c56974ff32bc886c8f7 (patch)
treea0a671aa85dc18d54dcda82ab738ac3e332888a0 /README
parent223afd09500672a7fe8a1ab5fc221001863a8bec (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 'README')
-rw-r--r--README13
1 files changed, 13 insertions, 0 deletions
diff --git a/README b/README
index 1e9e762..4205876 100644
--- a/README
+++ b/README
@@ -51,3 +51,16 @@ The driver is composed of three different layers:
are still transmitted on the PS/2 port so it is necessary
to be set up to receive those interrupts like a standard
PS/2 driver, but the actual data on the PS/2 port is ignored.
+
+vmmouse_detect
+--------------
+
+A simple program to detect whether the vmmouse device is present.
+It is used by the HAL callout script to automatically detect a
+vmmouse device.
+
+Returns 0 if we are running in a virtual machine where the vmmouse
+device is present.
+
+Returns 1 otherwise (either we are not in a VM or the vmmouse device
+was disabled).