ports/137731: [patch] x11-drivers/xf86-input-vmmouse

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


>Number:         137731
>Category:       ports
>Synopsis:       [patch] x11-drivers/xf86-input-vmmouse
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 13 16:50:12 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Stefan Bethke
>Release:        FreeBSD 8.0-BETA2 amd64
>Organization:
>Environment:
System: FreeBSD diesel.lassitu.de 8.0-BETA2 FreeBSD 8.0-BETA2 #8 r195941: Wed Jul 29 15:55:32 CEST 2009 root at diesel.lassitu.de:/usr/obj/usr/src/sys/DIESEL amd64

>Description:
HAL integration of the vmmouse driver currently has two issues:

- In the FDI file, the match element key="input.originating_device"
	contains="i8042_AUX_port" does not match on FreeBSD, so the the callout
	is never added, and the driver never activated.
- The callout script uses hal-set-property --direct, which is not available
	in hal-0.5.10, the current port version of hal.

>How-To-Repeat:

Try moving the mouse outside the VMware window.

>Fix:

This patch forces the usage of the VMware mouse driver. Once hal-0.5.12 or
newer is in ports, this patch should be changed to add the callout again.

x11-drivers/xf86-input-vmmouse/files/patch-fdi-11-x11-vmmouse.fdi:
--- fdi/11-x11-vmmouse.fdi	2008-12-16 23:41:13.000000000 +0100
+++ /root/11-x11-vmmouse.fdi	2009-08-13 18:35:17.000000000 +0200
@@ -2,8 +2,8 @@
 <deviceinfo version="0.2">
   <device>
     <match key="info.capabilities" contains="input.mouse">
-      <match key="input.originating_device" contains="i8042_AUX_port">
-        <append key="info.callouts.add" type="strlist">hal-probe-vmmouse</append>
+      <match key="freebsd.driver" string="psm">
+        <merge key="input.x11_driver" type="string">vmmouse</merge>
       </match>
     </match>
   </device>

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



More information about the freebsd-ports-bugs mailing list