Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Feb 2010 19:49:41 GMT
From:      Ryan Beasley <rbeasley@vmware.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/144013: xf86-input-vmmouse may depend on HAL 0.5.13 or above
Message-ID:  <201002161949.o1GJnf8X055124@www.freebsd.org>
Resent-Message-ID: <201002161950.o1GJo2lw007568@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002161949.o1GJnf8X055124>