This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/PROCESSOR-SDK-AM437X: USB camera JPEG capture issue

Part Number: PROCESSOR-SDK-AM437X

Tool/software: Linux

Hi

we are using the USB camera in AM437x ,able to streaming video but unable to capture the jpeg image.can any one help us to save the image .and we are using the  processor SDK is ti-processor-sdk-03.01.00.

USB camera detected here.

   24.078287] usb 1-1.2: new high-speed USB device number 4 using xhci-hcd
[   24.183433] usb 1-1.2: New USB device found, idVendor=090c, idProduct=f37d
[   24.190421] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   24.197785] usb 1-1.2: Product: SMI
[   24.201336] usb 1-1.2: Manufacturer: SMI
[   24.212868] uvcvideo: Found UVC 1.00 device SMI (090c:f37d)
[   24.256915] input: SMI as /devices/platform/44000000.ocp/483c0000.omap_dwc3/483d0000.usb/xhci-hcd.1.auto/usb1/1-1/1-1.2/1-1.2:1.0/input/input2

  • The software team have been notified. They will respond here.

  • Please provide the log when running command 'lsusb -v -d 090c:f37d' on the board uart console.
    And provide the exact commands you used to capture jpeg images and explain how it failed.

  • Hi Bin,

    we are using lucview-0.2.6 Package for streaming and fetching image data using ioctl. the commands invoked are detailed below

    int type = V4L2_BUF_TYPE_VIDEO_CAPTURE.

    ioctl(vd->fd, VIDIOC_STREAMOFF, &type); is called

    Later for Grabbing image Data 

    struct vdIn *vd

    vd->buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
    vd->buf.memory = V4L2_MEMORY_MMAP;
    ret = ioctl(vd->fd, VIDIOC_DQBUF, &vd->buf); 

    here vd->buf.bytesused has the size of image grabbed

    and again for enqueuing buffer

    ioctl(vd->fd, VIDIOC_QBUF, &vd->buf);

    vd->buf.bytesused returned with 0 and no data is returned in structure.

    please guide me through in fetching the grabbed image data.

  • USB is in my area, but I am not a V4L2 expert and cannot tell if you application is right or not. I would recommend instead using your own application to capture a image, you could first use an existing application to do the same, for example Gstreamer, or yavta.

  • Bus 001 Device 004: ID 090c:f37d Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) 
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               2.00
      bDeviceClass          239 Miscellaneous Device
      bDeviceSubClass         2 ?
      bDeviceProtocol         1 Interface Association
      bMaxPacketSize0        64
      idVendor           0x090c Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.)
      idProduct          0xf37d 
      bcdDevice            0.04
      iManufacturer           1 SMI
      iProduct                2 SMI
      iSerial                 0 
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength          933
        bNumInterfaces          2
        bConfigurationValue     1
        iConfiguration          0 
        bmAttributes         0x80
          (Bus Powered)
        MaxPower              500mA
        Interface Association:
          bLength                 8
          bDescriptorType        11
          bFirstInterface         0
          bInterfaceCount         2
          bFunctionClass         14 Video
          bFunctionSubClass       3 Video Interface Collection
          bFunctionProtocol       0 
          iFunction               4 SMI
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       0
          bNumEndpoints           1
          bInterfaceClass        14 Video
          bInterfaceSubClass      1 Video Control
          bInterfaceProtocol      0 
          iInterface              4 SMI
          VideoControl Interface Descriptor:
            bLength                13
            bDescriptorType        36
            bDescriptorSubtype      1 (HEADER)
            bcdUVC               1.00
            wTotalLength           77
            dwClockFrequency       30.000000MHz
            bInCollection           1
            baInterfaceNr( 0)       1
          VideoControl Interface Descriptor:
            bLength                18
            bDescriptorType        36
            bDescriptorSubtype      2 (INPUT_TERMINAL)
            bTerminalID             1
            wTerminalType      0x0201 Camera Sensor
            bAssocTerminal          0
            iTerminal               0 
            wObjectiveFocalLengthMin      0
            wObjectiveFocalLengthMax      0
            wOcularFocalLength            0
            bControlSize                  3
            bmControls           0x00000000
          VideoControl Interface Descriptor:
            bLength                26
            bDescriptorType        36
            bDescriptorSubtype      6 (EXTENSION_UNIT)
            bUnitID                 2
            guidExtensionCode         {92423946-d10c-e34a-8783-3133f9eaaa3b}
            bNumControl             8
            bNrPins                 1
            baSourceID( 0)          3
            bControlSize            1
            bmControls( 0)       0xff
            iExtension              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     0x0000157f
              Brightness
              Contrast
              Hue
              Saturation
              Sharpness
              Gamma
              White Balance Temperature
              Backlight Compensation
              Power Line Frequency
              White Balance Temperature, Auto
            iProcessing             0 
            bmVideoStandards     0x 9
              None
              SECAM - 625/50
          VideoControl Interface Descriptor:
            bLength                 9
            bDescriptorType        36
            bDescriptorSubtype      3 (OUTPUT_TERMINAL)
            bTerminalID             4
            wTerminalType      0x0101 USB Streaming
            bAssocTerminal          0
            bSourceID               2
            iTerminal               0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x83  EP 3 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0008  1x 8 bytes
            bInterval              16
        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                            15
            bDescriptorType                    36
            bDescriptorSubtype                  1 (INPUT_HEADER)
            bNumFormats                         2
            wTotalLength                      681
            bEndPointAddress                  129
            bmInfo                              0
            bTerminalLink                       4
            bStillCaptureMethod                 2
            bTriggerSupport                     0
            bTriggerUsage                       0
            bControlSize                        1
            bmaControls( 0)                    11
            bmaControls( 1)                    11
          VideoStreaming Interface Descriptor:
            bLength                            11
            bDescriptorType                    36
            bDescriptorSubtype                  6 (FORMAT_MJPEG)
            bFormatIndex                        1
            bNumFrameDescriptors                9
            bFlags                              1
              Fixed-size samples: Yes
            bDefaultFrameIndex                  1
            bAspectRatioX                       0
            bAspectRatioY                       0
            bmInterlaceFlags                 0x00
              Interlaced stream or variable: No
              Fields per frame: 1 fields
              Field 1 first: No
              Field pattern: Field 1 only
              bCopyProtect                      0
          VideoStreaming Interface Descriptor:
            bLength                            30
            bDescriptorType                    36
            bDescriptorSubtype                  7 (FRAME_MJPEG)
            bFrameIndex                         1
            bmCapabilities                   0x00
              Still image unsupported
            wWidth                            640
            wHeight                           480
            dwMinBitRate                147456000
            dwMaxBitRate                147456000
            dwMaxVideoFrameBufferSize      614400
            dwDefaultFrameInterval         333333
            bFrameIntervalType                  1
            dwFrameInterval( 0)            333333
          VideoStreaming Interface Descriptor:
            bLength                            30
            bDescriptorType                    36
            bDescriptorSubtype                  7 (FRAME_MJPEG)
            bFrameIndex                         2
            bmCapabilities                   0x00
              Still image unsupported
            wWidth                            320
            wHeight                           240
            dwMinBitRate                 36864000
            dwMaxBitRate                 36864000
            dwMaxVideoFrameBufferSize      153600
            dwDefaultFrameInterval         333333
            bFrameIntervalType                  1
            dwFrameInterval( 0)            333333
          VideoStreaming Interface Descriptor:
            bLength                            30
            bDescriptorType                    36
            bDescriptorSubtype                  7 (FRAME_MJPEG)
            bFrameIndex                         3
            bmCapabilities                   0x00
              Still image unsupported
            wWidth                           1024
            wHeight                           768
            dwMinBitRate                377487360
            dwMaxBitRate                377487360
            dwMaxVideoFrameBufferSize     1572864
            dwDefaultFrameInterval         333333
            bFrameIntervalType                  1
            dwFrameInterval( 0)            333333
          VideoStreaming Interface Descriptor:
            bLength                            30
            bDescriptorType                    36
            bDescriptorSubtype                  7 (FRAME_MJPEG)
            bFrameIndex                         4
            bmCapabilities                   0x00
              Still image unsupported
            wWidth                           1280
            wHeight                           720
            dwMinBitRate                442368000
            dwMaxBitRate                442368000
            dwMaxVideoFrameBufferSize     1843200
            dwDefaultFrameInterval         333333
            bFrameIntervalType                  1
            dwFrameInterval( 0)            333333
          VideoStreaming Interface Descriptor:
            bLength                            30
            bDescriptorType                    36
            bDescriptorSubtype                  7 (FRAME_MJPEG)
            bFrameIndex                         5
            bmCapabilities                   0x00
              Still image unsupported
            wWidth                           1280
            wHeight                           960
            dwMinBitRate                589824000
            dwMaxBitRate                589824000
            dwMaxVideoFrameBufferSize     2457600
            dwDefaultFrameInterval         333333
            bFrameIntervalType                  1
            dwFrameInterval( 0)            333333
          VideoStreaming Interface Descriptor:
            bLength                            30
            bDescriptorType                    36
            bDescriptorSubtype                  7 (FRAME_MJPEG)
            bFrameIndex                         6
            bmCapabilities                   0x00
              Still image unsupported
            wWidth                           1600
            wHeight                          1200
            dwMinBitRate                460800000
            dwMaxBitRate                460800000
            dwMaxVideoFrameBufferSize     3840000
            dwDefaultFrameInterval         666666
            bFrameIntervalType                  1
            dwFrameInterval( 0)            666666
          VideoStreaming Interface Descriptor:
            bLength                            30
            bDescriptorType                    36
            bDescriptorSubtype                  7 (FRAME_MJPEG)
            bFrameIndex                         7
            bmCapabilities                   0x00
              Still image unsupported
            wWidth                           2048
            wHeight                          1536
            dwMinBitRate                754974720
            dwMaxBitRate                754974720
            dwMaxVideoFrameBufferSize     6291456
            dwDefaultFrameInterval         666666
            bFrameIntervalType                  1
            dwFrameInterval( 0)            666666
          VideoStreaming Interface Descriptor:
            bLength                            30
            bDescriptorType                    36
            bDescriptorSubtype                  7 (FRAME_MJPEG)
            bFrameIndex                         8
            bmCapabilities                   0x00
              Still image unsupported
            wWidth                           2592
            wHeight                          1944
            dwMinBitRate                1209323520
            dwMaxBitRate                1209323520
            dwMaxVideoFrameBufferSize    10077696
            dwDefaultFrameInterval         666666
            bFrameIntervalType                  1
            dwFrameInterval( 0)            666666
          VideoStreaming Interface Descriptor:
            bLength                            30
            bDescriptorType                    36
            bDescriptorSubtype                  7 (FRAME_MJPEG)
            bFrameIndex                         9
            bmCapabilities                   0x00
              Still image unsupported
            wWidth                            640
            wHeight                           480
            dwMinBitRate                147456000
            dwMaxBitRate                147456000
            dwMaxVideoFrameBufferSize      614400
            dwDefaultFrameInterval         333333
            bFrameIntervalType                  1
            dwFrameInterval( 0)            333333
          VideoStreaming Interface Descriptor:
            bLength                            38
            bDescriptorType                    36
            bDescriptorSubtype                  3 (STILL_IMAGE_FRAME)
            bEndpointAddress                    0
            bNumImageSizePatterns               8
            wWidth( 0)                       2592
            wHeight( 0)                      1944
            wWidth( 1)                        320
            wHeight( 1)                       240
            wWidth( 2)                       1024
            wHeight( 2)                       768
            wWidth( 3)                       1280
            wHeight( 3)                       720
            wWidth( 4)                       1280
            wHeight( 4)                       960
            wWidth( 5)                       1600
            wHeight( 5)                      1200
            wWidth( 6)                       2048
            wHeight( 6)                      1536
            wWidth( 7)                        640
            wHeight( 7)                       480
            bNumCompressionPatterns             8
          VideoStreaming Interface Descriptor:
            bLength                             6
            bDescriptorType                    36
            bDescriptorSubtype                 13 (COLORFORMAT)
            bColorPrimaries                     1 (BT.709,sRGB)
            bTransferCharacteristics            1 (BT.709)
            bMatrixCoefficients                 4 (SMPTE 170M (BT.601))
          VideoStreaming Interface Descriptor:
            bLength                            27
            bDescriptorType                    36
            bDescriptorSubtype                  4 (FORMAT_UNCOMPRESSED)
            bFormatIndex                        2
            bNumFrameDescriptors                9
            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                            30
            bDescriptorType                    36
            bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
            bFrameIndex                         1
            bmCapabilities                   0x00
              Still image unsupported
            wWidth                            640
            wHeight                           480
            dwMinBitRate                147456000
            dwMaxBitRate                147456000
            dwMaxVideoFrameBufferSize      614400
            dwDefaultFrameInterval         333333
            bFrameIntervalType                  1
            dwFrameInterval( 0)            333333
          VideoStreaming Interface Descriptor:
            bLength                            30
            bDescriptorType                    36
            bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
            bFrameIndex                         2
            bmCapabilities                   0x00
              Still image unsupported
            wWidth                            320
            wHeight                           240
            dwMinBitRate                 36864000
            dwMaxBitRate                 36864000
            dwMaxVideoFrameBufferSize      153600
            dwDefaultFrameInterval         333333
            bFrameIntervalType                  1
            dwFrameInterval( 0)            333333
          VideoStreaming Interface Descriptor:
            bLength                            30
            bDescriptorType                    36
            bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
            bFrameIndex                         3
            bmCapabilities                   0x00
              Still image unsupported
            wWidth                           1024
            wHeight                           768
            dwMinBitRate                 94371840
            dwMaxBitRate                 94371840
            dwMaxVideoFrameBufferSize     1572864
            dwDefaultFrameInterval        1333333
            bFrameIntervalType                  1
            dwFrameInterval( 0)           1333333
          VideoStreaming Interface Descriptor:
            bLength                            30
            bDescriptorType                    36
            bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
            bFrameIndex                         4
            bmCapabilities                   0x00
              Still image unsupported
            wWidth                           1280
            wHeight                           720
            dwMinBitRate                110592000
            dwMaxBitRate                110592000
            dwMaxVideoFrameBufferSize     1843200
            dwDefaultFrameInterval        1333333
            bFrameIntervalType                  1
            dwFrameInterval( 0)           1333333
          VideoStreaming Interface Descriptor:
            bLength                            30
            bDescriptorType                    36
            bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
            bFrameIndex                         5
            bmCapabilities                   0x00
              Still image unsupported
            wWidth                           1280
            wHeight                           960
            dwMinBitRate                147456000
            dwMaxBitRate                147456000
            dwMaxVideoFrameBufferSize     2457600
            dwDefaultFrameInterval        1333333
            bFrameIntervalType                  1
            dwFrameInterval( 0)           1333333
          VideoStreaming Interface Descriptor:
            bLength                            30
            bDescriptorType                    36
            bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
            bFrameIndex                         6
            bmCapabilities                   0x00
              Still image unsupported
            wWidth                           1600
            wHeight                          1200
            dwMinBitRate                 92160000
            dwMaxBitRate                 92160000
            dwMaxVideoFrameBufferSize     3840000
            dwDefaultFrameInterval        3333333
            bFrameIntervalType                  1
            dwFrameInterval( 0)           3333333
          VideoStreaming Interface Descriptor:
            bLength                            30
            bDescriptorType                    36
            bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
            bFrameIndex                         7
            bmCapabilities                   0x00
              Still image unsupported
            wWidth                           2048
            wHeight                          1536
            dwMinBitRate                150994944
            dwMaxBitRate                150994944
            dwMaxVideoFrameBufferSize     6291456
            dwDefaultFrameInterval        3333333
            bFrameIntervalType                  1
            dwFrameInterval( 0)           3333333
          VideoStreaming Interface Descriptor:
            bLength                            30
            bDescriptorType                    36
            bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
            bFrameIndex                         8
            bmCapabilities                   0x00
              Still image unsupported
            wWidth                           2592
            wHeight                          1944
            dwMinBitRate                241864704
            dwMaxBitRate                241864704
            dwMaxVideoFrameBufferSize    10077696
            dwDefaultFrameInterval        3333333
            bFrameIntervalType                  1
            dwFrameInterval( 0)           3333333
          VideoStreaming Interface Descriptor:
            bLength                            30
            bDescriptorType                    36
            bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
            bFrameIndex                         9
            bmCapabilities                   0x00
              Still image unsupported
            wWidth                            640
            wHeight                           480
            dwMinBitRate                147456000
            dwMaxBitRate                147456000
            dwMaxVideoFrameBufferSize      614400
            dwDefaultFrameInterval         333333
            bFrameIntervalType                  1
            dwFrameInterval( 0)            333333
          VideoStreaming Interface Descriptor:
            bLength                            38
            bDescriptorType                    36
            bDescriptorSubtype                  3 (STILL_IMAGE_FRAME)
            bEndpointAddress                    0
            bNumImageSizePatterns               8
            wWidth( 0)                       2592
            wHeight( 0)                      1944
            wWidth( 1)                        320
            wHeight( 1)                       240
            wWidth( 2)                       1024
            wHeight( 2)                       768
            wWidth( 3)                       1280
            wHeight( 3)                       720
            wWidth( 4)                       1280
            wHeight( 4)                       960
            wWidth( 5)                       1600
            wHeight( 5)                      1200
            wWidth( 6)                       2048
            wHeight( 6)                      1536
            wWidth( 7)                        640
            wHeight( 7)                       480
            bNumCompressionPatterns             8
          VideoStreaming Interface Descriptor:
            bLength                             6
            bDescriptorType                    36
            bDescriptorSubtype                 13 (COLORFORMAT)
            bColorPrimaries                     1 (BT.709,sRGB)
            bTransferCharacteristics            1 (BT.709)
            bMatrixCoefficients                 4 (SMPTE 170M (BT.601))
        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     0x81  EP 1 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        1
          bAlternateSetting       2
          bNumEndpoints           1
          bInterfaceClass        14 Video
          bInterfaceSubClass      2 Video Streaming
          bInterfaceProtocol      0 
          iInterface              0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            5
              Transfer Type            Isochronous
              Synch Type               Asynchronous
              Usage Type               Data
            wMaxPacketSize     0x1380  3x 896 bytes
            bInterval               1
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        1
          bAlternateSetting       3
          bNumEndpoints           1
          bInterfaceClass        14 Video
          bInterfaceSubClass      2 Video Streaming
          bInterfaceProtocol      0 
          iInterface              0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            5
              Transfer Type            Isochronous
              Synch Type               Asynchronous
              Usage Type               Data
            wMaxPacketSize     0x0b80  2x 896 bytes
            bInterval               1
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        1
          bAlternateSetting       4
          bNumEndpoints           1
          bInterfaceClass        14 Video
          bInterfaceSubClass      2 Video Streaming
          bInterfaceProtocol      0 
          iInterface              0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            5
              Transfer Type            Isochronous
              Synch Type               Asynchronous
              Usage Type               Data
            wMaxPacketSize     0x0b00  2x 768 bytes
            bInterval               1
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        1
          bAlternateSetting       5
          bNumEndpoints           1
          bInterfaceClass        14 Video
          bInterfaceSubClass      2 Video Streaming
          bInterfaceProtocol      0 
          iInterface              0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            5
              Transfer Type            Isochronous
              Synch Type               Asynchronous
              Usage Type               Data
            wMaxPacketSize     0x0a80  2x 640 bytes
            bInterval               1
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        1
          bAlternateSetting       6
          bNumEndpoints           1
          bInterfaceClass        14 Video
          bInterfaceSubClass      2 Video Streaming
          bInterfaceProtocol      0 
          iInterface              0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            5
              Transfer Type            Isochronous
              Synch Type               Asynchronous
              Usage Type               Data
            wMaxPacketSize     0x0380  1x 896 bytes
            bInterval               1
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        1
          bAlternateSetting       7
          bNumEndpoints           1
          bInterfaceClass        14 Video
          bInterfaceSubClass      2 Video Streaming
          bInterfaceProtocol      0 
          iInterface              0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            5
              Transfer Type            Isochronous
              Synch Type               Asynchronous
              Usage Type               Data
            wMaxPacketSize     0x0300  1x 768 bytes
            bInterval               1
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        1
          bAlternateSetting       8
          bNumEndpoints           1
          bInterfaceClass        14 Video
          bInterfaceSubClass      2 Video Streaming
          bInterfaceProtocol      0 
          iInterface              0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            5
              Transfer Type            Isochronous
              Synch Type               Asynchronous
              Usage Type               Data
            wMaxPacketSize     0x0280  1x 640 bytes
            bInterval               1
    Device Qualifier (for other device speed):
      bLength                10
      bDescriptorType         6
      bcdUSB               2.00
      bDeviceClass          239 Miscellaneous Device
      bDeviceSubClass         2 ?
      bDeviceProtocol         1 Interface Association
      bMaxPacketSize0        64
      bNumConfigurations      1
    Device Status:     0x0000
      (Bus Powered)