<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Mouse cursor couldn't move when usb device is redirected"
href="https://bugs.freedesktop.org/show_bug.cgi?id=98449#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Mouse cursor couldn't move when usb device is redirected"
href="https://bugs.freedesktop.org/show_bug.cgi?id=98449">bug 98449</a>
from <span class="vcard"><a class="email" href="mailto:bugzilla@victortoso.com" title="Victor Toso <bugzilla@victortoso.com>"> <span class="fn">Victor Toso</span></a>
</span></b>
<pre>Hi,
(In reply to McHoZhang from <a href="show_bug.cgi?id=98449#c3">comment #3</a>)
<span class="quote">> (In reply to Victor Toso from <a href="show_bug.cgi?id=98449#c1">comment #1</a>)
> I still need to install usbclerk,right? I use usbclerk 0.3.3.</span >
Nops. You need to install UsbDk only (in the machine you run spicy.exe, which
is the client machine)
<span class="quote">> I found that "toggle mouse mode" in Options can't work properly either,
> the mouse can't click when toggled. And if toggle the mouse mode when
> redirecting usb device, the mouse cursor can move, but still can't click.</span >
Right. The toggle mouse mode is there to toggle between server mode and client
mode. It should work in server mode.
<span class="quote">>
> I enable spice-debug, it repeatedly output lots of libusb debug logs when
> redirecting usb device, and I provide part of it in the attachment. Then I
> unplug the usb device , and spicy.exe crash and exit, as the end of the
> attachment.
>
> the spice-gtk configure:
>
> Spice-Gtk 0.33
> ==============
> prefix: /usr/i686-w64-mingw32/sys-root/mingw
> c compiler: i686-w64-mingw32-gcc
> Target: Windows
>
> Gtk: 3.0
> Coroutine: winfiber
> PulseAudio: no
> GStreamer Audio: yes
> GStreamer Video: yes</span >
You can disable gstreamer video if you want
<span class="quote">> SASL support: no
> Smartcard support: no
> USB redirection support: yes
> DBus: yes
> WebDAV support: no
> LZ4 support: no
>
> Now type 'make' to build spice-gtk
>
> configure: WARNING: The avdec_h264 GStreamer element(s) are missing.
> You should be able to find them in the gstreamer-libav 1.0 package.
> configure: WARNING: The GStreamer video decoder can be built but may
> not work.</span >
Sorry, there is another nitpic here. You need to cross compile the latest
libusb with --enable-usbdk as well, please check [0] for the request to update
this in mingw-libusbx
[0] <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1388680">https://bugzilla.redhat.com/show_bug.cgi?id=1388680</a>
So, I'm afraid that you might be seeing a real bug with the mouse while
redirecting the usb device but I plan to test it after we update mingw-libusbx
and mingw-spice-gtk.
If everthing goes well, next mingw-libusbx will have --enable-usbdk and next
mingw-spice-gtk will have --enable-usbredir; the same will apply for the
windows version of remote-viewer [1]
[1] <a href="https://virt-manager.org/download/">https://virt-manager.org/download/</a>
In case you test the latest libusb on windows, let me know if the issue is
solved; Also, it might be interesting to share the qemu command line of your
guest (or the libvirt xml with virsh dumpxml <domain>)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>