You are not logged in.

#1 2008-01-17 00:22:56

playdayz
Member
Registered: 2008-01-17
Posts: 12

VMware & Arch

Has anyone succeeded in installing Arch 2007.08.2 in VMWare Workstation 6.0.2?  The problem I have is with the mouse driver.  The arch vmmouse seems to give no mouse or an invsibile one that won't move from the bottom right corner and the VMWare vmmouse from VMWare Tools for Xorg 7.1 (the latest included with VMWare 6.02) leaves a dead unmoving mouse in the center of the screen--Maybe I've got it backwards but neither works.  The regular old mouse driver (mouse) works within it's limitations (no integration) plus it only works at reolutions up to 1440x900--above that at 1680x1050 mouse forgets the screen boundaries.  I am unable to find any combination that gives full mouse integration at 1680x1050.  Thanks for any help or advice.

Offline

#2 2008-01-21 00:18:23

cmhood
Member
From: Portland, Oregon
Registered: 2004-01-06
Posts: 15

Re: VMware & Arch

I have the same problem, and it looks like so does everyone else.  I did find this link that sounds like the solution, but I'm not enough of a programmer to try it out.  Solution description is at:

http://www.nabble.com/Re:-Xorg-7.2-and- … 02419.html

This person put together a patch file (I don't know how to use it, but thought if I place it here someone else would try it out.)  This is where I got the patch file:

http://groups.google.com/group/linux.de … 22fba0f03a

-----------beginning of patch file----------------
--- vmmouse.c    2007-09-26 01:11:47.000000000 +0200
+++ vmmouse-new.c    2007-12-04 22:44:21.000000000 +0100
@@ -960,12 +960,15 @@
static void
GetVMMouseMotionEvent(InputInfoPtr pInfo){
    MouseDevPtr pMse;
+   VMMousePrivPtr mPriv;
    int buttons, dx, dy, dz, dw;
+   double factorX, factorY;
    VMMOUSE_INPUT_DATA  vmmouseInput;
    int ps2Buttons = 0;
    int numPackets;

    pMse = pInfo->private; 
+   mPriv = pMse->mousePriv;
    while((numPackets = VMMouseClient_GetInput(&vmmouseInput))){
       if (numPackets == VMMOUSE_ERROR) {
          VMMouseClient_Disable();
@@ -990,6 +993,13 @@
       dy = vmmouseInput.Y;
       dz = (char)vmmouseInput.Z;
       dw = 0;
+      /* scale the input data based on the screen dimensions */
+      factorX = ((double) screenInfo.screens[mPriv->screenNum]->width) / (double) 65535;
+      factorY = ((double) screenInfo.screens[mPriv->screenNum]->height) / (double) 65535;
+
+      dx = dx * factorX + 0.5;
+      dy = dy * factorY + 0.5;
+
       /* post an event */
       pMse->PostEvent(pInfo, buttons, dx, dy, dz, dw);
    }
----------end of patch file----------------------

Maybe the xf86-input-vmmouse maintainer could add this to the PKGBUILD file?

Offline

#3 2008-01-21 01:16:59

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: VMware & Arch

I've got VMware Workstation 6.0.2-59824 running fairly well.
Sorry to ask but are you activating the mouse by clicking into the VM-ware screen, or by pressing cntrl+g??
Also might the resolution be too big so you don't see anything moving?

--hmm guess you have... If so you might try a newer build.

Last edited by ibendiben (2008-01-21 01:19:15)

Offline

#4 2008-01-21 01:29:56

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: VMware & Arch

ibendiben: I guess the problem here is not with VMware installation in Arch but with Arch installation in VMvare.
cmhood (and playdayz) : this problem sounds like something that should go into the bugtracker rather than the forum -- I'd suggest opening the bug report and perhaps posting a link to the patch there...

Last edited by fwojciec (2008-01-21 01:30:11)

Offline

#5 2008-01-21 03:50:39

cmhood
Member
From: Portland, Oregon
Registered: 2004-01-06
Posts: 15

Re: VMware & Arch

The problem I have is with ArchLinux "inside" of VMWare Workstation.  i.e. a Windows 2000 host and ArchLinux inside a virtual machine. 

The bug has been listed with the vmmouse project  for many months now and appears to be a problem with xorg-server changing the way it initializes the mouse driver.  No word when they will fix the problem or which side of the interface with make the change.

At present I get by using the normal mouse driver and the cntrl+g to "break out" of the window.

This problem was reported earlier (2007-11-07) by LiFo2.

I saw that a new version of xorg-server was posted this week, so I tried it but the problem remains.

Last edited by cmhood (2008-01-21 03:52:22)

Offline

#6 2008-01-21 07:36:10

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: VMware & Arch

I actually meant: I've got Arch IN VMware running fairly well, I'm typing from it now! Windows XP host big_smile

Last edited by ibendiben (2008-01-21 07:36:56)

Offline

#7 2008-02-01 09:07:49

gorn
Member
Registered: 2008-02-01
Posts: 56

Re: VMware & Arch

I applied the patch to the vmmouse driver and that seems to fix it.


Disclaimer:

I started using archlinux a few hours ago when I installed it in VMWare. This is my first PKGBUILD. But it seems straightforward enough.

I'm giving you guys two files. One is a PKGBUILD the other is the .pkg.tar.gz. I take it you know what to do with them better than I do anyway wink
(If not pacman -U xf86-input-vmmouse-i686-2.pkg.tar.gz is the easiest)

xf86-input-vmmouse/PKGBUILD
or
xf86-input-vmmouse-12.4.3-2-i686.pkg.tar.gz

Last edited by gorn (2021-02-05 19:06:10)

Offline

#8 2008-02-02 23:07:07

cmhood
Member
From: Portland, Oregon
Registered: 2004-01-06
Posts: 15

Re: VMware & Arch

I tried it and your package works great!

Thank you

Offline

#9 2008-02-11 16:14:17

lolo
Member
Registered: 2006-07-13
Posts: 12

Re: VMware & Arch

Thanks for the fix. Works great !

Offline

#10 2008-04-18 19:25:37

playdayz
Member
Registered: 2008-01-17
Posts: 12

Re: VMware & Arch

Would anyone happen to know where the patched PKGBUILD mentioned in this thread might be located?  I started the thread and then gave up on VMWare & Arch before there was any usable answer (and have been using Virtualbox), but now I am trying again.  I see an answer that evidently worked, but, alas, the link to it doesn't work.  I am not up to applying the patch myself.  Thanks for any help.

Offline

#11 2008-04-22 09:51:19

piccolotux
Member
Registered: 2008-04-22
Posts: 59

Re: VMware & Arch

I'd be happy to know where to download the patched package as well. Thank you.

Offline

#12 2008-05-08 16:08:11

joente
Member
Registered: 2007-10-06
Posts: 5

Re: VMware & Arch

I found a driver "vmmouse_drv.so" at the following location:
https://bugs.launchpad.net/ubuntu/+sour … bug/180968

Just overwrite the file (/usr/lib/xorg/modules/input/vmmouse_drv.so) with this driver and it should work. Well, it worked for me wink

Offline

#13 2008-05-31 11:34:44

elbecko
Member
Registered: 2008-01-24
Posts: 34
Website

Re: VMware & Arch

joente wrote:

I found a driver "vmmouse_drv.so" at the following location:
https://bugs.launchpad.net/ubuntu/+sour … bug/180968

Just overwrite the file (/usr/lib/xorg/modules/input/vmmouse_drv.so) with this driver and it should work. Well, it worked for me wink

Worked for me, too. Thanks!!


701 Black 4G / 900 Black 4+16G / kernel-eee 2.6.26-1 / KDE(mod)

Offline

Board footer

Powered by FluxBB