Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565838 - x11-drivers/xf86-input-vmmouse-13.1.0 doesn't work with VMware Workstation 12
Summary: x11-drivers/xf86-input-vmmouse-13.1.0 doesn't work with VMware Workstation 12
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Matt Turner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-15 15:21 UTC by cyshei
Modified: 2017-01-29 19:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Xorg.log with x11-drivers/xf86-input-vmmouse-13.1.0 (Xorg.0.log.bad,33.07 KB, text/plain)
2015-11-15 15:21 UTC, cyshei
Details
Xorg.log with x11-drivers/xf86-input-vmmouse-13.0.0-r1 (Xorg.0.log.good,33.50 KB, text/plain)
2015-11-15 15:22 UTC, cyshei
Details
Fixes incorrect udev rule install location (vmmouse.patch,378 bytes, text/plain)
2016-06-17 19:38 UTC, Andreas Kinzler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cyshei 2015-11-15 15:21:03 UTC
I recently noticed that in my Gentoo VMware guest, the mouse integration where it seamlessly moves between the guest and host stopped working, and that the mouse would be trapped in the guest until I pressed Ctrl+Alt to release it.  After checking the Xorg logs, it looked like the vmmouse driver wasn't being used at all.  Downgrading from x11-drivers/xf86-input-vmmouse-13.1.0 to 13.0.0-r1 fixed the problem and it started working again.

Reproducible: Always

Steps to Reproduce:
1. Install an ~amd64 system in VMware (Workstation 12 is what I was using)
2. Install xorg-server with INPUT_DEVICES="evdev vmmouse"
3. Start X
Actual Results:  
X doesn't use vmmouse driver

Expected Results:  
X should use vmmouse driver
Comment 1 cyshei 2015-11-15 15:21:55 UTC
Created attachment 417018 [details]
Xorg.log with x11-drivers/xf86-input-vmmouse-13.1.0
Comment 2 cyshei 2015-11-15 15:22:19 UTC
Created attachment 417020 [details]
Xorg.log with x11-drivers/xf86-input-vmmouse-13.0.0-r1
Comment 3 csefko 2015-12-12 17:54:51 UTC
Hi,

I am experiencing exactly the same problem (I use VMWare Workstation 12.1). Downgrading to version 13.0.0-r1 fixed my problem too. Meanwhile could we mask version 13.1.0?

Thanks
Comment 4 Joerg "JJ" Junge 2015-12-23 15:41:16 UTC
Same problem with VMWare Workstation 9.0.4 build-1945795. Downgrade to x11-drivers/xf86-input-vmmouse-13.0.0-r1 solved the problem.
Comment 5 Andreas Kinzler 2016-06-17 19:38:02 UTC
Created attachment 437874 [details]
Fixes incorrect udev rule install location
Comment 6 Andreas Kinzler 2016-06-17 19:39:23 UTC
The problem is caused by a udev rule installed into an invalid location. The patch fixes the problems
Comment 7 Richard Benjamin Voigt 2016-07-28 21:33:51 UTC
I encountered this as well.

I'm running gentoo as a VMware guest OS and a recent emerge broke the mouse.  Xorg.0.log showed that the default evdev rules were being applied and using the "mouse" driver instead of the correct "vmmouse".

After troubleshooting over the course of several days, I finally discovered the problem:


% equery files xf86-input-vmmouse
 * Searching for xf86-input-vmmouse ...
 * Contents of x11-drivers/xf86-input-vmmouse-13.1.0:
/usr
/usr/bin
/usr/bin/vmmouse_detect
/usr/lib64
/usr/lib64/udev
/usr/lib64/udev/rules.d
/usr/lib64/udev/rules.d/69-xorg-vmmouse.rules
/usr/lib64/xorg
/usr/lib64/xorg/modules
/usr/lib64/xorg/modules/input
/usr/lib64/xorg/modules/input/vmmouse_drv.so
/usr/share
/usr/share/X11
/usr/share/X11/xorg.conf.d
/usr/share/X11/xorg.conf.d/50-vmmouse.conf
/usr/share/doc
/usr/share/doc/xf86-input-vmmouse-13.1.0
/usr/share/doc/xf86-input-vmmouse-13.1.0/ChangeLog.bz2
/usr/share/doc/xf86-input-vmmouse-13.1.0/README.bz2
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/vmmouse_detect.1.bz2
/usr/share/man/man4
/usr/share/man/man4/vmmouse.4.bz2
[/code]

This was the only udev rule file placed into /usr/lib64/udev/rules.d, all the rest were in /usr/lib/udev/rules.d aka /lib/udev/rules.d aka /lib64/udev/rules.d

After making a symlink, everything began working correctly.

It looks like Andreas already posted a valid patch, however this bug report didn't come up during any of my google searching... I'm therefore commenting with what I found, hoping that it raises the google ranking of this page.
Comment 8 Matt Turner gentoo-dev 2017-01-29 19:01:15 UTC
(In reply to Andreas Kinzler from comment #6)
> The problem is caused by a udev rule installed into an invalid location. The
> patch fixes the problems

Thank you. I've taken your suggestion and committed it as

commit c5441e589fb9caa3f13031002d1bdb66c1de03dc
Author: Andreas Kinzler <akinzler@gmx.de>
Date:   Sun Jan 29 10:57:46 2017 -0800

    x11-drivers/xf86-input-vmmouse: Fix udev rule installation.

which adds a 13.1.0-r1 ebuild containing the fix.