ports/144013: xf86-input-vmmouse may depend on HAL 0.5.13 or above

Ryan Beasley rbeasley at vmware.com
Tue Feb 16 19:50:03 UTC 2010


>Number:         144013
>Category:       ports
>Synopsis:       xf86-input-vmmouse may depend on HAL 0.5.13 or above
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 16 19:50:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Ryan Beasley
>Release:        FreeBSD 8.0
>Organization:
VMware, Inc.
>Environment:
>Description:
FreeBSD's xf86-input-vmmouse port includes a VMware mouse probe script, hal-probe-vmmouse.  It's installed under /usr/local/libexec/hal/scripts.  This script instructs X servers to use the vmmouse driver by setting the input.x11_driver key on VMware mouse devices.  The problem is that it uses "hal-set-property --direct" and the "--direct" flag didn't appear until GNOME 2.28/HAL 0.5.13.

As a result, if running on a stock FreeBSD 8.0-RELEASE install, even though the vmmouse driver is installed, it isn't selected by the X server.  This breaks features like auto-ungrab (ie: one cannot ungrab the mouse/keyboard by simply moving the mouse cursor beyond the border of the VM window).
>How-To-Repeat:
1.  Grab a stock FreeBSD 8.0 VM.
2.  Install xf86-input-vmmouse.
3.  Launch an X server.
4.  Look at /var/log/Xorg.0.log and observe that the plain "mouse" driver is in use.
>Fix:
This depends on FreeBSD policy.

Either a patch may be applied to the script to remove the --direct flag or the driver may include a runtime dependency on HAL 0.5.13.


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list