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

Hans de Goede hdegoede at redhat.com
Tue Jul 24 05:33:44 PDT 2012


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


More information about the Spice-devel mailing list