<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><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> changed
          <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>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>bugzilla@victortoso.com
           </td>
         </tr></table>
      <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#c1">Comment # 1</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>(In reply to McHoZhang from <a href="show_bug.cgi?id=98449#c0">comment #0</a>)
<span class="quote">> Hello,
>    I use MinGW to cross compile spice-gtk on Fedora for Windows, the problem
> is when I choose the usb device to redict, after the driver being installed
> on the guest VM , the mouse cursor couldn't move(or sometimes disappear),
> but it works again as long as I remove the usb device.</span >

You could enable debug to see what's going on.

<span class="quote">>    And I want to mention that if I keep moving the mouse cursor from the
> start when the usb device is redirected, the cursor will remain alive, but
> if I stop for a few seconds, it can't move anymore. Previously I compiled on
> Fedora 25(latest version),but
> it came out that usb driver not reinstall in local machine, it means that
> the usb device can't use anymore, then I use Fedora 19 and solve this
> problem, I believe they install the different MinGW or GTK library.</span >

Just to be sure, you are using mingw infrastructure to cross-compile spice-gtk
itself as mingw-spice-gtk does enable usbredir for windows by default [0]

[0]
<a href="http://pkgs.fedoraproject.org/cgit/rpms/mingw-spice-gtk.git/tree/mingw-spice-gtk.spec#n107">http://pkgs.fedoraproject.org/cgit/rpms/mingw-spice-gtk.git/tree/mingw-spice-gtk.spec#n107</a>

<span class="quote">>    I've also tried to compile it with gcc, and run on linux, it seems to
> work fine, so I don't know if it's the spice-gtk ,usbdk or the mingw problem
>    I use:
>    Fedora 19
>    mingw32 and mingw64 (respectively for x86 and x64 windows 7)
>    gtk+ - 3.12
>    spice-gtk 0.31 (actually I've also tried 0.29,0.19)</span >

usbdk integration with spice-gtk was introduced in 0.32

<span class="quote">>    usbclerk
>    usbdk (1.0.15 and 1.0.6)

>    I'm very appreciate if anyone can tell me what I do wrong, or what may
> cause this problem.</span >

1) Use fedora 24 or fedora 25
2) Use spice-gtk with usbdk integration (0.32 or 0.33)
3) If it fails, provide debug from the client as it can hint the issue</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>