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.
This commit is contained in:
Philip Langdale
2008-10-23 21:54:44 -07:00
parent 223afd0950
commit eb03e96c19
10 changed files with 253 additions and 3 deletions

13
README
View File

@@ -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).