[Bug 98449] Mouse cursor couldn't move when usb device is redirected

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 27 12:40:04 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=98449

--- Comment #4 from Victor Toso <bugzilla at victortoso.com> ---
Hi,

(In reply to McHoZhang from comment #3)
> (In reply to Victor Toso from comment #1)
> I still need to install usbclerk,right? I use usbclerk 0.3.3.

Nops. You need to install UsbDk only (in the machine you run spicy.exe, which
is the client machine)


> 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.

Right. The toggle mouse mode is there to toggle between server mode and client
mode. It should work in server mode.

> 
> 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

You can disable gstreamer video if you want

>         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.

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] https://bugzilla.redhat.com/show_bug.cgi?id=1388680

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] https://virt-manager.org/download/

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>)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-bugs/attachments/20161027/b4effde1/attachment.html>


More information about the spice-bugs mailing list