Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5369

Troubleshooting • Re: USB Camera Detects but video won't work?

$
0
0
Although the camera has been recognised as a device, I'm not sure a driver has been loaded for it.

Could you try this command to get more details
Sure thing, thanks a bunch for the help!

Code:

lsusb -v -d0ac8:3420Bus 001 Device 003: ID 0ac8:3420 Z-Star Microelectronics Corp. Venus USB2.0 CameraCouldn't open device, some information will be missingDevice Descriptor:  bLength                18  bDescriptorType         1  bcdUSB               2.00  bDeviceClass          239 Miscellaneous Device  bDeviceSubClass         2   bDeviceProtocol         1 Interface Association  bMaxPacketSize0        64  idVendor           0x0ac8 Z-Star Microelectronics Corp.  idProduct          0x3420 Venus USB2.0 Camera  bcdDevice            0.10  iManufacturer           1 Y1VATEK   iProduct                2 HY-1139   iSerial                 0   bNumConfigurations      1  Configuration Descriptor:    bLength                 9    bDescriptorType         2    wTotalLength       0x0250    bNumInterfaces          4    bConfigurationValue     1    iConfiguration          0     bmAttributes         0xc0      Self Powered    MaxPower              100mA    Interface Association:      bLength                 8      bDescriptorType        11      bFirstInterface         0      bInterfaceCount         2      bFunctionClass         14 Video      bFunctionSubClass       3 Video Interface Collection      bFunctionProtocol       0       iFunction               0     Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        0      bAlternateSetting       0      bNumEndpoints           1      bInterfaceClass        14 Video      bInterfaceSubClass      1 Video Control      bInterfaceProtocol      0       iInterface              0       VideoControl Interface Descriptor:        bLength                13        bDescriptorType        36        bDescriptorSubtype      1 (HEADER)        bcdUVC               1.00        wTotalLength       0x0054        dwClockFrequency       31.457280MHz        bInCollection           1        baInterfaceNr( 0)       1      VideoControl Interface Descriptor:        bLength                17        bDescriptorType        36        bDescriptorSubtype      2 (INPUT_TERMINAL)        bTerminalID             1        wTerminalType      0x0201 Camera Sensor        bAssocTerminal          0        iTerminal               0         wObjectiveFocalLengthMin      0        wObjectiveFocalLengthMax      0        wOcularFocalLength            0        bControlSize                  2        bmControls           0x00000000      VideoControl Interface Descriptor:        bLength                 9        bDescriptorType        36        bDescriptorSubtype      3 (OUTPUT_TERMINAL)        bTerminalID             2        wTerminalType      0x0101 USB Streaming        bAssocTerminal          0        bSourceID               4        iTerminal               0       VideoControl Interface Descriptor:        bLength                 7        bDescriptorType        36        bDescriptorSubtype      4 (SELECTOR_UNIT)        bUnitID                 3        bNrInPins               1        baSource( 0)            1        iSelector               0       VideoControl Interface Descriptor:        bLength                11        bDescriptorType        36        bDescriptorSubtype      5 (PROCESSING_UNIT)      Warning: Descriptor too short        bUnitID                 4        bSourceID               3        wMaxMultiplier          0        bControlSize            2        bmControls     0x00000000        iProcessing             0         bmVideoStandards     0x1b          None          NTSC - 525/60          SECAM - 625/50          NTSC - 625/50      VideoControl Interface Descriptor:        bLength                27        bDescriptorType        36        bDescriptorSubtype      6 (EXTENSION_UNIT)        bUnitID                 5        guidExtensionCode         {c987a729-59d3-4569-8467-ff0849fc19e8}        bNumControls            8        bNrInPins               1        baSourceID( 0)          4        bControlSize            2        bmControls( 0)       0xff        bmControls( 1)       0x00        iExtension              0       Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x85  EP 5 IN        bmAttributes            3          Transfer Type            Interrupt          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0040  1x 64 bytes        bInterval               1    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                   0x012c        bEndpointAddress                 0x81  EP 1 IN        bmInfo                              0        bTerminalLink                       2        bStillCaptureMethod                 0        bTriggerSupport                     0        bTriggerUsage                       0        bControlSize                        1        bmaControls( 0)                     4        bmaControls( 1)                     4      VideoStreaming Interface Descriptor:        bLength                            28        bDescriptorType                    36        bDescriptorSubtype                 16 (FORMAT_FRAME_BASED)        bFormatIndex                        1        bNumFrameDescriptors                4        guidFormat                            {34363248-0000-0010-8000-00aa00389b71}        bBitsPerPixel                      24        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                        1        bVariableSize                     1      VideoStreaming Interface Descriptor:        bLength                            30        bDescriptorType                    36        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)        bFrameIndex                         1        bmCapabilities                   0x02          Still image unsupported          Fixed frame-rate        wWidth                           1920        wHeight                          1080        dwMinBitRate                268435456        dwMaxBitRate                268435456        dwDefaultFrameInterval         333333        bFrameIntervalType                  1        dwBytesPerLine                      0        dwFrameInterval( 0)            333333      VideoStreaming Interface Descriptor:        bLength                            30        bDescriptorType                    36        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)        bFrameIndex                         2        bmCapabilities                   0x02          Still image unsupported          Fixed frame-rate        wWidth                           1280        wHeight                           720        dwMinBitRate                268435456        dwMaxBitRate                268435456        dwDefaultFrameInterval         333333        bFrameIntervalType                  1        dwBytesPerLine                      0        dwFrameInterval( 0)            333333      VideoStreaming Interface Descriptor:        bLength                            30        bDescriptorType                    36        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)        bFrameIndex                         3        bmCapabilities                   0x02          Still image unsupported          Fixed frame-rate        wWidth                            640        wHeight                           480        dwMinBitRate                268435456        dwMaxBitRate                268435456        dwDefaultFrameInterval         333333        bFrameIntervalType                  1        dwBytesPerLine                      0        dwFrameInterval( 0)            333333      VideoStreaming Interface Descriptor:        bLength                            30        bDescriptorType                    36        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)        bFrameIndex                         4        bmCapabilities                   0x02          Still image unsupported          Fixed frame-rate        wWidth                            320        wHeight                           240        dwMinBitRate                268435456        dwMaxBitRate                268435456        dwDefaultFrameInterval         333333        bFrameIntervalType                  1        dwBytesPerLine                      0        dwFrameInterval( 0)            333333      VideoStreaming Interface Descriptor:        bLength                             6        bDescriptorType                    36        bDescriptorSubtype                 13 (COLORFORMAT)        bColorPrimaries                     0 (Unspecified)        bTransferCharacteristics            0 (Unspecified)        bMatrixCoefficients                 0 (Unspecified)      VideoStreaming Interface Descriptor:        bLength                            11        bDescriptorType                    36        bDescriptorSubtype                  6 (FORMAT_MJPEG)        bFormatIndex                        2        bNumFrameDescriptors                4        bFlags                              0          Fixed-size samples: No        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                        1      VideoStreaming Interface Descriptor:        bLength                            30        bDescriptorType                    36        bDescriptorSubtype                  7 (FRAME_MJPEG)        bFrameIndex                         1        bmCapabilities                   0x02          Still image unsupported          Fixed frame-rate        wWidth                           1920        wHeight                          1080        dwMinBitRate                268435456        dwMaxBitRate                268435456        dwMaxVideoFrameBufferSize     3145728        dwDefaultFrameInterval         333333        bFrameIntervalType                  1        dwFrameInterval( 0)            333333      VideoStreaming Interface Descriptor:        bLength                            30        bDescriptorType                    36        bDescriptorSubtype                  7 (FRAME_MJPEG)        bFrameIndex                         2        bmCapabilities                   0x02          Still image unsupported          Fixed frame-rate        wWidth                           1280        wHeight                           720        dwMinBitRate                268435456        dwMaxBitRate                268435456        dwMaxVideoFrameBufferSize     3145728        dwDefaultFrameInterval         333333        bFrameIntervalType                  1        dwFrameInterval( 0)            333333      VideoStreaming Interface Descriptor:        bLength                            30        bDescriptorType                    36        bDescriptorSubtype                  7 (FRAME_MJPEG)        bFrameIndex                         3        bmCapabilities                   0x02          Still image unsupported          Fixed frame-rate        wWidth                            640        wHeight                           480        dwMinBitRate                268435456        dwMaxBitRate                268435456        dwMaxVideoFrameBufferSize     3145728        dwDefaultFrameInterval         333333        bFrameIntervalType                  1        dwFrameInterval( 0)            333333      VideoStreaming Interface Descriptor:        bLength                            30        bDescriptorType                    36        bDescriptorSubtype                  7 (FRAME_MJPEG)        bFrameIndex                         4        bmCapabilities                   0x02          Still image unsupported          Fixed frame-rate        wWidth                            320        wHeight                           240        dwMinBitRate                268435456        dwMaxBitRate                268435456        dwMaxVideoFrameBufferSize     3145728        dwDefaultFrameInterval         333333        bFrameIntervalType                  1        dwFrameInterval( 0)            333333      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     0x81  EP 1 IN        bmAttributes            5          Transfer Type            Isochronous          Synch Type               Asynchronous          Usage Type               Data        wMaxPacketSize     0x0200  1x 512 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     0x0400  1x 1024 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     0x0c00  2x 1024 bytes        bInterval               1    Interface Association:      bLength                 8      bDescriptorType        11      bFirstInterface         2      bInterfaceCount         2      bFunctionClass          1 Audio      bFunctionSubClass       2 Streaming      bFunctionProtocol       0       iFunction               0     Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        2      bAlternateSetting       0      bNumEndpoints           0      bInterfaceClass         1 Audio      bInterfaceSubClass      1 Control Device      bInterfaceProtocol      0       iInterface              0       AudioControl Interface Descriptor:        bLength                 9        bDescriptorType        36        bDescriptorSubtype      1 (HEADER)        bcdADC               1.00        wTotalLength       0x0026        bInCollection           1        baInterfaceNr(0)        3      AudioControl Interface Descriptor:        bLength                12        bDescriptorType        36        bDescriptorSubtype      2 (INPUT_TERMINAL)        bTerminalID             1        wTerminalType      0x0201 Microphone        bAssocTerminal          0        bNrChannels             2        wChannelConfig     0x0003          Left Front (L)          Right Front (R)        iChannelNames           0         iTerminal               0       AudioControl Interface Descriptor:        bLength                 9        bDescriptorType        36        bDescriptorSubtype      3 (OUTPUT_TERMINAL)        bTerminalID             2        wTerminalType      0x0101 USB Streaming        bAssocTerminal          0        bSourceID               3        iTerminal               0       AudioControl Interface Descriptor:        bLength                 8        bDescriptorType        36        bDescriptorSubtype      6 (FEATURE_UNIT)        bUnitID                 3        bSourceID               1        bControlSize            1        bmaControls(0)       0x03          Mute Control          Volume Control        iFeature                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           2        bDelay                255 frames        wFormatTag         0x0001 PCM      AudioStreaming Interface Descriptor:        bLength                11        bDescriptorType        36        bDescriptorSubtype      2 (FORMAT_TYPE)        bFormatType             1 (FORMAT_TYPE_I)        bNrChannels             2        bSubframeSize           2        bBitResolution         16        bSamFreqType            1 Discrete        tSamFreq[ 0]        48000      Endpoint Descriptor:        bLength                 9        bDescriptorType         5        bEndpointAddress     0x83  EP 3 IN        bmAttributes           13          Transfer Type            Isochronous          Synch Type               Synchronous          Usage Type               Data        wMaxPacketSize     0x0400  1x 1024 bytes        bInterval               4        bRefresh                0        bSynchAddress           0        AudioStreaming Endpoint Descriptor:          bLength                 7          bDescriptorType        37          bDescriptorSubtype      1 (EP_GENERAL)          bmAttributes         0x01            Sampling Frequency          bLockDelayUnits         1 Milliseconds          wLockDelay         0x014d

Statistics: Posted by MooCow27 — Thu Aug 08, 2024 6:54 pm



Viewing all articles
Browse latest Browse all 5369

Trending Articles