Update to hal 0.5.12 or later?

Stefan Bethke stb at lassitu.de
Thu Aug 13 15:50:35 UTC 2009


Hi,

I'm trying to get x11-drivers/xf86-input-vmmouse to work with hal, and  
I found two issues:

- the fdi installed by the vmmouse port has a <match> element that  
won't work on FreeBSD.  I have a patch that corrects that, see below.
- hal-probe-vmmouse uses hal-set-property with the --direct switch,  
which hal 0.5.11 does not offer.  AFAICT, there's no workaround, since  
normal communiation with hald is not possible while it's starting up.   
This means that the X11 driver property will remain set to "mouse"  
instead of "vmmouse", prefering the standard driver over the VMware one.

Are there plans to update hal to 0.5.12 or newer anytime soon, or  
should I try to come up with a patch?

Please keep me CCed, as I'm not subscribed to freebsd-gnome.


Thanks,
Stefan

--- fdi/11-x11-vmmouse.fdi	2008-12-16 23:41:13.000000000 +0100
+++ /usr/local/share/hal/fdi/policy/20thirdparty/11-x11-vmmouse.fdi	 
2009-08-13 16:00:23.000000000 +0200
@@ -2,7 +2,7 @@
  <deviceinfo version="0.2">
    <device>
      <match key="info.capabilities" contains="input.mouse">
-      <match key="input.originating_device" contains="i8042_AUX_port">
+      <match key="freebsd.driver" string="psm">
          <append key="info.callouts.add" type="strlist">hal-probe- 
vmmouse</append>
        </match>
      </match>


-- 
Stefan Bethke <stb at lassitu.de>   Fon +49 151 14070811






More information about the freebsd-gnome mailing list