--------------------------------
Zhou Jingbo
When I test with the iphone USB and some kinds of android USB,the error 
appeared.When attach to this kind of android USB It shows that :USB redirection 
error:Could not auto-redirect HTC (High Tech Computer Corp.) Device [0bb4:0f64] 
at 2-20: error resetting device: LIBUSB_ERROR_NOT_FOUND

Here is the detail:
Bus 002 Device 014: ID 0bb4:0f64 HTC (High Tech Computer Corp.)Device 
Descriptor:  bLength                18  bDescriptorType         1  bcdUSB       
        2.00  bDeviceClass            0 (Defined at Interface level)  
bDeviceSubClass         0  bDeviceProtocol         0  bMaxPacketSize0        64 
 idVendor           0x0bb4 HTC (High Tech Computer Corp.)  idProduct          
0x0f64  bcdDevice            2.28  iManufacturer           1 HTC  iProduct      
          2 Android Phone  iSerial                 3 HC43YWW10703  
bNumConfigurations      1  Configuration Descriptor:    bLength                 
9    bDescriptorType         2    wTotalLength          128    bNumInterfaces   
       4    bConfigurationValue     1    iConfiguration          0    
bmAttributes         0xc0      Self Powered    MaxPower              500mA    
Interface Descriptor:      bLength                 9      bDescriptorType       
  4      bInterfaceNumber        0      bAlternateSetting       0      
bNumEndpoints           3      bInterfaceClass         6 Imaging      
bInterfaceSubClass      1 Still Image Capture      bInterfaceProtocol      1 
Picture Transfer Protocol (PIMA 15470)      iInterface              4 MTP      
Endpoint Descriptor:        bLength                 7        bDescriptorType    
     5        bEndpointAddress     0x81  EP 1 IN        bmAttributes            
2          Transfer Type            Bulk          Synch Type               None 
         Usage Type               Data        wMaxPacketSize     0x0200  1x 512 
bytes        bInterval               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            
   0      Endpoint Descriptor:        bLength                 7        
bDescriptorType         5        bEndpointAddress     0x82  EP 2 IN        
bmAttributes            3          Transfer Type            Interrupt          
Synch Type               None          Usage Type               Data        
wMaxPacketSize     0x001c  1x 28 bytes        bInterval               6    
Interface Descriptor:      bLength                 9      bDescriptorType       
  4      bInterfaceNumber        1      bAlternateSetting       0      
bNumEndpoints           2      bInterfaceClass       255 Vendor Specific Class  
    bInterfaceSubClass    255 Vendor Specific Subclass      bInterfaceProtocol  
    0      iInterface              0      Endpoint Descriptor:        bLength   
              7        bDescriptorType         5        bEndpointAddress     
0x83  EP 3 IN        bmAttributes            2          Transfer Type           
 Bulk          Synch Type               None          Usage Type               
Data        wMaxPacketSize     0x0200  1x 512 bytes        bInterval            
   0      Endpoint Descriptor:        bLength                 7        
bDescriptorType         5        bEndpointAddress     0x02  EP 2 OUT        
bmAttributes            2          Transfer Type            Bulk          Synch 
Type               None          Usage Type               Data        
wMaxPacketSize     0x0200  1x 512 bytes        bInterval               1    
Interface Association:      bLength                 8      bDescriptorType      
  11      bFirstInterface         2      bInterfaceCount         2      
bFunctionClass          2 Communications      bFunctionSubClass       2 
Abstract (modem)      bFunctionProtocol       1 AT-commands (v.25ter)      
iFunction               8 CDC Serial    Interface Descriptor:      bLength      
           9      bDescriptorType         4      bInterfaceNumber        2      
bAlternateSetting       0      bNumEndpoints           1      bInterfaceClass   
      2 Communications      bInterfaceSubClass      2 Abstract (modem)      
bInterfaceProtocol      1 AT-commands (v.25ter)      iInterface              6 
CDC Abstract Control Model (ACM)      CDC Header:        bcdCDC               
1.10      CDC Call Management:        bmCapabilities       0x00        
bDataInterface          3      CDC ACM:        bmCapabilities       0x02        
  line coding and serial state      CDC Union:        bMasterInterface        2 
       bSlaveInterface         3      Endpoint Descriptor:        bLength       
          7        bDescriptorType         5        bEndpointAddress     0x85  
EP 5 IN        bmAttributes            3          Transfer Type            
Interrupt          Synch Type               None          Usage Type            
   Data        wMaxPacketSize     0x000a  1x 10 bytes        bInterval          
     9    Interface Descriptor:      bLength                 9      
bDescriptorType         4      bInterfaceNumber        3      bAlternateSetting 
      0      bNumEndpoints           2      bInterfaceClass        10 CDC Data  
    bInterfaceSubClass      0 Unused      bInterfaceProtocol      0      
iInterface              7 CDC ACM Data      Endpoint Descriptor:        bLength 
                7        bDescriptorType         5        bEndpointAddress     
0x84  EP 4 IN        bmAttributes            2          Transfer Type           
 Bulk          Synch Type               None          Usage Type               
Data        wMaxPacketSize     0x0200  1x 512 bytes        bInterval            
   0      Endpoint Descriptor:        bLength                 7        
bDescriptorType         5        bEndpointAddress     0x03  EP 3 OUT        
bmAttributes            2          Transfer Type            Bulk          Synch 
Type               None          Usage Type               Data        
wMaxPacketSize     0x0200  1x 512 bytes        bInterval               0Device 
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      1Device Status:     0x0000  
(Bus Powered)
When attach to iphone USB It shows as:
USB redirection error:Could not auto-redirect Apple Inc. iPhone [05ac:12a8] at 
2-5: Device is in use by another application
Detail:Bus 002 Device 008: ID 05ac:12a8 Apple, Inc.Device Descriptor:  bLength  
              18  bDescriptorType         1  bcdUSB               2.00  
bDeviceClass            0 (Defined at Interface level)  bDeviceSubClass         
0  bDeviceProtocol         0  bMaxPacketSize0        64  idVendor           
0x05ac Apple, Inc.  idProduct          0x12a8  bcdDevice            5.20  
iManufacturer           1 Apple Inc.  iProduct                2 iPhone  iSerial 
                3 f356e37b84b249a9d3be2c08fe4b9c2da2a2082d  bNumConfigurations  
    4  Configuration Descriptor:    bLength                 9    
bDescriptorType         2    wTotalLength           39    bNumInterfaces        
  1    bConfigurationValue     1    iConfiguration          5 PTP    
bmAttributes         0xc0      Self Powered    MaxPower              500mA    
Interface Descriptor:      bLength                 9      bDescriptorType       
  4      bInterfaceNumber        0      bAlternateSetting       0      
bNumEndpoints           3      bInterfaceClass         6 Imaging      
bInterfaceSubClass      1 Still Image Capture      bInterfaceProtocol      1 
Picture Transfer Protocol (PIMA 15470)      iInterface              0      
Endpoint Descriptor:        bLength                 7        bDescriptorType    
     5        bEndpointAddress     0x02  EP 2 OUT        bmAttributes           
 2          Transfer Type            Bulk          Synch Type               
None          Usage Type               Data        wMaxPacketSize     0x0200  
1x 512 bytes        bInterval              10      Endpoint Descriptor:        
bLength                 7        bDescriptorType         5        
bEndpointAddress     0x81  EP 1 IN        bmAttributes            2          
Transfer Type            Bulk          Synch Type               None          
Usage Type               Data        wMaxPacketSize     0x0200  1x 512 bytes    
    bInterval              10      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          
    10  Configuration Descriptor:    bLength                 9    
bDescriptorType         2    wTotalLength          149    bNumInterfaces        
  3    bConfigurationValue     2    iConfiguration          6 iPod USB 
Interface    bmAttributes         0xc0      Self Powered    MaxPower            
  500mA    Interface Descriptor:      bLength                 9      
bDescriptorType         4      bInterfaceNumber        0      bAlternateSetting 
      0      bNumEndpoints           0      bInterfaceClass         1 Audio     
 bInterfaceSubClass      1 Control Device      bInterfaceProtocol      0      
iInterface              0      AudioControl Interface Descriptor:        
bLength                 9        bDescriptorType        36        
bDescriptorSubtype      1 (HEADER)        bcdADC               1.00        
wTotalLength           30        bInCollection           1        
baInterfaceNr( 0)       1      AudioControl Interface Descriptor:        
bLength                12        bDescriptorType        36        
bDescriptorSubtype      2 (INPUT_TERMINAL)        bTerminalID             1     
   wTerminalType      0x0201 Microphone        bAssocTerminal          2        
bNrChannels             2        wChannelConfig     0x0003          Left Front 
(L)          Right Front (R)        iChannelNames           0        iTerminal  
             0      AudioControl Interface Descriptor:        bLength           
      9        bDescriptorType        36        bDescriptorSubtype      3 
(OUTPUT_TERMINAL)        bTerminalID             2        wTerminalType      
0x0101 USB Streaming        bAssocTerminal          1        bSourceID          
     1        iTerminal               0    Interface Descriptor:      bLength   
              9      bDescriptorType         4      bInterfaceNumber        1   
   bAlternateSetting       0      bNumEndpoints           0      
bInterfaceClass         1 Audio      bInterfaceSubClass      2 Streaming      
bInterfaceProtocol      0      iInterface              0    Interface 
Descriptor:      bLength                 9      bDescriptorType         4      
bInterfaceNumber        1      bAlternateSetting       1      bNumEndpoints     
      1      bInterfaceClass         1 Audio      bInterfaceSubClass      2 
Streaming      bInterfaceProtocol      0      iInterface              0      
AudioStreaming Interface Descriptor:        bLength                 7        
bDescriptorType        36        bDescriptorSubtype      1 (AS_GENERAL)        
bTerminalLink           2        bDelay                  1 frames        
wFormatTag              1 PCM      AudioStreaming Interface Descriptor:        
bLength                35        bDescriptorType        36        
bDescriptorSubtype      2 (FORMAT_TYPE)        bFormatType             1 
(FORMAT_TYPE_I)        bNrChannels             2        bSubframeSize           
2        bBitResolution         16        bSamFreqType            9 Discrete    
    tSamFreq[ 0]         8000        tSamFreq[ 1]        11025        tSamFreq[ 
2]        12000        tSamFreq[ 3]        16000        tSamFreq[ 4]        
22050        tSamFreq[ 5]        24000        tSamFreq[ 6]        32000        
tSamFreq[ 7]        44100        tSamFreq[ 8]        48000      Endpoint 
Descriptor:        bLength                 9        bDescriptorType         5   
     bEndpointAddress     0x81  EP 1 IN        bmAttributes            1        
  Transfer Type            Isochronous          Synch Type               None   
       Usage Type               Data        wMaxPacketSize     0x00c0  1x 192 
bytes        bInterval               4        bRefresh                0        
bSynchAddress           0        AudioControl Endpoint Descriptor:          
bLength                 7          bDescriptorType        37          
bDescriptorSubtype      1 (EP_GENERAL)          bmAttributes         0x01       
     Sampling Frequency          bLockDelayUnits         0 Undefined          
wLockDelay              0 Undefined    Interface Descriptor:      bLength       
          9      bDescriptorType         4      bInterfaceNumber        2      
bAlternateSetting       0      bNumEndpoints           1      bInterfaceClass   
      3 Human Interface Device      bInterfaceSubClass      0 No Subclass      
bInterfaceProtocol      0 None      iInterface              0        HID Device 
Descriptor:          bLength                 9          bDescriptorType        
33          bcdHID               1.11          bCountryCode            0 Not 
supported          bNumDescriptors         1          bDescriptorType        34 
Report          wDescriptorLength     208         Report Descriptors:           
** UNAVAILABLE **      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               1  
Configuration Descriptor:    bLength                 9    bDescriptorType       
  2    wTotalLength           62    bNumInterfaces          2    
bConfigurationValue     3    iConfiguration          7 PTP + Apple Mobile 
Device    bmAttributes         0xc0      Self Powered    MaxPower              
500mA    Interface Descriptor:      bLength                 9      
bDescriptorType         4      bInterfaceNumber        0      bAlternateSetting 
      0      bNumEndpoints           3      bInterfaceClass         6 Imaging   
   bInterfaceSubClass      1 Still Image Capture      bInterfaceProtocol      1 
Picture Transfer Protocol (PIMA 15470)      iInterface              0      
Endpoint Descriptor:        bLength                 7        bDescriptorType    
     5        bEndpointAddress     0x02  EP 2 OUT        bmAttributes           
 2          Transfer Type            Bulk          Synch Type               
None          Usage Type               Data        wMaxPacketSize     0x0200  
1x 512 bytes        bInterval              10      Endpoint Descriptor:        
bLength                 7        bDescriptorType         5        
bEndpointAddress     0x81  EP 1 IN        bmAttributes            2          
Transfer Type            Bulk          Synch Type               None          
Usage Type               Data        wMaxPacketSize     0x0200  1x 512 bytes    
    bInterval              10      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          
    10    Interface Descriptor:      bLength                 9      
bDescriptorType         4      bInterfaceNumber        1      bAlternateSetting 
      0      bNumEndpoints           2      bInterfaceClass       255 Vendor 
Specific Class      bInterfaceSubClass    254      bInterfaceProtocol      2    
  iInterface             10 Apple USB Multiplexor      Endpoint Descriptor:     
   bLength                 7        bDescriptorType         5        
bEndpointAddress     0x04  EP 4 OUT        bmAttributes            2          
Transfer Type            Bulk          Synch Type               None          
Usage Type               Data        wMaxPacketSize     0x0200  1x 512 bytes    
    bInterval               0      Endpoint Descriptor:        bLength          
       7        bDescriptorType         5        bEndpointAddress     0x85  EP 
5 IN        bmAttributes            2          Transfer Type            Bulk    
      Synch Type               None          Usage Type               Data      
  wMaxPacketSize     0x0200  1x 512 bytes        bInterval               0  
Configuration Descriptor:    bLength                 9    bDescriptorType       
  2    wTotalLength          117    bNumInterfaces          3    
bConfigurationValue     4    iConfiguration          8 PTP + Apple Mobile 
Device + Apple USB Ethernet    bmAttributes         0xc0      Self Powered    
MaxPower              500mA    Interface Descriptor:      bLength               
  9      bDescriptorType         4      bInterfaceNumber        0      
bAlternateSetting       0      bNumEndpoints           3      bInterfaceClass   
      6 Imaging      bInterfaceSubClass      1 Still Image Capture      
bInterfaceProtocol      1 Picture Transfer Protocol (PIMA 15470)      
iInterface              0      Endpoint Descriptor:        bLength              
   7        bDescriptorType         5        bEndpointAddress     0x02  EP 2 
OUT        bmAttributes            2          Transfer Type            Bulk     
     Synch Type               None          Usage Type               Data       
 wMaxPacketSize     0x0200  1x 512 bytes        bInterval              10      
Endpoint Descriptor:        bLength                 7        bDescriptorType    
     5        bEndpointAddress     0x81  EP 1 IN        bmAttributes            
2          Transfer Type            Bulk          Synch Type               None 
         Usage Type               Data        wMaxPacketSize     0x0200  1x 512 
bytes        bInterval              10      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         
     10    Interface Descriptor:      bLength                 9      
bDescriptorType         4      bInterfaceNumber        1      bAlternateSetting 
      0      bNumEndpoints           2      bInterfaceClass       255 Vendor 
Specific Class      bInterfaceSubClass    254      bInterfaceProtocol      2    
  iInterface             10 Apple USB Multiplexor      Endpoint Descriptor:     
   bLength                 7        bDescriptorType         5        
bEndpointAddress     0x04  EP 4 OUT        bmAttributes            2          
Transfer Type            Bulk          Synch Type               None          
Usage Type               Data        wMaxPacketSize     0x0200  1x 512 bytes    
    bInterval               0      Endpoint Descriptor:        bLength          
       7        bDescriptorType         5        bEndpointAddress     0x85  EP 
5 IN        bmAttributes            2          Transfer Type            Bulk    
      Synch Type               None          Usage Type               Data      
  wMaxPacketSize     0x0200  1x 512 bytes        bInterval               0    
Interface Descriptor:      bLength                 9      bDescriptorType       
  4      bInterfaceNumber        2      bAlternateSetting       0      
bNumEndpoints           0      bInterfaceClass       255 Vendor Specific Class  
    bInterfaceSubClass    253      bInterfaceProtocol      1      iInterface    
          0    Interface Descriptor:      bLength                 9      
bDescriptorType         4      bInterfaceNumber        2      bAlternateSetting 
      1      bNumEndpoints           2      bInterfaceClass       255 Vendor 
Specific Class      bInterfaceSubClass    253      bInterfaceProtocol      1    
  iInterface              0      Endpoint Descriptor:        bLength            
     7        bDescriptorType         5        bEndpointAddress     0x86  EP 6 
IN        bmAttributes            2          Transfer Type            Bulk      
    Synch Type               None          Usage Type               Data        
wMaxPacketSize     0x0200  1x 512 bytes        bInterval               0      
Endpoint Descriptor:        bLength                 7        bDescriptorType    
     5        bEndpointAddress     0x05  EP 5 OUT        bmAttributes           
 2          Transfer Type            Bulk          Synch Type               
None          Usage Type               Data        wMaxPacketSize     0x0200  
1x 512 bytes        bInterval               0    Interface Descriptor:      
bLength                 9      bDescriptorType         4      bInterfaceNumber  
      2      bAlternateSetting       2      bNumEndpoints           2      
bInterfaceClass       255 Vendor Specific Class      bInterfaceSubClass    253  
    bInterfaceProtocol      1      iInterface              0      Endpoint 
Descriptor:        bLength                 7        bDescriptorType         5   
     bEndpointAddress     0x86  EP 6 IN        bmAttributes            2        
  Transfer Type            Bulk          Synch Type               None          
Usage Type               Data        wMaxPacketSize     0x0200  1x 512 bytes    
    bInterval               0      Endpoint Descriptor:        bLength          
       7        bDescriptorType         5        bEndpointAddress     0x05  EP 
5 OUT        bmAttributes            2          Transfer Type            Bulk   
       Synch Type               None          Usage Type               Data     
   wMaxPacketSize     0x0200  1x 512 bytes        bInterval               
0Device 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      4Device Status:     
0x0000  (Bus Powered)
Can you tell me what's wrong with these USB .What should I do to make it 
normal.It would be nice for you to help me. Thanks at first.
_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to