<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);" dir="auto">
> The auto-redirect-filter only works for auto-redirected USB devices.</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);" dir="auto">
<br>
</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);" dir="auto">
may i know what "auto-redirected usb devices" mean here. what's auto-redirect-filter user case.</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);" dir="auto">
<br>
</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);" dir="auto">
<br>
</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);" dir="auto">
<br>
</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);" dir="auto">
<span>> When a user is choosing a device from the menu, the filter does not apply.</span></div>
<div id="ms-outlook-mobile-signature" dir="auto">
<div><br>
</div>
<div dir="auto">any idea to hide specific host usb devices from guest by current scheme</div>
<div dir="auto"><br>
</div>
<div><br>
</div>
Get <a href="https://aka.ms/AAb9ysg">Outlook for Android</a></div>
<div id="id-f6a8d475-5dcb-48a4-9fd6-b9df2cd42998" class="ms-outlook-mobile-reference-message">
<div style="font-family: sans-serif; font-size: 12.48pt; color: rgb(0, 0, 0);"><br>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg"><strong>发件人:</strong> Uri Lublin <uril@redhat.com><br>
<strong>发送时间:</strong> 2022年2月15日星期二 22:50<br>
<strong>收件人:</strong> Li, Zhijian/李 智坚<br>
<strong>抄送:</strong> spice-devel<br>
<strong>主题:</strong> Re: [Spice-devel] usbredir doesn't hide/filter specific usb devices<br>
</div>
<br>
<div dir="ltr">
<div>Hi Zhijian,</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Feb 15, 2022 at 3:52 PM Li, Zhijian <<a href="mailto:lizhijian@cn.fujitsu.com">lizhijian@cn.fujitsu.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
Hi guys<br>
<br>
I intended to not allow redirecting some of my usb devices(HID) to the guest, i thought
<a href="https://www.spice-space.org/usbredir.html" rel="noreferrer" target="_blank">
https://www.spice-space.org/usbredir.html</a><br>
could help on this.<br>
<br>
My host has below usb devices<br>
<br>
lizj@FNSTPC:~/workspace/vgt/virt-viewer/src$ lsusb<br>
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br>
Bus 001 Device 006: ID 04d8:0b2a Microchip Technology, Inc.<br>
Bus 001 Device 021: ID 046d:c534 Logitech, Inc. Unifying Receiver<br>
Bus 001 Device 004: ID 0424:2137 Standard Microsystems Corp.<br>
Bus 001 Device 003: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS <br>
802.11n WLAN Adapter<br>
Bus 001 Device 002: ID 0bda:8771 Realtek Semiconductor Corp.<br>
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>
<br>
$ remote-viewer <br>
--spice-usbredir-auto-redirect-filter="-1,0x0bda,-1,-1,0" --spice-debug <br>
spice://localhost:5900<br>
</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<br>
For testing, i just want to hide produce id 0x0bda from remote-viewer <br>
with above command line. But acutally<br>
<br>
i am still able to redirec both Realtek device to the guest through <br>
remote-viewer.<br>
<br>
So is there something with my usage ? Feel free to let me know if there <br>
is something wrong.<br>
</blockquote>
<div><br>
</div>
<div>The auto-redirect-filter only works for auto-redirected USB devices.</div>
<div>When a user is choosing a device from the menu, the filter does not apply.</div>
<div><br>
</div>
<div>Regards,</div>
<div dir="auto">    Uri.T<br>
</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<br>
Thanks<br>
<br>
Zhijian<br>
<br>
<br>
<br>
</blockquote>
</div>
</div>
<br>
</div>
</body>
</html>