Mouse Scroll Wheel not working in spice vm guests

Bug #1039523 reported by Bastian
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
xserver-xorg-input-evdev (Ubuntu)
Expired
Low
Unassigned

Bug Description

Im runnning Precise in various qemu-kvm virtual machines with Spice.

The ScrollWheel stops working in the virtual machine as soon the spice-vdagent gets started.
After killing the spice-vdagent process the Scroll Wheel works again.
Seems to be an evdev Bug, see solved Fedora Bug:

https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=805902

Infos:

Description: Ubuntu 12.04.1 LTS
Release: 12.04

xserver-xorg-input-evdev:
  Installiert: 1:2.7.0-0ubuntu1.2
  Kandidat: 1:2.7.0-0ubuntu1.2
  Versionstabelle:
 *** 1:2.7.0-0ubuntu1.2 0
        500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1:2.7.0-0ubuntu1 0
        500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

spice-vdagent:
  Installiert: (keine)
  Kandidat: 0.8.1-1
  Versionstabelle:
     0.8.1-1 0
        500 http://de.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages

See also attached Xorg.0.log

Tags: precise
Revision history for this message
Bastian (m11g5w-3-5lmmq9) wrote :
Revision history for this message
Bastian (m11g5w-3-5lmmq9) wrote :

I think I found the solution by applying these patches

0001-Allow-relative-scroll-valuators-on-absolute-devices.patch
0001-Fix-inverted-horizontal-scroll-46205.patch

from the Fedora Package http://koji.fedoraproject.org/koji/rpminfo?rpmID=3034113 seems to fix the problem.
Someone needs to apply these patches on xserver-xorg-input-evdev ?

bugbot (bugbot)
tags: added: precise
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xserver-xorg-input-evdev (Ubuntu):
status: New → Confirmed
Revision history for this message
Michal Suchanek (hramrach) wrote :

The redhat patches do not work for me athough they are supposed to address exactly this problem.

tags: added: apport-collected referred-by-support running-unity ubuntu
Revision history for this message
Michal Suchanek (hramrach) wrote : apport information

ApportVersion: 2.0.1-0ubuntu12
Architecture: i386
DistUpgraded: 2012-08-30 11:28:54,407 DEBUG enabling apt cron job
DistroCodename: precise
DistroRelease: Ubuntu 12.04
DistroVariant: ubuntu
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
Lsusb:
 Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd
 Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Bochs Bochs
Package: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1.2qemu-scroll1
PackageArchitecture: i386
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.6.0-030600rc3-generic root=UUID=abc94f37-9b02-4b70-9344-2abbf3a4728e ro quiet splash
Tags: precise running-unity ubuntu referred-by-support
Uname: Linux 3.6.0-030600rc3-generic i686
UnreportableReason: This is not an official Ubuntu package. Please remove any third party package and try again.
UpgradeStatus: Upgraded to precise on 2012-08-30 (0 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 01/01/2007
dmi.bios.vendor: Bochs
dmi.bios.version: Bochs
dmi.chassis.type: 1
dmi.chassis.vendor: Bochs
dmi.modalias: dmi:bvnBochs:bvrBochs:bd01/01/2007:svnBochs:pnBochs:pvr:cvnBochs:ct1:cvr:
dmi.product.name: Bochs
dmi.sys.vendor: Bochs
version.compiz: compiz 1:0.9.7.8-0ubuntu1.4
version.libdrm2: libdrm2 2.4.32-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.3+8.0.2-0ubuntu3.2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.3+8.0.2-0ubuntu3.2
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu10.7
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1.2qemu-scroll1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4.1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2

Revision history for this message
Michal Suchanek (hramrach) wrote : BootDmesg.txt

apport information

Revision history for this message
Michal Suchanek (hramrach) wrote : BootLog.gz

apport information

Revision history for this message
Michal Suchanek (hramrach) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Michal Suchanek (hramrach) wrote : Dependencies.txt

apport information

Revision history for this message
Michal Suchanek (hramrach) wrote : DpkgLog.txt

apport information

Revision history for this message
Michal Suchanek (hramrach) wrote : Lspci.txt

apport information

Revision history for this message
Michal Suchanek (hramrach) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Michal Suchanek (hramrach) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Michal Suchanek (hramrach) wrote : ProcModules.txt

apport information

Revision history for this message
Michal Suchanek (hramrach) wrote : UdevDb.txt

apport information

Revision history for this message
Michal Suchanek (hramrach) wrote : UdevLog.txt

apport information

Revision history for this message
Michal Suchanek (hramrach) wrote : XorgLog.txt

apport information

Revision history for this message
Michal Suchanek (hramrach) wrote : XorgLogOld.txt

apport information

Revision history for this message
Michal Suchanek (hramrach) wrote : peripherals.txt

apport information

Revision history for this message
Michal Suchanek (hramrach) wrote : xinput.txt

apport information

Revision history for this message
Michal Suchanek (hramrach) wrote : Re: Mouse Scroll Wheel not working

They do in fact work but they conflict with the existing ubuntu patches and dpkg-buildpackage somehow 'solved' the conflict by not applying the patches.

Revision history for this message
mard0 (martijn-doornbusch-l) wrote :

This is also the problem in 13.04

Revision history for this message
Harry Coin (hcoin) wrote :

I found that doing:

mkdir ~/shouldhavebeendoneatcanonicalalongtimeago
cd ~/shouldhavebeendoneatcanonicalalongtimeago
apt-get source xserver-xorg-input-evdev
apt-get build-dep xserver-xorg-input-evdev
http://cgit.freedesktop.org/xorg/driver/xf86-input-evdev/log/
download and unpack the tar at [head], cp -r (overwrite) the contents of the xserver-xorg with the newer stuff
cd xserver-xorg...
rm debian/patches/*
debchange -n (put in a remark as to the date of the fix)
dpkg-buildpackage -b
in the vm, install the result (dpkg -i ../(latest deb there).deb

and ... scrolling once again works in vms where it was broken before.
I've tried to attach the .deb for amd_64 with this post.

Harry Coin (hcoin)
summary: - Mouse Scroll Wheel not working
+ Mouse Scroll Wheel not working in spice vm guests
Revision history for this message
penalvch (penalvch) wrote :

Bastian, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p xserver-xorg-input-evdev REPLACE-WITH-BUG-NUMBER

Please note, given that the information from the prior release is already available, doing this on a release prior to the development one would not be helpful.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

tags: removed: apport-collected referred-by-support running-unity ubuntu
Changed in xserver-xorg-input-evdev (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xserver-xorg-input-evdev (Ubuntu) because there has been no activity for 60 days.]

Changed in xserver-xorg-input-evdev (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Michal Suchanek (hramrach) wrote :

seems upstream is still broken and ubuntu has not patched this

Revision history for this message
Harry Coin (hcoin) wrote :

Still broken in saucy.

Changed in xserver-xorg-input-evdev (Ubuntu):
status: Expired → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Michal Suchanek / Harry Coin, thank you for your comment. So your hardware and problem may be tracked, could you please file a new report by executing the following in a terminal:
ubuntu-bug xorg

Please ensure you have xdiagnose installed, and that you click the Yes button for attaching additional debugging information.

For more on this, please see the official Ubuntu documentation:
Ubuntu X.Org Team, Ubuntu Bug Control, and Ubuntu Bug Squad: https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Community: https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Please note, not filing a new report will delay your problem being addressed as quickly as possible.

Thank you for your understanding.

Changed in xserver-xorg-input-evdev (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Harry Coin (hcoin) wrote : Re: [Bug 1039523] Re: Mouse Scroll Wheel not working in spice vm guests

On 04/02/2014 10:36 PM, Christopher M. Penalver wrote:
> Michal Suchanek / Harry Coin, thank you for your comment. So your hardware and problem may be tracked, could you please file a new report by executing the following in a terminal:
> ubuntu-bug xorg
>
> Please ensure you have xdiagnose installed, and that you click the Yes
> button for attaching additional debugging information.
>
> For more on this, please see the official Ubuntu documentation:
> Ubuntu X.Org Team, Ubuntu Bug Control, and Ubuntu Bug Squad: https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
> Ubuntu Community: https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette
>
> When opening up the new report, please feel free to subscribe me to it.
>
> Please note, not filing a new report will delay your problem being
> addressed as quickly as possible.
>
> Thank you for your understanding.
>
> ** Changed in: xserver-xorg-input-evdev (Ubuntu)
> Status: Confirmed => Incomplete
>

I tried it out with trusty beta 2 with exactly the same results as saucy
-- no scroll wheel operation.

However, I have found a major clue.

do:

service spice-vdagent stop

and the scroll wheel works (but cuttting and pasting and related is
broken).

and after

service spice-vdagent start

the scroll wheel stops again, but cutting and pasting works.

There is some sort of fight between spice-vdagent and the evdev xorg driver.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xserver-xorg-input-evdev (Ubuntu) because there has been no activity for 60 days.]

Changed in xserver-xorg-input-evdev (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.