<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi,<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 07/19/2018 11:07 AM, 王杰东 wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:tencent_5A30CC394031941538ED9A7F@qq.com">
      <div><em class="op_dict3_inlineblock">Recently i try the
          remote-viewer6.0 on Windows with parameter :
          --spice-usbredir-auto-redirect-filter="</em><em
          class="op_dict3_inlineblock"><em class="op_dict3_inlineblock">0x03,-1,-1,-1,0|-1,-1,-1,-1,1</em>",
          i want my usb auto redirect to VM except Mouse and keyboard,
          but it never works. <br>
        </em></div>
      <div><em class="op_dict3_inlineblock">then i run remote-viewer.exe
          with paremeter: --spice-usbredir-redirect-on-connect="</em><em
          class="op_dict3_inlineblock"><em class="op_dict3_inlineblock">0x03,-1,-1,-1,0|-1,-1,-1,-1,1</em>",
          the inserted usb can redirect sussessfully.</em></div>
      <div><em class="op_dict3_inlineblock"></em></div>
      <em class="op_dict3_inlineblock"></em>
      <div><br>
      </div>
      <div><span style="font-style: italic;">so is my paremeter of
          auto-redirect-filter is error ? there are no obvious ERROR
          debug info when I use this parameter.</span></div>
      <div><span style="font-style: italic;">or something else i need to
          do if i want to auto redirect usb to vm?</span><br>
      </div>
      <em class="op_dict3_inlineblock"><br>
      </em></blockquote>
    <em><br>
    </em>Your filter string looks fine, as mentioned on the website [1],
    make sure client's window<br>
    is in focus (click inside few times just to make sure) while you
    plug in the device.<br>
    (please reply if it doesn't work)<br>
    <br>
    [1] <a class="moz-txt-link-freetext" href="https://www.spice-space.org/usbredir.html">https://www.spice-space.org/usbredir.html</a><br>
    <br>
    Snir.<br>
    <br>
    <br>
    <em></em>
    <blockquote type="cite"
      cite="mid:tencent_5A30CC394031941538ED9A7F@qq.com"><em
        class="op_dict3_inlineblock">Thanks for help !<br>
      </em>
      <div><span style="font-family: sans-serif;"></span>
        <div>
          <div><br>
          </div>
          <div>
            <div><tincludetail></tincludetail></div>
          </div>
        </div>
      </div>
      <!--<![endif]--><br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Spice-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/spice-devel">https://lists.freedesktop.org/mailman/listinfo/spice-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>