Skip to content

Multiple USB webcams stop working after a few minutes of use #2082

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tonystuart opened this issue Jun 22, 2017 · 4 comments
Open

Multiple USB webcams stop working after a few minutes of use #2082

tonystuart opened this issue Jun 22, 2017 · 4 comments
Assignees
Labels

Comments

@tonystuart
Copy link

I have a Raspberry Pi model 3 with three USB webcams, a USB keyboard and a USB mouse. The 3 webcams are plugged directly into the Raspberry Pi. The USB keyboard and mouse are plugged in via a four port hub.

I am using motionto stream the webcam video. Everything works fine for anywhere from about 30 seconds to a few minutes. Then the webcams, keyboard and mouse stop working. The following message appears repeatedly in the dmesg output:

uvcvideo: Failed to set UVC probe control : -110 (exp. 26).

See below for the full dmesg and lsusb -v output .

I have tried a number of resolutions and frame rates, but the results are the same. The motion command is configured to use three threads, one per camera. The CPU utilization for motion is about 18%, mostly allocated to one of the four cores.

I see that issue #618 is similar and I have tried the following things:

  • Setting uvcvideo quirks to 0x100 in /etc/modprobe.d/uvcvideo.conf
  • Adding dwc_otg.fiq_fsm_enable=0 to /boot/cmdline.txt and rebooting
  • Replacing dwc_otg.fiq_fsm_enable=0 with dwc_otg.fiq_fsm_mask=0x3 and rebooting
  • Enabling uvcvideo trace level 0x408

However, none of these resolve the issue. Any thoughts on what else to try?

Here is the lsusb -v output:

Bus 001 Device 008: ID 1908:2310 GEMBIRD 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x1908 GEMBIRD
  idProduct          0x2310 
  bcdDevice            1.00
  iManufacturer           1 Generic
  iProduct                2 USB2.0 PC CAMERA
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          449
    bNumInterfaces          4
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              256mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         2
      bFunctionClass         14 Video
      bFunctionSubClass       3 Video Interface Collection
      bFunctionProtocol       0 
      iFunction               2 USB2.0 PC CAMERA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      1 Video Control
      bInterfaceProtocol      0 
      iInterface              2 USB2.0 PC CAMERA
      VideoControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdUVC               1.00
        wTotalLength           51
        dwClockFrequency       48.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                11
        bDescriptorType        36
        bDescriptorSubtype      5 (PROCESSING_UNIT)
      Warning: Descriptor too short
        bUnitID                 2
        bSourceID               1
        wMaxMultiplier          0
        bControlSize            2
        bmControls     0x0000053f
          Brightness
          Contrast
          Hue
          Saturation
          Sharpness
          Gamma
          Backlight Compensation
          Power Line Frequency
        iProcessing             0 
        bmVideoStandards     0x 9
          None
          SECAM - 625/50
      VideoControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               2
        iTerminal               0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x000a  1x 10 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                      227
        bEndPointAddress                  130
        bmInfo                              0
        bTerminalLink                       3
        bStillCaptureMethod                 2
        bTriggerSupport                     1
        bTriggerUsage                       1
        bControlSize                        1
        bmaControls( 0)                    27
      VideoStreaming Interface Descriptor:
        bLength                            27
        bDescriptorType                    36
        bDescriptorSubtype                  4 (FORMAT_UNCOMPRESSED)
        bFormatIndex                        1
        bNumFrameDescriptors                5
        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                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           480
        dwMinBitRate                 73728000
        dwMaxBitRate                147456000
        dwMaxVideoFrameBufferSize      614400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  2
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666667
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         2
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            352
        wHeight                           288
        dwMinBitRate                 24330240
        dwMaxBitRate                 48660480
        dwMaxVideoFrameBufferSize      202752
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  2
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666667
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         3
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            320
        wHeight                           240
        dwMinBitRate                 18432000
        dwMaxBitRate                 36864000
        dwMaxVideoFrameBufferSize      153600
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  2
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666667
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         4
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            176
        wHeight                           144
        dwMinBitRate                  6082560
        dwMaxBitRate                 12165120
        dwMaxVideoFrameBufferSize       50688
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  2
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666667
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         5
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            160
        wHeight                           120
        dwMinBitRate                  4608000
        dwMaxBitRate                  9216000
        dwMaxVideoFrameBufferSize       38400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  2
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666667
      VideoStreaming Interface Descriptor:
        bLength                            10
        bDescriptorType                    36
        bDescriptorSubtype                  3 (STILL_IMAGE_FRAME)
        bEndpointAddress                    0
        bNumImageSizePatterns               1
        wWidth( 0)                        640
        wHeight( 0)                       480
        bNumCompressionPatterns             1
      VideoStreaming Interface Descriptor:
        bLength                             6
        bDescriptorType                    36
        bDescriptorSubtype                 13 (COLORFORMAT)
        bColorPrimaries                     0 (Unspecified)
        bTransferCharacteristics            0 (Unspecified)
        bMatrixCoefficients                 0 (Unspecified)
    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 Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         2
      bInterfaceCount         2
      bFunctionClass          1 Audio
      bFunctionSubClass       2 Streaming
      bFunctionProtocol       0 
      iFunction               4 USB2.0 MIC
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0 
      iInterface              4 USB2.0 MIC
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength           39
        bInCollection           1
        baInterfaceNr( 0)       3
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Microphone
        bAssocTerminal          0
        bNrChannels             1
        wChannelConfig     0x0000
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 2
        bSourceID               1
        bControlSize            1
        bmaControls( 0)      0x00
        bmaControls( 1)      0x03
          Mute Control
          Volume Control
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          1
        bSourceID               2
        iTerminal               0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      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           3
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0080  1x 128 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
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)

Bus 001 Device 006: ID 1908:2310 GEMBIRD 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x1908 GEMBIRD
  idProduct          0x2310 
  bcdDevice            1.00
  iManufacturer           1 Generic
  iProduct                2 USB2.0 PC CAMERA
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          449
    bNumInterfaces          4
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              256mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         2
      bFunctionClass         14 Video
      bFunctionSubClass       3 Video Interface Collection
      bFunctionProtocol       0 
      iFunction               2 USB2.0 PC CAMERA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      1 Video Control
      bInterfaceProtocol      0 
      iInterface              2 USB2.0 PC CAMERA
      VideoControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdUVC               1.00
        wTotalLength           51
        dwClockFrequency       48.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                11
        bDescriptorType        36
        bDescriptorSubtype      5 (PROCESSING_UNIT)
      Warning: Descriptor too short
        bUnitID                 2
        bSourceID               1
        wMaxMultiplier          0
        bControlSize            2
        bmControls     0x0000053f
          Brightness
          Contrast
          Hue
          Saturation
          Sharpness
          Gamma
          Backlight Compensation
          Power Line Frequency
        iProcessing             0 
        bmVideoStandards     0x 9
          None
          SECAM - 625/50
      VideoControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               2
        iTerminal               0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x000a  1x 10 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                      227
        bEndPointAddress                  130
        bmInfo                              0
        bTerminalLink                       3
        bStillCaptureMethod                 2
        bTriggerSupport                     1
        bTriggerUsage                       1
        bControlSize                        1
        bmaControls( 0)                    27
      VideoStreaming Interface Descriptor:
        bLength                            27
        bDescriptorType                    36
        bDescriptorSubtype                  4 (FORMAT_UNCOMPRESSED)
        bFormatIndex                        1
        bNumFrameDescriptors                5
        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                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           480
        dwMinBitRate                 73728000
        dwMaxBitRate                147456000
        dwMaxVideoFrameBufferSize      614400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  2
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666667
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         2
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            352
        wHeight                           288
        dwMinBitRate                 24330240
        dwMaxBitRate                 48660480
        dwMaxVideoFrameBufferSize      202752
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  2
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666667
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         3
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            320
        wHeight                           240
        dwMinBitRate                 18432000
        dwMaxBitRate                 36864000
        dwMaxVideoFrameBufferSize      153600
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  2
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666667
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         4
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            176
        wHeight                           144
        dwMinBitRate                  6082560
        dwMaxBitRate                 12165120
        dwMaxVideoFrameBufferSize       50688
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  2
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666667
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         5
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            160
        wHeight                           120
        dwMinBitRate                  4608000
        dwMaxBitRate                  9216000
        dwMaxVideoFrameBufferSize       38400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  2
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666667
      VideoStreaming Interface Descriptor:
        bLength                            10
        bDescriptorType                    36
        bDescriptorSubtype                  3 (STILL_IMAGE_FRAME)
        bEndpointAddress                    0
        bNumImageSizePatterns               1
        wWidth( 0)                        640
        wHeight( 0)                       480
        bNumCompressionPatterns             1
      VideoStreaming Interface Descriptor:
        bLength                             6
        bDescriptorType                    36
        bDescriptorSubtype                 13 (COLORFORMAT)
        bColorPrimaries                     0 (Unspecified)
        bTransferCharacteristics            0 (Unspecified)
        bMatrixCoefficients                 0 (Unspecified)
    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 Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         2
      bInterfaceCount         2
      bFunctionClass          1 Audio
      bFunctionSubClass       2 Streaming
      bFunctionProtocol       0 
      iFunction               4 USB2.0 MIC
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0 
      iInterface              4 USB2.0 MIC
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength           39
        bInCollection           1
        baInterfaceNr( 0)       3
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Microphone
        bAssocTerminal          0
        bNrChannels             1
        wChannelConfig     0x0000
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 2
        bSourceID               1
        bControlSize            1
        bmaControls( 0)      0x00
        bmaControls( 1)      0x03
          Mute Control
          Volume Control
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          1
        bSourceID               2
        iTerminal               0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      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           3
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0080  1x 128 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
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)

Bus 001 Device 009: ID 046d:c077 Logitech, Inc. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x046d Logitech, Inc.
  idProduct          0xc077 
  bcdDevice           72.00
  iManufacturer           1 Logitech
  iProduct                2 USB Optical Mouse
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      46
         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     0x0004  1x 4 bytes
        bInterval              10
Device Status:     0x0000
  (Bus Powered)

Bus 001 Device 007: ID 045e:0752 Microsoft Corp. Wired Keyboard 400
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x045e Microsoft Corp.
  idProduct          0x0752 Wired Keyboard 400
  bcdDevice            3.00
  iManufacturer           1 Microsoft
  iProduct                2 Wired Keyboard 400
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      65
         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     0x0008  1x 8 bytes
        bInterval              10
Device Status:     0x0000
  (Bus Powered)

Bus 001 Device 005: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1a40 Terminus Technology Inc.
  idProduct          0x0101 4-Port HUB
  bcdDevice            1.11
  iManufacturer           0 
  iProduct                1 USB 2.0 Hub
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             4
  wHubCharacteristic 0x0000
    Ganged power switching
    Ganged overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent    100 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
   Port 3: 0000.0303 lowspeed power enable connect
   Port 4: 0000.0303 lowspeed power enable connect
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Bus 001 Device 004: ID 1908:2310 GEMBIRD 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x1908 GEMBIRD
  idProduct          0x2310 
  bcdDevice            1.00
  iManufacturer           1 Generic
  iProduct                2 USB2.0 PC CAMERA
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          449
    bNumInterfaces          4
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              256mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         2
      bFunctionClass         14 Video
      bFunctionSubClass       3 Video Interface Collection
      bFunctionProtocol       0 
      iFunction               2 USB2.0 PC CAMERA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      1 Video Control
      bInterfaceProtocol      0 
      iInterface              2 USB2.0 PC CAMERA
      VideoControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdUVC               1.00
        wTotalLength           51
        dwClockFrequency       48.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                11
        bDescriptorType        36
        bDescriptorSubtype      5 (PROCESSING_UNIT)
      Warning: Descriptor too short
        bUnitID                 2
        bSourceID               1
        wMaxMultiplier          0
        bControlSize            2
        bmControls     0x0000053f
          Brightness
          Contrast
          Hue
          Saturation
          Sharpness
          Gamma
          Backlight Compensation
          Power Line Frequency
        iProcessing             0 
        bmVideoStandards     0x 9
          None
          SECAM - 625/50
      VideoControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               2
        iTerminal               0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x000a  1x 10 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                      227
        bEndPointAddress                  130
        bmInfo                              0
        bTerminalLink                       3
        bStillCaptureMethod                 2
        bTriggerSupport                     1
        bTriggerUsage                       1
        bControlSize                        1
        bmaControls( 0)                    27
      VideoStreaming Interface Descriptor:
        bLength                            27
        bDescriptorType                    36
        bDescriptorSubtype                  4 (FORMAT_UNCOMPRESSED)
        bFormatIndex                        1
        bNumFrameDescriptors                5
        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                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           480
        dwMinBitRate                 73728000
        dwMaxBitRate                147456000
        dwMaxVideoFrameBufferSize      614400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  2
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666667
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         2
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            352
        wHeight                           288
        dwMinBitRate                 24330240
        dwMaxBitRate                 48660480
        dwMaxVideoFrameBufferSize      202752
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  2
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666667
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         3
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            320
        wHeight                           240
        dwMinBitRate                 18432000
        dwMaxBitRate                 36864000
        dwMaxVideoFrameBufferSize      153600
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  2
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666667
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         4
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            176
        wHeight                           144
        dwMinBitRate                  6082560
        dwMaxBitRate                 12165120
        dwMaxVideoFrameBufferSize       50688
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  2
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666667
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         5
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            160
        wHeight                           120
        dwMinBitRate                  4608000
        dwMaxBitRate                  9216000
        dwMaxVideoFrameBufferSize       38400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  2
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666667
      VideoStreaming Interface Descriptor:
        bLength                            10
        bDescriptorType                    36
        bDescriptorSubtype                  3 (STILL_IMAGE_FRAME)
        bEndpointAddress                    0
        bNumImageSizePatterns               1
        wWidth( 0)                        640
        wHeight( 0)                       480
        bNumCompressionPatterns             1
      VideoStreaming Interface Descriptor:
        bLength                             6
        bDescriptorType                    36
        bDescriptorSubtype                 13 (COLORFORMAT)
        bColorPrimaries                     0 (Unspecified)
        bTransferCharacteristics            0 (Unspecified)
        bMatrixCoefficients                 0 (Unspecified)
    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 Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         2
      bInterfaceCount         2
      bFunctionClass          1 Audio
      bFunctionSubClass       2 Streaming
      bFunctionProtocol       0 
      iFunction               4 USB2.0 MIC
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0 
      iInterface              4 USB2.0 MIC
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength           39
        bInCollection           1
        baInterfaceNr( 0)       3
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Microphone
        bAssocTerminal          0
        bNrChannels             1
        wChannelConfig     0x0000
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 2
        bSourceID               1
        bControlSize            1
        bmaControls( 0)      0x00
        bmaControls( 1)      0x03
          Mute Control
          Volume Control
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          1
        bSourceID               2
        iTerminal               0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      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           3
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0080  1x 128 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
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)

Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass         0 
  bDeviceProtocol         1 
  bMaxPacketSize0        64
  idVendor           0x0424 Standard Microsystems Corp.
  idProduct          0xec00 SMSC9512/9514 Fast Ethernet Adapter
  bcdDevice            2.00
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol    255 
      iInterface              0 
      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     0x02  EP 2 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     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               4
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass         0 
  bDeviceProtocol         1 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         2 TT per port
  bMaxPacketSize0        64
  idVendor           0x0424 Standard Microsystems Corp.
  idProduct          0x9514 
  bcdDevice            2.00
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           41
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      1 Single TT
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      2 TT per port
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             5
  wHubCharacteristic 0x000d
    Per-port power switching
    Compound device
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent      1 milli Ampere
  DeviceRemovable    0x02
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0503 highspeed power enable connect
   Port 2: 0000.0503 highspeed power enable connect
   Port 3: 0000.0503 highspeed power enable connect
   Port 4: 0000.0503 highspeed power enable connect
   Port 5: 0000.0503 highspeed power enable connect
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            4.09
  iManufacturer           3 Linux 4.9.28-v7+ dwc_otg_hcd
  iProduct                2 DWC OTG Controller
  iSerial                 1 3f980000.usb
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             1
  wHubCharacteristic 0x0008
    Ganged power switching
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Stat`us:
   Port 1: 0000.0503 highspeed power enable connect
Device Status:     0x0001
  Self Powered

Here is the dmesg output at the point where the USB becomes unresponsive:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.28-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #998 SMP Mon May 15 16:55:39 BST 2017
[    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Raspberry Pi 3 Model B Rev 1.2
[    0.000000] cma: Reserved 8 MiB at 0x3a800000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 241664
[    0.000000] free_area_init_node: node 0, pgdat 80c6edc0, node_mem_map b9faa000
[    0.000000]   Normal zone: 2124 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 241664 pages, LIFO batch:31
[    0.000000] percpu: Embedded 14 pages/cpu @b9f64000 s25600 r8192 d23552 u57344
[    0.000000] pcpu-alloc: s25600 r8192 d23552 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 239540
[    0.000000] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait dwc_otg.fiq_fsm_enable=0
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 936300K/966656K available (7168K kernel code, 483K rwdata, 2012K rodata, 1024K init, 778K bss, 22164K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xbb800000 - 0xff800000   (1088 MB)
    lowmem  : 0x80000000 - 0xbb000000   ( 944 MB)
    modules : 0x7f000000 - 0x80000000   (  16 MB)
      .text : 0x80008000 - 0x80800000   (8160 kB)
      .init : 0x80b00000 - 0x80c00000   (1024 kB)
      .data : 0x80c00000 - 0x80c78f94   ( 484 kB)
       .bss : 0x80c7a000 - 0x80d3ca64   ( 779 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000008] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000024] Switching to timer-based delay loop, resolution 52ns
[    0.000327] Console: colour dummy device 80x30
[    0.001238] console [tty1] enabled
[    0.001285] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.001355] pid_max: default: 32768 minimum: 301
[    0.001722] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001764] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002796] Disabling cpuset control group subsystem
[    0.002984] CPU: Testing write buffer coherency: ok
[    0.003051] ftrace: allocating 22386 entries in 66 pages
[    0.056123] CPU0: update cpu_capacity 1024
[    0.056189] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.056287] Setting up static identity map for 0x100000 - 0x100034
[    0.058539] CPU1: update cpu_capacity 1024
[    0.058546] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.059267] CPU2: update cpu_capacity 1024
[    0.059274] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.059941] CPU3: update cpu_capacity 1024
[    0.059947] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.060031] Brought up 4 CPUs
[    0.060204] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.060234] CPU: All CPU(s) started in HYP mode.
[    0.060261] CPU: Virtualization extensions available.
[    0.061085] devtmpfs: initialized
[    0.072195] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[    0.072516] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.072580] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.073145] pinctrl core: initialized pinctrl subsystem
[    0.074064] NET: Registered protocol family 16
[    0.076361] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.085155] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.085204] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.085384] Serial: AMBA PL011 UART driver
[    0.087273] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.087817] uart-pl011 3f201000.serial: could not find pctldev for node /soc/gpio@7e200000/uart0_pins, deferring probe
[    0.156703] bcm2835-dma 3f007000.dma: DMA legacy API manager at bb80f000, dmachans=0x1
[    0.158568] SCSI subsystem initialized
[    0.158747] usbcore: registered new interface driver usbfs
[    0.158850] usbcore: registered new interface driver hub
[    0.158964] usbcore: registered new device driver usb
[    0.165664] raspberrypi-firmware soc:firmware: Attached to firmware from 2017-05-15 16:57
[    0.167092] clocksource: Switched to clocksource arch_sys_counter
[    0.214054] VFS: Disk quotas dquot_6.6.0
[    0.214164] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.214393] FS-Cache: Loaded
[    0.214673] CacheFiles: Loaded
[    0.226786] NET: Registered protocol family 2
[    0.227736] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.227888] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.228100] TCP: Hash tables configured (established 8192 bind 8192)
[    0.228215] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.228283] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.228516] NET: Registered protocol family 1
[    0.228948] RPC: Registered named UNIX socket transport module.
[    0.228981] RPC: Registered udp transport module.
[    0.229009] RPC: Registered tcp transport module.
[    0.229037] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.230030] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[    0.232345] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.248421] FS-Cache: Netfs 'nfs' registered for caching
[    0.249421] NFS: Registering the id_resolver key type
[    0.249475] Key type id_resolver registered
[    0.249503] Key type id_legacy registered
[    0.251950] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.252111] io scheduler noop registered
[    0.252141] io scheduler deadline registered (default)
[    0.252429] io scheduler cfq registered
[    0.258141] BCM2708FB: allocated DMA memory fa910000
[    0.258196] BCM2708FB: allocated DMA channel 0 @ bb80f000
[    0.318481] Console: switching to colour frame buffer device 240x67
[    0.353844] bcm2835-rng 3f104000.rng: hwrng registered
[    0.354102] vc-cma: Videocore CMA driver
[    0.354223] vc-cma: vc_cma_base      = 0x00000000
[    0.354362] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    0.354519] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    0.354894] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
[    0.370804] brd: module loaded
[    0.379955] loop: module loaded
[    0.380093] Loading iSCSI transport class v2.0-870.
[    0.380768] usbcore: registered new interface driver smsc95xx
[    0.380952] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.607229] Core Release: 2.80a
[    0.607337] Setting default values for core params
[    0.607506] Finished setting default values for core params
[    0.808059] Using Buffer DMA mode
[    0.808167] Periodic Transfer Interrupt Enhancement - disabled
[    0.808335] Multiprocessor Interrupt Enhancement - disabled
[    0.808498] OTG VER PARAM: 0, OTG VER FLAG: 0
[    0.808636] Dedicated Tx FIFOs mode
[    0.809112] WARN::dwc_otg_hcd_init:1034: FIQ DMA bounce buffers: virt = 0xba904000 dma = 0xfa904000 len=9024
[    0.809399] dwc_otg: Microframe scheduler enabled
[    0.809448] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x8058e87c
[    0.809630] WARN::hcd_init_fiq:460: FIQ ASM at 0x8058e9ac length 36
[    0.809817] WARN::hcd_init_fiq:486: MPHI regs_base at 0xbb87a000
[    0.810044] dwc_otg 3f980000.usb: DWC OTG Controller
[    0.810225] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    0.810463] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[    0.810669] Init: Port Power? op_state=1
[    0.810787] Init: Power Port (0)
[    0.811089] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.811291] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.811499] usb usb1: Product: DWC OTG Controller
[    0.811642] usb usb1: Manufacturer: Linux 4.9.28-v7+ dwc_otg_hcd
[    0.819288] usb usb1: SerialNumber: 3f980000.usb
[    0.827662] hub 1-0:1.0: USB hub found
[    0.835137] hub 1-0:1.0: 1 port detected
[    0.843350] dwc_otg: FIQ enabled
[    0.843355] dwc_otg: NAK holdoff enabled
[    0.843360] dwc_otg: FIQ split-transaction FSM disabled
[    0.843374] Module dwc_common_port init
[    0.843629] usbcore: registered new interface driver usb-storage
[    0.851448] mousedev: PS/2 mouse device common for all mice
[    0.859954] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[    0.867801] bcm2835-cpufreq: min=600000 max=1200000
[    0.875676] sdhci: Secure Digital Host Controller Interface driver
[    0.883239] sdhci: Copyright(c) Pierre Ossman
[    0.891006] sdhost-bcm2835 3f202000.sdhost: could not get clk, deferring probe
[    0.900771] mmc-bcm2835 3f300000.mmc: could not get clk, deferring probe
[    0.908479] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.923442] ledtrig-cpu: registered to indicate activity on CPUs
[    0.931430] hidraw: raw HID events driver (C) Jiri Kosina
[    0.939429] usbcore: registered new interface driver usbhid
[    0.947192] usbhid: USB HID core driver
[    0.955792] vchiq: vchiq_init_state: slot_zero = 0xba980000, is_master = 0
[    0.965408] Initializing XFRM netlink socket
[    0.973151] NET: Registered protocol family 17
[    0.980946] Key type dns_resolver registered
[    0.988977] Registering SWP/SWPB emulation handler
[    0.997444] registered taskstats version 1
[    1.005378] vc-sm: Videocore shared memory driver
[    1.012970] [vc_sm_connected_init]: start
[    1.021011] [vc_sm_connected_init]: end - returning 0
[    1.034636] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[    1.044213] sdhost: log_buf @ ba907000 (fa907000)
[    1.072537] Indeed it is in host mode hprt0 = 00021501
[    1.167124] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    1.177164] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[    1.184953] mmc-bcm2835 3f300000.mmc: DMA channel allocated
[    1.247227] of_cfs_init
[    1.255066] of_cfs_init: OK
[    1.263419] Waiting for root device /dev/mmcblk0p2...
[    1.264187] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.265759] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.267339] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.270134] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.287121] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    1.287263] Indeed it is in host mode hprt0 = 00001101
[    1.354317] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.364695] mmc0: new high speed SDHC card at address aaaa
[    1.373160] mmcblk0: mmc0:aaaa SE16G 14.8 GiB
[    1.382512]  mmcblk0: p1 p2
[    1.410173] random: fast init done
[    1.447216] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.455013] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.461698] mmc1: new high speed SDIO card at address 0001
[    1.478379] devtmpfs: mounted
[    1.487871] Freeing unused kernel memory: 1024K (80b00000 - 80c00000)
[    1.517446] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    1.525360] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.534167] hub 1-1:1.0: USB hub found
[    1.542068] hub 1-1:1.0: 5 ports detected
[    1.732955] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[    1.741588] systemd[1]: Detected architecture 'arm'.
[    1.867154] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    1.892177] NET: Registered protocol family 10
[    1.901788] systemd[1]: Inserted module 'ipv6'
[    1.911532] systemd[1]: Set hostname to <raspberrypi>.
[    1.997537] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    2.005952] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.017698] smsc95xx v1.0.5
[    2.110894] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:b4:01:5e
[    2.258767] systemd[1]: Cannot add dependency job for unit regenerate_ssh_host_keys.service, ignoring: Unit regenerate_ssh_host_keys.service failed to load: No such file or directory.
[    2.271190] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[    2.280467] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    2.289420] systemd[1]: Starting Remote File Systems (Pre).
[    2.307962] systemd[1]: Reached target Remote File Systems (Pre).
[    2.316842] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[    2.427130] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[    2.618145] usb 1-1.2: New USB device found, idVendor=1908, idProduct=2310
[    2.627985] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.628000] usb 1-1.2: Product: USB2.0 PC CAMERA
[    2.628007] usb 1-1.2: Manufacturer: Generic
[    2.642191] fuse init (API version 7.26)
[    2.674974] i2c /dev entries driver
[    2.757213] usb 1-1.3: new high-speed USB device number 5 using dwc_otg
[    2.888208] usb 1-1.3: New USB device found, idVendor=1a40, idProduct=0101
[    2.896917] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.905430] usb 1-1.3: Product: USB 2.0 Hub
[    2.914630] hub 1-1.3:1.0: USB hub found
[    2.923031] hub 1-1.3:1.0: 4 ports detected
[    3.197503] systemd-udevd[145]: starting version 215
[    3.227227] usb 1-1.4: new high-speed USB device number 6 using dwc_otg
[    3.418252] usb 1-1.4: New USB device found, idVendor=1908, idProduct=2310
[    3.418274] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.418282] usb 1-1.4: Product: USB2.0 PC CAMERA
[    3.418290] usb 1-1.4: Manufacturer: Generic
[    3.517337] usb 1-1.3.3: new low-speed USB device number 7 using dwc_otg
[    3.602169] media: Linux media interface: v0.10
[    3.646874] Linux video capture interface: v2.00
[    3.667145] usb 1-1.3.3: New USB device found, idVendor=045e, idProduct=0752
[    3.667162] usb 1-1.3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.667171] usb 1-1.3.3: Product: Wired Keyboard 400
[    3.667179] usb 1-1.3.3: Manufacturer: Microsoft
[    3.688126] input: Microsoft Wired Keyboard 400 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3.3/1-1.3.3:1.0/0003:045E:0752.0001/input/input0
[    3.703575] uvcvideo: Found UVC 1.00 device USB2.0 PC CAMERA (1908:2310)
[    3.703587] uvcvideo: Forcing device quirks to 0x100 by module parameter for testing purpose.
[    3.703592] uvcvideo: Please report required quirks to the linux-uvc-devel mailing list.
[    3.704284] uvcvideo 1-1.2:1.0: Entity type for entity Processing 2 was not initialized!
[    3.704303] uvcvideo 1-1.2:1.0: Entity type for entity Camera 1 was not initialized!
[    3.705580] input: USB2.0 PC CAMERA as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/input/input1
[    3.713267] usbcore: registered new interface driver snd-usb-audio
[    3.747184] usb 1-1.5: new high-speed USB device number 8 using dwc_otg
[    3.758482] hid-generic 0003:045E:0752.0001: input,hidraw0: USB HID v1.11 Keyboard [Microsoft Wired Keyboard 400] on usb-3f980000.usb-1.3.3/input0
[    3.759216] uvcvideo: Found UVC 1.00 device USB2.0 PC CAMERA (1908:2310)
[    3.759223] uvcvideo: Forcing device quirks to 0x100 by module parameter for testing purpose.
[    3.759226] uvcvideo: Please report required quirks to the linux-uvc-devel mailing list.
[    3.759930] uvcvideo 1-1.4:1.0: Entity type for entity Processing 2 was not initialized!
[    3.759943] uvcvideo 1-1.4:1.0: Entity type for entity Camera 1 was not initialized!
[    3.760448] input: USB2.0 PC CAMERA as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/input/input2
[    3.760670] usbcore: registered new interface driver uvcvideo
[    3.760673] USB Video Class driver (1.1.1)
[    3.818725] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    3.839851] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    3.938345] usb 1-1.5: New USB device found, idVendor=1908, idProduct=2310
[    3.938363] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.938371] usb 1-1.5: Product: USB2.0 PC CAMERA
[    3.938382] usb 1-1.5: Manufacturer: Generic
[    3.939939] uvcvideo: Found UVC 1.00 device USB2.0 PC CAMERA (1908:2310)
[    3.939956] uvcvideo: Forcing device quirks to 0x100 by module parameter for testing purpose.
[    3.939964] uvcvideo: Please report required quirks to the linux-uvc-devel mailing list.
[    3.941079] uvcvideo 1-1.5:1.0: Entity type for entity Processing 2 was not initialized!
[    3.941115] uvcvideo 1-1.5:1.0: Entity type for entity Camera 1 was not initialized!
[    3.941891] input: USB2.0 PC CAMERA as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/input/input3
[    4.037212] usb 1-1.3.4: new low-speed USB device number 9 using dwc_otg
[    4.126139] usbcore: registered new interface driver brcmfmac
[    4.181416] usb 1-1.3.4: New USB device found, idVendor=046d, idProduct=c077
[    4.181431] usb 1-1.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.181440] usb 1-1.3.4: Product: USB Optical Mouse
[    4.181447] usb 1-1.3.4: Manufacturer: Logitech
[    4.185850] input: Logitech USB Optical Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3.4/1-1.3.4:1.0/0003:046D:C077.0002/input/input4
[    4.186580] hid-generic 0003:046D:C077.0002: input,hidraw1: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-3f980000.usb-1.3.4/input0
[    4.307683] brcmfmac: Firmware version = wl0: May 27 2016 00:13:38 version 7.45.41.26 (r640327) FWID 01-df77e4a7
[    4.736829] systemd-journald[143]: Received request to flush runtime journal from PID 1
[    6.347442] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    6.347476] brcmfmac: power management disabled
[    6.684718] uart-pl011 3f201000.serial: no DMA platform data
[    7.087338] Adding 102396k swap on /var/swap.  Priority:-1 extents:4 across:217088k SSFS
[    7.328311] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[    7.328663] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    7.514782] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   11.111822] Bluetooth: Core ver 2.22
[   11.111882] NET: Registered protocol family 31
[   11.111888] Bluetooth: HCI device and connection manager initialized
[   11.111903] Bluetooth: HCI socket layer initialized
[   11.111910] Bluetooth: L2CAP socket layer initialized
[   11.111933] Bluetooth: SCO socket layer initialized
[   11.125029] Bluetooth: HCI UART driver ver 2.3
[   11.125038] Bluetooth: HCI UART protocol H4 registered
[   11.125042] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   11.125151] Bluetooth: HCI UART protocol Broadcom registered
[   11.253219] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   11.253224] Bluetooth: BNEP filters: protocol multicast
[   11.253237] Bluetooth: BNEP socket layer initialized
[   22.459703] random: crng init done
[  997.382407] usbcore: deregistering interface driver uvcvideo
[  998.133040] uvcvideo: Found UVC 1.00 device USB2.0 PC CAMERA (1908:2310)
[  998.133054] uvcvideo: Forcing device quirks to 0x100 by module parameter for testing purpose.
[  998.133060] uvcvideo: Please report required quirks to the linux-uvc-devel mailing list.
[  998.133805] uvcvideo 1-1.2:1.0: Entity type for entity Processing 2 was not initialized!
[  998.133824] uvcvideo 1-1.2:1.0: Entity type for entity Camera 1 was not initialized!
[  998.137699] input: USB2.0 PC CAMERA as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/input/input5
[  998.144456] uvcvideo: Found UVC 1.00 device USB2.0 PC CAMERA (1908:2310)
[  998.144472] uvcvideo: Forcing device quirks to 0x100 by module parameter for testing purpose.
[  998.144481] uvcvideo: Please report required quirks to the linux-uvc-devel mailing list.
[  998.148163] uvcvideo 1-1.4:1.0: Entity type for entity Processing 2 was not initialized!
[  998.148200] uvcvideo 1-1.4:1.0: Entity type for entity Camera 1 was not initialized!
[  998.148897] input: USB2.0 PC CAMERA as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/input/input6
[  998.149423] uvcvideo: Found UVC 1.00 device USB2.0 PC CAMERA (1908:2310)
[  998.149432] uvcvideo: Forcing device quirks to 0x100 by module parameter for testing purpose.
[  998.149437] uvcvideo: Please report required quirks to the linux-uvc-devel mailing list.
[  998.150337] uvcvideo 1-1.5:1.0: Entity type for entity Processing 2 was not initialized!
[  998.150355] uvcvideo 1-1.5:1.0: Entity type for entity Camera 1 was not initialized!
[  998.151079] input: USB2.0 PC CAMERA as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/input/input7
[  998.151673] usbcore: registered new interface driver uvcvideo
[  998.151686] USB Video Class driver (1.1.1)
[ 1080.267762] uvcvideo: Trying format 0x32315559 (YU12): 320x240.
[ 1080.267778] uvcvideo: Using default frame interval 33333.3 us (30.0 fps).
[ 1080.268449] uvcvideo: Trying format 0x56595559 (YUYV): 320x240.
[ 1080.268460] uvcvideo: Using default frame interval 33333.3 us (30.0 fps).
[ 1080.268952] uvcvideo: Trying format 0x56595559 (YUYV): 320x240.
[ 1080.268961] uvcvideo: Using default frame interval 33333.3 us (30.0 fps).
[ 1080.283350] uvcvideo: Device requested 3072 B/frame bandwidth.
[ 1080.283364] uvcvideo: Selecting alternate setting 1 (3072 B/frame bandwidth).
[ 1080.285462] uvcvideo: Allocated 5 URB buffers of 32x3072 bytes each.
[ 1080.377751] uvcvideo: Trying format 0x32315559 (YU12): 320x240.
[ 1080.377766] uvcvideo: Using default frame interval 33333.3 us (30.0 fps).
[ 1080.378569] uvcvideo: Trying format 0x56595559 (YUYV): 320x240.
[ 1080.378579] uvcvideo: Using default frame interval 33333.3 us (30.0 fps).
[ 1080.379148] uvcvideo: Trying format 0x56595559 (YUYV): 320x240.
[ 1080.379156] uvcvideo: Using default frame interval 33333.3 us (30.0 fps).
[ 1080.397889] uvcvideo: Device requested 3072 B/frame bandwidth.
[ 1080.397902] uvcvideo: Selecting alternate setting 1 (3072 B/frame bandwidth).
[ 1080.399307] uvcvideo: Allocated 5 URB buffers of 32x3072 bytes each.
[ 1080.487970] uvcvideo: Trying format 0x32315559 (YU12): 320x240.
[ 1080.487985] uvcvideo: Using default frame interval 33333.3 us (30.0 fps).
[ 1080.488815] uvcvideo: Trying format 0x56595559 (YUYV): 320x240.
[ 1080.488824] uvcvideo: Using default frame interval 33333.3 us (30.0 fps).
[ 1080.489386] uvcvideo: Trying format 0x56595559 (YUYV): 320x240.
[ 1080.489394] uvcvideo: Using default frame interval 33333.3 us (30.0 fps).
[ 1080.503965] uvcvideo: Device requested 3072 B/frame bandwidth.
[ 1080.503977] uvcvideo: Selecting alternate setting 1 (3072 B/frame bandwidth).
[ 1080.506078] uvcvideo: Allocated 5 URB buffers of 32x3072 bytes each.
[ 1149.047167] smsc95xx 1-1.1:1.0 eth0: Failed to read reg index 0x00000114: -110
[ 1149.047176] smsc95xx 1-1.1:1.0 eth0: Error reading MII_ACCESS
[ 1149.047180] smsc95xx 1-1.1:1.0 eth0: MII is busy in smsc95xx_mdio_read
[ 1149.047185] smsc95xx 1-1.1:1.0 eth0: Failed to read MII_BMSR
[ 1249.329415] uvcvideo: Trying format 0x32315559 (YU12): 320x240.
[ 1249.329429] uvcvideo: Using default frame interval 33333.3 us (30.0 fps).
[ 1254.887194] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[ 1254.887573] uvcvideo: Trying format 0x56595559 (YUYV): 320x240.
[ 1254.887585] uvcvideo: Using default frame interval 33333.3 us (30.0 fps).
[ 1259.927218] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[ 1259.930885] uvcvideo: Trying format 0x32315559 (YU12): 320x240.
[ 1259.930898] uvcvideo: Using default frame interval 33333.3 us (30.0 fps).
[ 1264.967196] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[ 1264.967604] uvcvideo: Trying format 0x56595559 (YUYV): 320x240.
[ 1264.967616] uvcvideo: Using default frame interval 33333.3 us (30.0 fps).
[ 1270.007163] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[ 1270.009914] uvcvideo: Trying format 0x32315559 (YU12): 320x240.
[ 1270.009925] uvcvideo: Using default frame interval 33333.3 us (30.0 fps).
[ 1275.047175] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[ 1275.047568] uvcvideo: Trying format 0x56595559 (YUYV): 320x240.
[ 1275.047578] uvcvideo: Using default frame interval 33333.3 us (30.0 fps).
[ 1280.087171] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[ 1288.333077] uvcvideo: Trying format 0x32315559 (YU12): 320x240.
[ 1288.333092] uvcvideo: Using default frame interval 33333.3 us (30.0 fps).
[ 1293.927172] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[ 1293.927557] uvcvideo: Trying format 0x56595559 (YUYV): 320x240.
[ 1293.927568] uvcvideo: Using default frame interval 33333.3 us (30.0 fps).
@P33M
Copy link
Contributor

P33M commented Jun 23, 2017

Back-of-the-envelope calculation of bandwidth usage:

3072 bytes = 24576 bits per camera per microframe (negating bit-stuff overhead and protocol overhead of a few bytes)
24576 x 3 = 73728 bits per microframe
73728 x 8000 = 589mbit/s
USB2.0 has a 480mbit/s raw data rate. I suspect it works briefly because each camera doesn't always send the maximum amount of data per microframe.

The bug in this case is with the bandwidth reservation code - it should reject transfers that could exceed the maximum periodic bandwidth reservation for USB2.0.

@JamesH65
Copy link
Contributor

@P33M Is the bandwidth reservation code down to us? Or should this be closed?

@JamesH65 JamesH65 added the Waiting for internal comment Waiting for comment from a member of the Raspberry Pi engineering team label Sep 13, 2017
@P33M
Copy link
Contributor

P33M commented Sep 13, 2017

Yes, it's down to us not restricting bus bandwidth correctly.

@P33M P33M added Bug and removed Waiting for internal comment Waiting for comment from a member of the Raspberry Pi engineering team labels Sep 13, 2017
@P33M P33M self-assigned this Sep 13, 2017
@towen
Copy link

towen commented Aug 28, 2022

There is a long-standing issue over on the Digilent forums regarding the Analog Discovery 2 not working correctly on raspberry pi 3. As another high-bandwidth USB2 device, I wonder if this could be the root cause?

https://forum.digilent.com/topic/1713-analog-discovery-2-vs-raspberry-pi-3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants