Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Aug 2009 17:31:04 +0200
From:      Stefan Bethke <stb@lassitu.de>
To:        freebsd-gnome@FreeBSD.org
Subject:   Update to hal 0.5.12 or later?
Message-ID:  <C4D6EADD-2A31-48CF-941A-1CEC8C0391B0@lassitu.de>

next in thread | raw e-mail | index | archive | help
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@lassitu.de>   Fon +49 151 14070811







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C4D6EADD-2A31-48CF-941A-1CEC8C0391B0>