RFC: HAL probing for VMware vmmouse device

Philip Langdale plangdale at vmware.com
Mon Oct 27 08:35:39 PDT 2008


Matthew Garrett wrote:
> 
> No it wasn't, I'm just blind. I think a better way of doing this would
> be to make the callout conditional on there being a PCI device with the
> vmware subsystem. Probing for a vmware mouse on every system that has a
> PS/2 port seems excessive.

Something more like this?

<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.mouse">
      <match key="input.originating_device" contains="i8042_AUX_port">
        <match key="/org/freedesktop/Hal/devices/computer:system.hardware.vendor" string="VMware, Inc.">
          <append key="info.callouts.add" type="strlist">hal-probe-vmmouse</append>
        </match>
      </match>
    </match>
  </device>
</deviceinfo>

--phil



More information about the xorg mailing list