Launchpad has imported 13 comments from the remote bug at
https://bugzilla.novell.com/show_bug.cgi?id=717625.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2011-09-13T20:24:52+00:00 Sebastian-henrich wrote:

User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2)
Gecko/20100101 Firefox/6.0.2

When openSUSE 11.4 is installed inside a VMware Workstation VM the
VMware mouse driver vmouse_drv.so isn't loaded during X startup and the
mouse is imprecise.

Reproducible: Always

Steps to Reproduce:
1. Install openSUSE 11.4 inside VMware Workstation 7.1.4 VM
2. Put /usr on a separate partition
3. Start newly installed system
4. Open /var/log/Xorg.0.log
Actual Results:  
[    24.823] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse 
(/dev/input/event1)
[    24.823] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "evdev 
pointer catchall"
[    24.823] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "ImPS/2 
Generic Wheel Mouse"
[    24.823] (**) ImPS/2 Generic Wheel Mouse: always reports core events
[    24.823] (**) ImPS/2 Generic Wheel Mouse: Device: "/dev/input/event1"
[    24.824] (--) ImPS/2 Generic Wheel Mouse: Found 3 mouse buttons
[    24.824] (--) ImPS/2 Generic Wheel Mouse: Found scroll wheel(s)
[    24.824] (--) ImPS/2 Generic Wheel Mouse: Found relative axes
[    24.824] (--) ImPS/2 Generic Wheel Mouse: Found x and y relative axes
[    24.824] (II) ImPS/2 Generic Wheel Mouse: Configuring as mouse
[    24.824] (II) ImPS/2 Generic Wheel Mouse: Adding scrollwheel support
[    24.824] (**) Option "Emulate3Buttons" "on"
[    24.824] (**) Option "EmulateWheel" "on"
[    24.824] (**) Option "EmulateWheelButton" "2"
[    24.824] (**) Option "EmulateWheelTimeout" "200"
[    24.824] (**) Option "YAxisMapping" "4 5"
[    24.824] (**) ImPS/2 Generic Wheel Mouse: YAxisMapping: buttons 4 and 5
[    24.824] (**) Option "XAxisMapping" "6 7"
[    24.824] (**) ImPS/2 Generic Wheel Mouse: XAxisMapping: buttons 6 and 7
[    24.824] (**) ImPS/2 Generic Wheel Mouse: EmulateWheelButton: 2, 
EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    24.824] (II) XINPUT: Adding extended input device "ImPS/2 Generic Wheel 
Mouse" (type: MOUSE)
[    24.824] (**) ImPS/2 Generic Wheel Mouse: (accel) keeping acceleration 
scheme 1
[    24.824] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration profile 0
[    24.824] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration factor: 2.000
[    24.824] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration threshold: 4
[    24.824] (II) ImPS/2 Generic Wheel Mouse: initialized for relative axes.
[    24.824] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse 
(/dev/input/mouse0)
[    24.824] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "ImPS/2 
Generic Wheel Mouse"
[    24.824] (**) ImPS/2 Generic Wheel Mouse: always reports core events
[    24.824] (**) ImPS/2 Generic Wheel Mouse: Device: "/dev/input/mouse0"
[    24.826] (EE) ioctl EVIOCGNAME failed: Inappropriate ioctl for device
[    24.830] (II) UnloadModule: "evdev"
[    24.830] (EE) PreInit returned NULL for "ImPS/2 Generic Wheel Mouse"


Expected Results:  
[   499.673] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse 
(/dev/input/event1)
[   499.673] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "evdev 
pointer catchall"
[   499.673] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "ImPS/2 
Generic Wheel Mouse"
[   499.673] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "vmmouse"
[   499.673] (II) LoadModule: "vmmouse"
[   499.673] (II) Loading /usr/lib64/xorg/modules/input/vmmouse_drv.so
[   499.728] (II) Module vmmouse: vendor="X.Org Foundation"
[   499.728]    compiled for 1.9.3, module version = 12.6.99
[   499.728]    Module class: X.Org XInput Driver
[   499.728]    ABI class: X.Org XInput driver, version 11.0
[   499.728] (II) VMWARE(0): VMMOUSE module was loaded
[   499.728] (II) VMWARE(0): vmmouse is available
[   499.728] (**) ImPS/2 Generic Wheel Mouse: always reports core events
[   499.728] (**) Option "Device" "/dev/input/event1"
[   499.733] (**) ImPS/2 Generic Wheel Mouse: ZAxisMapping: buttons 4 and 5
[   499.733] (II) XINPUT: Adding extended input device "ImPS/2 Generic Wheel 
Mouse" (type: MOUSE)
[   499.733] (**) ImPS/2 Generic Wheel Mouse: (accel) keeping acceleration 
scheme 1
[   499.733] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration profile 0
[   499.733] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration factor: 2.000
[   499.733] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration threshold: 4
[   499.733] (II) VMWARE(0): VMMOUSE DEVICE_INIT
[   499.733] (II) VMWARE(0): VMMOUSE DEVICE_ON
[   499.735] (II) VMWARE(0): vmmouse enabled
[   499.735] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse 
(/dev/input/mouse0)
[   499.735] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "ImPS/2 
Generic Wheel Mouse"
[   499.735] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "vmmouse"
[   499.735] (II) VMWARE(0): vmmouse is available
[   499.735] (**) ImPS/2 Generic Wheel Mouse: always reports core events
[   499.735] (**) Option "Device" "/dev/input/mouse0"
[   499.741] (**) ImPS/2 Generic Wheel Mouse: ZAxisMapping: buttons 4 and 5
[   499.741] (II) XINPUT: Adding extended input device "ImPS/2 Generic Wheel 
Mouse" (type: MOUSE)
[   499.741] (**) ImPS/2 Generic Wheel Mouse: (accel) keeping acceleration 
scheme 1
[   499.741] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration profile 0
[   499.741] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration factor: 2.000
[   499.741] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration threshold: 4
[   499.741] (II) VMWARE(0): VMMOUSE DEVICE_INIT
[   499.741] (II) VMWARE(0): VMMOUSE DEVICE_ON
[   499.743] (II) VMWARE(0): vmmouse enabled


The problem is caused by two different things. First inside the udev rule 
"/lib/udev/rules.d/69-xorg-vmmouse.rules" the part "KERNEL=="event[0-9]*", " 
has to be removed. The rule doesn't match and "ID_INPUT.tags=vmmouse" isn't 
set. (udevadm info --query=all --path=$(udevadm info --query=path --name 
/dev/input/mouse0))

The second thing is only a problem if /usr lies on it's own partition.
During system statup when the udev rule "69-xorg-vmmouse.rules" is
fired, the usr-partionen isn't available and because of that the part
"ROGRAM="/usr/bin/vmmouse_detect"" of the udev rule results in false and
"ID_INPUT.tags=vmmouse" isn't set. If you trigger the udev-rule after
system startup manually by "udevadm trigger $(udevadm info --query=path
--name /dev/input/mouse0)" "ID_INPUT.tags=vmmouse" is set and
vmmouse_drv.so is loaded during X restart.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-
vmmouse/+bug/996821/comments/0

------------------------------------------------------------------------
On 2011-09-14T10:47:01+00:00 Sndirsch-u wrote:

We're using the upstream udev rule file. Hence I believe this issue
needs to be addressed upstream. Michel, what do you think?

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-
vmmouse/+bug/996821/comments/1

------------------------------------------------------------------------
On 2011-10-12T13:43:28+00:00 Sndirsch-u wrote:

Michel? (I've put the wrong person into NEEDINFO field).

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-
vmmouse/+bug/996821/comments/2

------------------------------------------------------------------------
On 2012-01-05T14:14:31+00:00 Sndirsch-u wrote:

Michel, any chance you could comment on this one?

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-
vmmouse/+bug/996821/comments/3

------------------------------------------------------------------------
On 2012-01-05T16:58:52+00:00 Michel-daenzer wrote:

I'm no longer working on VMware stuff. Adding Thomas Hellström to CC.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-
vmmouse/+bug/996821/comments/4

------------------------------------------------------------------------
On 2012-01-05T18:38:12+00:00 Sndirsch-u wrote:

Thanks, Michel!

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-
vmmouse/+bug/996821/comments/5

------------------------------------------------------------------------
On 2012-01-10T15:12:47+00:00 Sndirsch-u wrote:

Thomas, any chance you could comment on this one?

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-
vmmouse/+bug/996821/comments/6

------------------------------------------------------------------------
On 2012-01-12T08:14:38+00:00 Thomas Hellström wrote:

(In reply to comment #6)
> Thomas, any chance you could comment on this one?

Hi! Sorry for the late response.

The xf86-input-vmmouse configure script should have a number of options
to adapt to distro-specific locations and other stuff.

For example, if vmmouse_detect isn't present when it's needed you should
install it somewhere else (/bin perhaps?). I think vmmouse_detect is the
only executable the package installs sou it should be sufficient to use

--bindir=/bin

during configuration.

The first issue with "KERNEL=="event[0-9]*" is a bit trickier!
Why doesn't it work with OpenSuSE? 
Is there something that works better with this distro?,
I could certainly add a configure option to xf86-input-vmmouse to look for 
something else.

Thanks,
Thomas

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-
vmmouse/+bug/996821/comments/7

------------------------------------------------------------------------
On 2012-01-12T08:51:53+00:00 Sndirsch-u wrote:

Thanks for the hint about vmmouse_detect program, Thomas! Not sure why
"KERNEL=="event[0-9]*" doesn't match on openSUSE. Sebastian, could you
provide the output of

udevadm info --query=all --path=$(udevadm info --query=path --name
/dev/input/mouse0)

Hope this helps to investigate that issue. Unfortunately I'm neither an
udev expert nor a vmware user. :-(

What I've seen is that we have several udev rule files with

  KERNEL="event*"

rules, but only one (/lib/udev/rules.d/69-xorg-vmmouse.rules) with

  KERNEL="even[0-9]"

Maybe that's issue.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-
vmmouse/+bug/996821/comments/8

------------------------------------------------------------------------
On 2012-03-06T14:18:48+00:00 Sndirsch-u wrote:

Still waiting for a response for more than a month now. Please reopen once
you can provide the requested feedback. Thanks.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-
vmmouse/+bug/996821/comments/9

------------------------------------------------------------------------
On 2012-03-07T14:08:59+00:00 Sebastian-henrich wrote:

Sorry, I din't see your comment at 2012-01-12 08:51:53. Here's the
output:

linux-rjhp:~ # udevadm info --query=all --path=$(udevadm info --query=path 
--name /dev/input/mouse0)
P: /devices/platform/i8042/serio1/input/input1/mouse0
N: input/mouse0
S: input/by-path/platform-i8042-serio-1-mouse
E: UDEV_LOG=3
E: DEVPATH=/devices/platform/i8042/serio1/input/input1/mouse0
E: MAJOR=13
E: MINOR=32
E: DEVNAME=/dev/input/mouse0
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_SERIAL=noserial
E: ID_PATH=platform-i8042-serio-1
E: DEVLINKS=/dev/input/by-path/platform-i8042-serio-1-mouse

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-
vmmouse/+bug/996821/comments/10

------------------------------------------------------------------------
On 2012-03-07T14:25:35+00:00 Sndirsch-u wrote:

Thanks. Unfortunately I no longer remember, why I aseked for that
information.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-
vmmouse/+bug/996821/comments/11

------------------------------------------------------------------------
On 2012-03-07T14:31:50+00:00 Sebastian-henrich wrote:

Mmh, that's bad.

Here's the output from a Ubuntu 10.04 installation with working vmmouse
driver:

udevadm info --query=all --path=$(udevadm info --query=path --name 
/dev/input/mouse0)
P: /devices/virtual/input/input1/mouse0
N: input/mouse0
S: char/13:32
E: UDEV_LOG=3
E: DEVPATH=/devices/virtual/input/input1/mouse0
E: MAJOR=13
E: MINOR=32
E: DEVNAME=/dev/input/mouse0
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_SERIAL=noserial
E: DEVLINKS=/dev/char/13:32

As you can see, there're some differences. Perhaps it helps. If it helps
I can also do a test installation with openSUSE 12.1.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-
vmmouse/+bug/996821/comments/12


** Changed in: xserver-xorg-input-vmmouse (Suse)
       Status: Unknown => In Progress

** Changed in: xserver-xorg-input-vmmouse (Suse)
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-input-vmmouse in Ubuntu.
https://bugs.launchpad.net/bugs/996821

Title:
  vmmouse 12.8 behaves erratically in when running as a VMware guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-vmmouse/+bug/996821/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to