#714100 xserver-xorg-input-evdev: no mouse wheel in spice enabled KVM guest and spice-vdagent running #714100
- Package:
- xserver-xorg-input-evdev
- Source:
- xserver-xorg-input-evdev
- Description:
- X.Org X server -- evdev input driver
- Submitter:
- Sascha Lucas
- Date:
- 2014-10-13 10:30:09 UTC
- Severity:
- normal
Dear Maintainer, there is already a launchpad BUG[1], describing my problem. In short: * KVM virtualisation (host and guest are wheezy) * spice is enabled as "display" (no SDL, VNC) * an usbtablet is used as absolute pointer * insinde the guest runs spice-vdagent (X11 session) Killing the agent scrolling works. without the agent you lose clipboard shareing between spice client and server. [1] https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/1039523 TIA, Sascha.
Poking around with ximput. I discovered movements of my mouse
were being seen in wheezy VM as "tablet".
The VM config (in virtual Machine Manager) did indeed have a tablet
defined.
I deleted this tablet (and also a 2nd mouse created while banging my
head against the wall WRT this bug)
and using xinput inside wheezy I saw a new 'tablet appear'
Testing using xinput I can see that my mouse events are appearing on
this tablet and not on the "ExPS/2 Generic Explorer Mouse"
If I stop spice-vdagent , the "spice vdagent tablet disappears, mouse
input then appears on "ExPS/2 Generic Explorer Mouse"
and the mouse wheel starts to work (appears as buttons 4 & 5)
root@vdebian:~# xinput
Virtual core pointer id=2 [master pointer (3)]
Virtual core XTEST pointer id=4 [slave pointer
(2)]
ImExPS/2 Generic Explorer Mouse id=8 [slave pointer
(2)]
Virtual core keyboard id=3 [master keyboard (2)]
Virtual core XTEST keyboard id=5 [slave
keyboard (3)]
Power Button id=6 [slave
keyboard (3)]
AT Translated Set 2 keyboard id=7 [slave
keyboard (3)]
ACPI Virtual Keyboard Device id=9 [slave
keyboard (3)]
root@vdebian:~# service spice-vdagent start
[ ok ] Starting Agent daemon for Spice guests: spice-vdagent.
root@vdebian:~# xinput
Virtual core pointer id=2 [master pointer (3)]
Virtual core XTEST pointer id=4 [slave pointer
(2)]
ImExPS/2 Generic Explorer Mouse id=8 [slave pointer
(2)]
spice vdagent tablet id=10 [slave
pointer (2)] <------------------------- NEW
Virtual core keyboard id=3 [master keyboard (2)]
Virtual core XTEST keyboard id=5 [slave
keyboard (3)]
Power Button id=6 [slave
keyboard (3)]
AT Translated Set 2 keyboard id=7 [slave
keyboard (3)]
ACPI Virtual Keyboard Device id=9 [slave
keyboard (3)]