Hi Philip,

I've tested out your vmmouse detection command and it works perfectly.
I'm attaching a modified dexconf that incorporates use of this tool.
Would you mind testing it out and make sure it works properly under
vmware?

 $ sudo ./dexconf -o xorg.conf

I'm wondering whether we should package vmmouse-detect as a standalone
package, or add it to an existing package, such as xorg-
server/hw/xfree86/utils/?

--- dexconf.orig        2007-06-27 17:58:15.002257500 -0700
+++ dexconf     2007-06-27 17:53:11.831310500 -0700
@@ -256,6 +256,13 @@

 DO_EMULATE3BUTTONS=

+MOUSE_DRIVER=mouse
+if which vmmouse_detect >/dev/null 2>&1; then
+  if vmmouse_detect > /dev/null ; then
+    MOUSE_DRIVER=vmmouse
+  fi
+fi
+
 fetch xserver-$SERVER/config/inputdevice/mouse/port
 MOUSE_PORT="$RET"
 fetch xserver-$SERVER/config/inputdevice/mouse/protocol
@@ -269,7 +276,7 @@
 cat >&4 <<SECTION
 Section "InputDevice"
        Identifier      "Configured Mouse"
-       Driver          "mouse"
+       Driver          "$MOUSE_DRIVER"
        Option          "CorePointer"
        Option          "Device"                "$MOUSE_PORT"
        Option          "Protocol"              "$MOUSE_PROTOCOL"


** Attachment added: "dexconf"
   http://launchpadlibrarian.net/8220189/dexconf

-- 
installer and livecd should detect vmware mouse device and use the right driver
https://bugs.launchpad.net/bugs/71167
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to