[Spice-devel] [PATCH 2/2] Add controller messages for USB redirection
flooding Controlled
flooding2012 at gmail.com
Tue Jul 24 07:25:10 PDT 2012
Hi:
I catch a log from my guys's real PC. And it seems that the device "Bus
001 Device 035: ID 0557:2407 ATEN International Co., Ltd "
is filtered by the default rule I mentioned above. Can you tell me how the
rule match now ? Thanks a lot.!
2012/7/24 Hans de Goede <hdegoede at redhat.com>
> Hi,
>
>
> On 07/24/2012 04:03 PM, flooding Controlled wrote:
>
>> Oh~~ I am sorry that in my company we have to use vms... Though I think
>> that a real machine is more perfect...
>>
>> I catch a new part of log with my USB plugin in .
>>
>>
>> Bus 001 Device 003: ID 154b:6001 PNY
>> Device Descriptor:
>> bLength 18
>> bDescriptorType 1
>> bcdUSB 2.00
>> bDeviceClass 0 (Defined at Interface level)
>> bDeviceSubClass 0
>> bDeviceProtocol 0
>> bMaxPacketSize0 64
>> idVendor 0x154b PNY
>> idProduct 0x6001
>> bcdDevice 1.00
>> iManufacturer 1 PNY
>> iProduct 2 Lovely Attache
>> iSerial 3 0000000000011F
>> bNumConfigurations 1
>> Configuration Descriptor:
>> bLength 9
>> bDescriptorType 2
>> wTotalLength 39
>> bNumInterfaces 1
>> bConfigurationValue 1
>> iConfiguration 0
>> bmAttributes 0x80
>> (Bus Powered)
>> MaxPower 98mA
>> Interface Descriptor:
>> bLength 9
>> bDescriptorType 4
>> bInterfaceNumber 0
>> bAlternateSetting 0
>> bNumEndpoints 3
>> bInterfaceClass 8 Mass Storage
>> bInterfaceSubClass 6 SCSI
>> bInterfaceProtocol 80 Bulk (Zip)
>> iInterface 0
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x01 EP 1 OUT
>> bmAttributes 2
>> Transfer Type Bulk
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0200 1x 512 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x82 EP 2 IN
>> bmAttributes 2
>> Transfer Type Bulk
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0200 1x 512 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x83 EP 3 IN
>> bmAttributes 3
>> Transfer Type Interrupt
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0040 1x 64 bytes
>> bInterval 8
>> Device Qualifier (for other device speed):
>> bLength 10
>> bDescriptorType 6
>> bcdUSB 2.00
>> bDeviceClass 0 (Defined at Interface level)
>> bDeviceSubClass 0
>> bDeviceProtocol 0
>> bMaxPacketSize0 64
>> bNumConfigurations 1
>> Device Status: 0x0000
>> (Bus Powered)
>>
>>
>> Is there a rule matched ?
>>
>
> That does not look like a printer, but like a standard usb mass storage
> device,
> maybe your printer has a build in hub and shows up as multiple devices?
>
> Once your printer shows up in lsusb in the client, then the client should
> redirect it without issues. If you think filtering is the problem try
> going to File -> USB device selection, the filter only influences
> auto-redirection,
> you can always manually redirect. Also note that auto redirect only works
> if the remote-viewer window has focus while the device gets plugged in.
>
> Regards,
>
> Hans
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120724/5a75f745/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: usb.log
Type: application/octet-stream
Size: 20994 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120724/5a75f745/attachment-0001.obj>
More information about the Spice-devel
mailing list