Dear USB-Developers,
I am having a strange Problem on Ubuntu Linux (11.10 and 12.04) using a
thermal camera (Cypress FX2 chip) in isochronous mode. The transmission
of data breaks with the error code -EPROTO. The curious thing is, that
it runs very well on the same distribution, when it is a VMWare guest
system. That means:
- Native Ubuntu Linux: Frequently USB isochronous frame lost (-71)
- Ubuntu Linux as VMWare guest on a Ubuntu Host!: No errors!
I changed cables, switched USB ports, added quirks ... no effect.
Below, I've attached traces from usbmon. Could someone give me a hint
what is going wrong there? Do you know with parameters have to be
respected on the firmware side? Below, I've attached lsusb output too.
Best regards,
Stefan May
####################################
######### Native Ubuntu ############
####################################
f6966b40 1269492530 S Ii:1:002:5 -115:16 16 <
f6966b40 1269493391 C Ii:1:002:5 -2:16 0
f6966b40 1269493824 S Ii:1:002:5 -115:16 16 <
eba91300 1269495464 S Co:1:002:0 s 21 01 0100 0001 001a 26 = 01000101
48e80100 00000000 00000000 00000000 00000000 0000
eba91300 1269495626 C Co:1:002:0 0 26 >
eb30e0c0 1269495653 S Ci:1:002:0 s a1 82 0100 0001 001a 26 <
eb30e0c0 1269495747 C Ci:1:002:0 0 26 = 00000101 48e80100 00000000
00000000 00000060 0900000a 0000
eb30e0c0 1269495790 S Ci:1:002:0 s a1 83 0100 0001 001a 26 <
eb30e0c0 1269495871 C Ci:1:002:0 0 26 = 00000101 48e80100 00000000
00000000 00000060 0900000a 0000
eb30e0c0 1269495910 S Co:1:002:0 s 21 01 0100 0001 001a 26 = 01000101
48e80100 00000000 00000000 00000000 00000000 0000
eb30e0c0 1269496033 C Co:1:002:0 0 26 >
eb30e0c0 1269496088 S Ci:1:002:0 s a1 81 0100 0001 001a 26 <
eb30e0c0 1269496259 C Ci:1:002:0 0 26 = 00000101 48e80100 00000000
00000000 00000060 0900000a 0000
eb30e0c0 1269496372 S Co:1:002:0 s 21 01 0100 0001 001a 26 = 01000101
48e80100 00000000 00000000 00000000 00000000 0000
eb30e0c0 1269496511 C Co:1:002:0 0 26 >
eb30e0c0 1269496566 S Ci:1:002:0 s a1 82 0100 0001 001a 26 <
eb30e0c0 1269496763 C Ci:1:002:0 0 26 = 00000101 48e80100 00000000
00000000 00000060 0900000a 0000
eb82f180 1269496832 S Ci:1:002:0 s a1 83 0100 0001 001a 26 <
eb82f180 1269497011 C Ci:1:002:0 0 26 = 00000101 48e80100 00000000
00000000 00000060 0900000a 0000
eb82f180 1269497075 S Co:1:002:0 s 21 01 0100 0001 001a 26 = 01000101
48e80100 00000000 00000000 00000000 00000000 0000
eb82f180 1269497262 C Co:1:002:0 0 26 >
eb82f180 1269497322 S Ci:1:002:0 s a1 81 0100 0001 001a 26 <
eb82f180 1269497512 C Ci:1:002:0 0 26 = 00000101 48e80100 00000000
00000000 00000060 0900000a 0000
eb82f3c0 1269497630 S Co:1:002:0 s 21 01 0100 0001 001a 26 = 00000101
48e80100 00000000 00000000 00000060 0300000a 0000
eb82f3c0 1269497745 C Co:1:002:0 0 26 >
eb82f3c0 1269497793 S Ci:1:002:0 s a1 82 0100 0001 001a 26 <
eb82f3c0 1269497871 C Ci:1:002:0 0 26 = 00000101 48e80100 00000000
00000000 00000060 0900000a 0000
eb82f3c0 1269497912 S Ci:1:002:0 s a1 83 0100 0001 001a 26 <
eb82f3c0 1269498018 C Ci:1:002:0 0 26 = 00000101 48e80100 00000000
00000000 00000060 0900000a 0000
eb82f3c0 1269498073 S Co:1:002:0 s 21 01 0100 0001 001a 26 = 00000101
48e80100 00000000 00000000 00000060 0300000a 0000
eb82f3c0 1269498259 C Co:1:002:0 0 26 >
eb82f3c0 1269498320 S Ci:1:002:0 s a1 81 0100 0001 001a 26 <
eb82f3c0 1269498514 C Ci:1:002:0 0 26 = 00000101 48e80100 00000000
00000000 00000060 0900000a 0000
e93f7cc0 1269815050 S Co:1:002:0 s 21 01 0200 0001 001a 26 = 00000101
48e80100 00000000 00000000 00000060 0300000a 0000
e93f7cc0 1269815209 C Co:1:002:0 0 26 >
e93f7cc0 1269816053 S Co:1:002:0 s 01 0b 0001 0001 0000 0
e93f7cc0 1269816451 C Co:1:002:0 0 0
e416e800 1269816629 S Zi:1:002:2 -115:1:0 32 -18:0:3072 -18:3072:3072
-18:6144:3072 -18:9216:3072 -18:12288:3072 98304 <
e4169800 1269816702 S Zi:1:002:2 -115:1:0 32 -18:0:3072 -18:3072:3072
-18:6144:3072 -18:9216:3072 -18:12288:3072 98304 <
e416c800 1269816707 S Zi:1:002:2 -115:1:0 32 -18:0:3072 -18:3072:3072
-18:6144:3072 -18:9216:3072 -18:12288:3072 98304 <
e4168c00 1269816710 S Zi:1:002:2 -115:1:0 32 -18:0:3072 -18:3072:3072
-18:6144:3072 -18:9216:3072 -18:12288:3072 98304 <
e416e400 1269816713 S Zi:1:002:2 -115:1:0 32 -18:0:3072 -18:3072:3072
-18:6144:3072 -18:9216:3072 -18:12288:3072 98304 <
e416e800 1269830073 C Zi:1:002:2 0:1:2360:16 32 0:0:2306 -71:3072:1126
0:6144:2058 -71:9216:1150 0:12288:2082 98304 = 0280733e 993ea73e
b13ec03e d53eef3e 003f0d3f 1f3f343f 3f3f473f 533f4a3f
e416e800 1269830082 S Zi:1:002:2 -115:1:2360 32 -18:0:3072 -18:3072:3072
-18:6144:3072 -18:9216:3072 -18:12288:3072 98304 <
e4169800 1269834074 C Zi:1:002:2 0:1:2392:19 32 0:0:2086 -71:3072:1130
0:6144:2062 -71:9216:1154 0:12288:2088 98304 = 6d3f663f 653f6b3f
6c3f653f 633f633f 653f683f 683f6a3f 6e3f6e3f 653f623f
e4169800 1269834087 S Zi:1:002:2 -115:1:2392 32 -18:0:3072 -18:3072:3072
-18:6144:3072 -18:9216:3072 -18:12288:3072 98304 <
e416c800 1269838086 C Zi:1:002:2 0:1:2424:32 32 -71:0:0 -71:3072:0
-71:6144:0 -71:9216:0 -71:12288:0 98304 = 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000
e416c800 1269838095 S Zi:1:002:2 -115:1:2424 32 -18:0:3072 -18:3072:3072
-18:6144:3072 -18:9216:3072 -18:12288:3072 98304 <
e4168c00 1269842075 C Zi:1:002:2 0:1:2456:32 32 -71:0:0 -71:3072:0
-71:6144:0 -71:9216:0 -71:12288:0 98304 = 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000
e4168c00 1269842082 S Zi:1:002:2 -115:1:2456 32 -18:0:3072 -18:3072:3072
-18:6144:3072 -18:9216:3072 -18:12288:3072 98304 <
e416e400 1269846073 C Zi:1:002:2 0:1:2488:31 32 -71:0:0 -71:3072:0
-71:6144:0 -71:9216:0 -71:12288:0 98304 = 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000
####################################
###### Ubuntu VMware guest##########
####################################
f3088680 1396292086 S Ci:1:001:0 s a3 00 0000 0001 0004 4 <
f3088680 1396292104 C Ci:1:001:0 0 4 = 07050000
f3088680 1396292106 S Ci:1:001:0 s a3 00 0000 0002 0004 4 <
f3088680 1396292107 C Ci:1:001:0 0 4 = 00010000
f3088680 1396292107 S Ci:1:001:0 s a3 00 0000 0003 0004 4 <
f3088680 1396292108 C Ci:1:001:0 0 4 = 00010000
f3088680 1396292109 S Ci:1:001:0 s a3 00 0000 0004 0004 4 <
f3088680 1396292110 C Ci:1:001:0 0 4 = 00010000
f3088680 1396292110 S Ci:1:001:0 s a3 00 0000 0005 0004 4 <
f3088680 1396292112 C Ci:1:001:0 0 4 = 00010000
f3088680 1396292112 S Ci:1:001:0 s a3 00 0000 0006 0004 4 <
f3088680 1396292113 C Ci:1:001:0 0 4 = 00010000
f50b2b80 1396292114 S Ii:1:001:1 -115:2048 4 <
f3088680 1396292118 S Ci:1:001:0 s a3 00 0000 0001 0004 4 <
f3088680 1396292119 C Ci:1:001:0 0 4 = 07050000
f3088680 1396292120 S Co:1:001:0 s 23 01 0002 0001 0000 0
f3088680 1396292148 C Co:1:001:0 0 0
f3088680 1396323473 S Ci:1:001:0 s a3 00 0000 0001 0004 4 <
f3088680 1396323499 C Ci:1:001:0 0 4 = 03050400
f3088680 1396339483 S Co:1:001:0 s 23 01 0012 0001 0000 0
f3088680 1396339637 C Co:1:001:0 0 0
f3088680 1396339641 S Ci:1:003:0 s 80 00 0000 0000 0002 2 <
f3088680 1397268289 C Ci:1:003:0 0 2 = 0000
f306cc80 1397268376 S Co:1:003:0 s 21 01 0200 0001 001a 26 = 00000101
48e80100 00000000 00000000 00000060 0300000a 0000
f306cc80 1397270130 C Co:1:003:0 0 26 >
f531dd80 1397270205 S Ii:1:003:5 -115:16 16 <
f531dd80 1397270785 C Ii:1:003:5 -2:16 0
f531dd80 1397270952 S Ii:1:003:5 -115:16 16 <
f306cc80 1397271284 S Co:1:003:0 s 21 01 0100 0001 001a 26 = 01000101
48e80100 00000000 00000000 00000000 00000000 0000
f306cc80 1397272958 C Co:1:003:0 0 26 >
f306cc80 1397273058 S Ci:1:003:0 s a1 82 0100 0001 001a 26 <
f306cc80 1397274253 C Ci:1:003:0 0 26 = 00000101 48e80100 00000000
00000000 00000060 0900000a 0000
f306cc80 1397274327 S Ci:1:003:0 s a1 83 0100 0001 001a 26 <
f306cc80 1397276216 C Ci:1:003:0 0 26 = 00000101 48e80100 00000000
00000000 00000060 0900000a 0000
f306cc80 1397276292 S Co:1:003:0 s 21 01 0100 0001 001a 26 = 01000101
48e80100 00000000 00000000 00000000 00000000 0000
f306cc80 1397277452 C Co:1:003:0 0 26 >
f306cc80 1397277527 S Ci:1:003:0 s a1 81 0100 0001 001a 26 <
f306cc80 1397278769 C Ci:1:003:0 0 26 = 00000101 48e80100 00000000
00000000 00000060 0900000a 0000
f306cc80 1397278878 S Co:1:003:0 s 21 01 0100 0001 001a 26 = 01000101
48e80100 00000000 00000000 00000000 00000000 0000
f306cc80 1397280211 C Co:1:003:0 0 26 >
f306cc80 1397280284 S Ci:1:003:0 s a1 82 0100 0001 001a 26 <
f306cc80 1397282599 C Ci:1:003:0 0 26 = 00000101 48e80100 00000000
00000000 00000060 0900000a 0000
f306cc80 1397282758 S Ci:1:003:0 s a1 83 0100 0001 001a 26 <
f306cc80 1397284985 C Ci:1:003:0 0 26 = 00000101 48e80100 00000000
00000000 00000060 0900000a 0000
f306cc80 1397285067 S Co:1:003:0 s 21 01 0100 0001 001a 26 = 01000101
48e80100 00000000 00000000 00000000 00000000 0000
f306cc80 1397287155 C Co:1:003:0 0 26 >
f306cc80 1397287239 S Ci:1:003:0 s a1 81 0100 0001 001a 26 <
f306cc80 1397288555 C Ci:1:003:0 0 26 = 00000101 48e80100 00000000
00000000 00000060 0900000a 0000
f306cc80 1397288643 S Co:1:003:0 s 21 01 0100 0001 001a 26 = 00000101
48e80100 00000000 00000000 00000060 0300000a 0000
f306cc80 1397290919 C Co:1:003:0 0 26 >
f306cc80 1397290997 S Ci:1:003:0 s a1 82 0100 0001 001a 26 <
f306cc80 1397293253 C Ci:1:003:0 0 26 = 00000101 48e80100 00000000
00000000 00000060 0900000a 0000
f306cc80 1397293331 S Ci:1:003:0 s a1 83 0100 0001 001a 26 <
f306cc80 1397295648 C Ci:1:003:0 0 26 = 00000101 48e80100 00000000
00000000 00000060 0900000a 0000
f306cc80 1397295728 S Co:1:003:0 s 21 01 0100 0001 001a 26 = 00000101
48e80100 00000000 00000000 00000060 0300000a 0000
f306cc80 1397298003 C Co:1:003:0 0 26 >
f306cc80 1397298231 S Ci:1:003:0 s a1 81 0100 0001 001a 26 <
f306cc80 1397300241 C Ci:1:003:0 0 26 = 00000101 48e80100 00000000
00000000 00000060 0900000a 0000
f2406880 1398016713 S Co:1:003:0 s 21 01 0200 0001 001a 26 = 00000101
48e80100 00000000 00000000 00000060 0300000a 0000
f2406880 1398020941 C Co:1:003:0 0 26 >
f2406880 1398020981 S Co:1:003:0 s 01 0b 0001 0001 0000 0
f2406880 1398021839 C Co:1:003:0 0 0
f3189c00 1398022250 S Zi:1:003:2 -115:1:0 32 -18:0:3072 -18:3072:3072
-18:6144:3072 -18:9216:3072 -18:12288:3072 98304 <
f3b80c00 1398022352 S Zi:1:003:2 -115:1:0 32 -18:0:3072 -18:3072:3072
-18:6144:3072 -18:9216:3072 -18:12288:3072 98304 <
f3284400 1398022373 S Zi:1:003:2 -115:1:0 32 -18:0:3072 -18:3072:3072
-18:6144:3072 -18:9216:3072 -18:12288:3072 98304 <
f32e8000 1398022384 S Zi:1:003:2 -115:1:0 32 -18:0:3072 -18:3072:3072
-18:6144:3072 -18:9216:3072 -18:12288:3072 98304 <
f32e8400 1398022393 S Zi:1:003:2 -115:1:0 32 -18:0:3072 -18:3072:3072
-18:6144:3072 -18:9216:3072 -18:12288:3072 98304 <
f3189c00 1398037665 C Zi:1:003:2 0:1:2688:0 32 0:0:2306 0:3072:1134
0:6144:2066 0:9216:1160 0:12288:2090 98304 = 0281733e 993ea73e b03ec03e
d53eed3e ff3e0d3f 1f3f323f 3f3f473f 523f4a3f
f3189c00 1398037684 S Zi:1:003:2 -115:1:2688 32 -18:0:3072 -18:3072:3072
-18:6144:3072 -18:9216:3072 -18:12288:3072 98304 <
f3b80c00 1398041640 C Zi:1:003:2 0:1:2720:0 32 0:0:0 0:3072:0 0:6144:0
0:9216:0 0:12288:0 98304 = 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000
f3b80c00 1398041646 S Zi:1:003:2 -115:1:2720 32 -18:0:3072 -18:3072:3072
-18:6144:3072 -18:9216:3072 -18:12288:3072 98304 <
f3284400 1398045721 C Zi:1:003:2 0:1:2752:0 32 0:0:0 0:3072:0 0:6144:0
0:9216:0 0:12288:0 98304 = 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000
f3284400 1398045730 S Zi:1:003:2 -115:1:2752 32 -18:0:3072 -18:3072:3072
-18:6144:3072 -18:9216:3072 -18:12288:3072 98304 <
f32e8000 1398051791 C Zi:1:003:2 0:1:2784:0 32 0:0:0 0:3072:0 0:6144:0
0:9216:0 0:12288:0 98304 = 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000
f32e8000 1398051807 S Zi:1:003:2 -115:1:2784 32 -18:0:3072 -18:3072:3072
-18:6144:3072 -18:9216:3072 -18:12288:3072 98304 <
f32e8400 1398054350 C Zi:1:003:2 0:1:2816:0 32 0:0:2306 0:3072:2306
0:6144:2306 0:9216:2306 0:12288:2306 98304 = 02808b3e ad3ebb3e c03ecc3e
e23ef83e 053f0e3f 1e3f323f 3c3f443f 503f483f
##########################################
################# lsusb ##################
##########################################
Bus 001 Device 013: ID 0403:de37 Future Technology Devices
International, Ltd
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 ?
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x0403 Future Technology Devices International, Ltd
idProduct 0xde37
bcdDevice 1.90
iManufacturer 1 OPTRIS
iProduct 2 PI IMAGER
iSerial 3 12010044
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 220
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 250mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 14 Video
bFunctionSubClass 3 Video Interface Collection
bFunctionProtocol 0
iFunction 2 PI IMAGER
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 1 Video Control
bInterfaceProtocol 0
iInterface 0
VideoControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdUVC 1.00
wTotalLength 50
dwClockFrequency 24.000000MHz
bInCollection 1
baInterfaceNr( 0) 1
VideoControl Interface Descriptor:
bLength 17
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType 0x0201 Camera Sensor
bAssocTerminal 0
iTerminal 0
wObjectiveFocalLengthMin 0
wObjectiveFocalLengthMax 0
wOcularFocalLength 0
bControlSize 2
bmControls 0x00000000
VideoControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 2
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 3
iTerminal 0
VideoControl Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 5 (PROCESSING_UNIT)
Warning: Descriptor too short
bUnitID 3
bSourceID 1
wMaxMultiplier 0
bControlSize 2
bmControls 0x00000000
iProcessing 0
bmVideoStandards 0x6c
PAL - 625/50
SECAM - 625/50
PAL - 525/60
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 5
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
VideoStreaming Interface Descriptor:
bLength 14
bDescriptorType 36
bDescriptorSubtype 1 (INPUT_HEADER)
bNumFormats 1
wTotalLength 84
bEndPointAddress 130
bmInfo 0
bTerminalLink 2
bStillCaptureMethod 1
bTriggerSupport 1
bTriggerUsage 0
bControlSize 1
bmaControls( 0) 27
VideoStreaming Interface Descriptor:
bLength 27
bDescriptorType 36
bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED)
bFormatIndex 1
bNumFrameDescriptors 1
guidFormat
{59555932-0000-1000-8000-00aa00389b71}
bBitsPerPixel 16
bDefaultFrameIndex 1
bAspectRatioX 0
bAspectRatioY 0
bmInterlaceFlags 0x00
Interlaced stream or variable: No
Fields per frame: 2 fields
Field 1 first: No
Field pattern: Field 1 only
bCopyProtect 0
VideoStreaming Interface Descriptor:
bLength 34
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 1
bmCapabilities 0x03
Still image supported
Fixed frame-rate
wWidth 384
wHeight 288
dwMinBitRate 7340032
dwMaxBitRate 141557760
dwMaxVideoFrameBufferSize 221184
dwDefaultFrameInterval 125000
bFrameIntervalType 2
dwFrameInterval( 0) 125000
dwFrameInterval( 1) 125001
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x1400 3x 1024 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 52
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Device Status: 0x0000
(Bus Powered)
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html