[Spice-devel] [PATCH 2/2] Add controller messages for USB redirection

flooding Controlled flooding2012 at gmail.com
Tue Jul 24 06:50:43 PDT 2012


Yes , I am on Linux client. And I attach the log as you mentioned above.

So, I seem to get some inspire,  the value of the rule is some item in the
log, right ? Thanks!


2012/7/24 Hans de Goede <hdegoede at redhat.com>

> Hi,
>
>
> On 07/24/2012 02:22 PM, flooding Controlled wrote:
>
>> Hi:
>>
>>    The code '''
>>       * @rule1|@rule2|@rule3
>>       *
>>       * The default setting filters out HID (class 0x03) USB devices from
>> auto
>>       * connect and auto connects anything else. Note the explicit allow
>> rule at
>>       * the end, this is necessary since by default all devices without a
>>       * matching filter rule will not auto-connect.
>>       *
>>       * Filter strings in this format can be easily created with the
>> RHEV-M
>>       * USB filter editor tool.
>>       */
>>      pspec = g_param_spec_string("auto-**connect-filter", "Auto Connect
>> Filter ",
>>                 "Filter determining which USB devices to auto connect",
>>                 "0x03,-1,-1,-1,0|-1,-1,-1,-1,**1",
>>                 G_PARAM_READWRITE | G_PARAM_CONSTRUCT |
>> G_PARAM_STATIC_STRINGS);
>>      g_object_class_install_**property(gobject_class,
>> PROP_AUTO_CONNECT_FILTER,
>>                                      pspec);
>> '''
>>
>>   "0x03,-1,-1,-1,0|-1,-1,-1,-1,**1" , this is the rule to filter the usb
>> device. I am afraid that my USB print may be filterd by it. Is there any
>> detail descriptions about the rules and how can I make the rule according
>> to my preferences? For exmple , I do not want to automount my USB mouse and
>> keyboard, but my USB print. Can anyone give me some suggestions ?
>>
>>
>
> Are you using the Linux or the Windows client? If you've a Linux client,
> can
> you please do "lsusb -v > lsusb.log" and send another mail with lsusb.log
> attached?
>
> Thanks,
>
> Hans
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120724/a2045cba/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: usb2.log
Type: application/octet-stream
Size: 9690 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120724/a2045cba/attachment.obj>


More information about the Spice-devel mailing list