You are not logged in.

#1 2018-05-18 02:19:14

ErSoul
Member
Registered: 2012-01-26
Posts: 54

Laptop WebCam not working: uvcvideo - Failed to submit URB 0 (-19).

I don't know with which kernel update this started to happen, 'cause I don't tend to use usually the webcam, but it just don't work. The needed module is loaded (uvcvideo).

Kernel version:

uname -r -v
4.16.8-1-ARCH #1 SMP PREEMPT Wed May 9 11:25:02 UTC 2018

The journal only gives me this information related with the camera:

uvcvideo: Failed to submit URB 0 (-19).
uvcvideo 2-1:1.0: Entity type for entity Extension 2 was not initialized!
uvcvideo 2-1:1.0: Entity type for entity Extension 5 was not initialized!
uvcvideo 2-1:1.0: Entity type for entity Processing 3 was not initialized!
uvcvideo 2-1:1.0: Entity type for entity Camera 1 was not initialized!

Don't know why, but the system has always detected as a USB device (since I have my laptop with linux... 2012 I think), I guess it is like that.

usb-devices gives me:

T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  4 Spd=480 MxCh= 0                                                                                       
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1                                                                                            
P:  Vendor=174f ProdID=112b Rev=11.02                                                                                                                   
S:  Manufacturer=GenesysLogic Technology Co., Ltd.                                                                                                      
S:  Product=HP Webcam-101                                                                                                                               
C:  #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=200mA                                                                                                                  
I:  If#=0x0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo                                                                                 
I:  If#=0x1 Alt= 0 #EPs= 0 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo

lsusb:

Bus 002 Device 004: ID 174f:112b Syntek                                                                                                                 
Couldn't open device, some information will be missing                                                                                                  
Device Descriptor:                                                                                                                                      
  bLength                18                                                                                                                             
  bDescriptorType         1                                                                                                                             
  bcdUSB               2.00                                                                                                                             
  bDeviceClass          239 Miscellaneous Device                                                                                                        
  bDeviceSubClass         2                                                                                                                             
  bDeviceProtocol         1 Interface Association                                                                                                       
  bMaxPacketSize0        64                                                                                                                             
  idVendor           0x174f Syntek                                                                                                                      
  idProduct          0x112b                                                                                                                             
  bcdDevice           11.02                                                                                                                             
  iManufacturer           2                                                                                                                             
  iProduct                3                                                                                                                             
  iSerial                 0                                                                                                                             
  bNumConfigurations      1                                                                                                                             
  Configuration Descriptor:                                                                                                                             
    bLength                 9                                                                                                                           
    bDescriptorType         2                                                                                                                           
    wTotalLength          373                                                                                                                           
    bNumInterfaces          2                                                                                                                           
    bConfigurationValue     1                                                                                                                           
    iConfiguration          0                                                                                                                           
    bmAttributes         0x80                                                                                                                           
      (Bus Powered)                                                                                                                                     
    MaxPower              200mA                                                                                                                         
    Interface Association:                                                                                                                              
      bLength                 8                                                                                                                         
      bDescriptorType        11                                                                                                                         
      bFirstInterface         0                                                                                                                         
      bInterfaceCount         2                                                                                                                         
      bFunctionClass         14 Video                                                                                                                   
      bFunctionSubClass       3 Video Interface Collection                                                                                              
      bFunctionProtocol       0                                                                                                                         
      iFunction               1                                                                                                                         
    Interface Descriptor:                                                                                                                               
      bLength                 9                                                                                                                         
      bDescriptorType         4                                                                                                                         
      bInterfaceNumber        0                                                                                                                         
      bAlternateSetting       0                                                                                                                         
      bNumEndpoints           1                                                                                                                         
      bInterfaceClass        14 Video                                                                                                                   
      bInterfaceSubClass      1 Video Control                                                                                                           
      bInterfaceProtocol      0                                                                                                                         
      iInterface              1                                                                                                                         
      VideoControl Interface Descriptor:                                                                                                                
        bLength                13                                                                                                                       
        bDescriptorType        36                                                                                                                       
        bDescriptorSubtype      1 (HEADER)                                                                                                              
        bcdUVC               1.00                                                                                                                       
        wTotalLength          105                                                                                                                       
        dwClockFrequency       60.000000MHz                                                                                                             
        bInCollection           1                                                                                                                       
        baInterfaceNr( 0)       1                                                                                                                       
      VideoControl Interface Descriptor:                                                                                                                
        bLength                 9                                                                                                                       
        bDescriptorType        36                                                                                                                       
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)                                                                                                     
        bTerminalID             4                                                                                                                       
        wTerminalType      0x0101 USB Streaming                                                                                                         
        bAssocTerminal          0                                                                                                                       
        bSourceID               2                                                                                                                       
        iTerminal               0                                                                                                                       
      VideoControl Interface Descriptor:                                                                                                                
        bLength                27                                                                                                                       
        bDescriptorType        36                                                                                                                       
        bDescriptorSubtype      6 (EXTENSION_UNIT)                                                                                                      
        bUnitID                 2                                                                                                                       
        guidExtensionCode         {5e5d360b-e45f-4581-9b0b-374669ba05d4}                                                                                
        bNumControl            16                                                                                                                       
        bNrPins                 1                                                                                                                       
        baSourceID( 0)          5                                                                                                                       
        bControlSize            2                                                                                                                       
        bmControls( 0)       0xff                                                                                                                       
        bmControls( 1)       0x00                                                                                                                       
        iExtension              0                                                                                                                       
      VideoControl Interface Descriptor:                                                                                                                
        bLength                27                                                                                                                       
        bDescriptorType        36                                                                                                                       
        bDescriptorSubtype      6 (EXTENSION_UNIT)                                                                                                      
        bUnitID                 5                                                                                                                       
        guidExtensionCode         {ecdadf03-8fe3-4d27-893b-a18d25aeee09}                                                                                
        bNumControl            16                                                                                                                       
        bNrPins                 1                                                                                                                       
        baSourceID( 0)          3                                                                                                                       
        bControlSize            2                                                                                                                       
        bmControls( 0)       0xff                                                                                                                       
        bmControls( 1)       0x03                                                                                                                       
        iExtension              0                                                                                                                       
      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                 3                                                                                                                       
        bSourceID               1                                                                                                                       
        wMaxMultiplier          0                                                                                                                       
        bControlSize            2                                                                                                                       
        bmControls     0x0000177f                                                                                                                       
          Brightness                                                                                                                                    
          Contrast                                                                                                                                      
          Hue                                                                                                                                           
          Saturation                                                                                                                                    
          Sharpness                                                                                                                                     
          Gamma                                                                                                                                         
          White Balance Temperature                                                                                                                     
          Backlight Compensation                                                                                                                        
          Gain                                                                                                                                          
          Power Line Frequency                                                                                                                          
          White Balance Temperature, Auto                                                                                                               
        iProcessing             0                                                                                                                       
        bmVideoStandards     0x00                                                                                                                       
      Endpoint Descriptor:                                                                                                                              
        bLength                 7                                                                                                                       
        bDescriptorType         5                                                                                                                       
        bEndpointAddress     0x83  EP 3 IN                                                                                                              
        bmAttributes            3                                                                                                                       
          Transfer Type            Interrupt                                                                                                            
          Synch Type               None                                                                                                                 
          Usage Type               Data                                                                                                                 
        wMaxPacketSize     0x0017  1x 23 bytes                                                                                                          
        bInterval               6                                                                                                                       
    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                      205                                                                                                           
        bEndPointAddress                  129                                                                                                           
        bmInfo                              0                                                                                                           
        bTerminalLink                       4                                                                                                           
        bStillCaptureMethod                 2                                                                                                           
        bTriggerSupport                     1                                                                                                           
        bTriggerUsage                       1                                                                                                           
        bControlSize                        1                                                                                                           
        bmaControls( 0)                     0                                                                                                           
      VideoStreaming Interface Descriptor:                                                                                                              
        bLength                            27                                                                                                           
        bDescriptorType                    36                                                                                                           
        bDescriptorSubtype                  4 (FORMAT_UNCOMPRESSED)                                                                                     
        bFormatIndex                        1                                                                                                           
        bNumFrameDescriptors                4                                                                                                           
        guidFormat                            {32595559-0000-0010-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)            666666                                                                                                           
      VideoStreaming Interface Descriptor:                                                                                                              
        bLength                            34                                                                                                           
        bDescriptorType                    36                                                                                                           
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)                                                                                      
        bFrameIndex                         2                                                                                                           
        bmCapabilities                   0x00                                                                                                           
          Still image unsupported                                                                                                                       
        wWidth                            160                                                                                                           
        wHeight                           120                                                                                                           
        dwMinBitRate                 73728000                                                                                                           
        dwMaxBitRate                147456000                                                                                                           
        dwMaxVideoFrameBufferSize      614400                                                                                                           
        dwDefaultFrameInterval         333333                                                                                                           
        bFrameIntervalType                  2                                                                                                           
        dwFrameInterval( 0)            333333                                                                                                           
        dwFrameInterval( 1)            666666                                                                                                           
      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)            666666                                                                                                           
      VideoStreaming Interface Descriptor:                                                                                                              
        bLength                            34                                                                                                           
        bDescriptorType                    36                                                                                                           
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)                                                                                      
        bFrameIndex                         4                                                                                                           
        bmCapabilities                   0x00                                                                                                           
          Still image unsupported                                                                                                                       
        wWidth                            640                                                                                                           
        wHeight                           480                                                                                                           
        dwMinBitRate                 73728000                                                                                                           
        dwMaxBitRate                147456000                                                                                                           
        dwMaxVideoFrameBufferSize      614400                                                                                                           
        dwDefaultFrameInterval         333333                                                                                                           
        bFrameIntervalType                  2                                                                                                           
        dwFrameInterval( 0)            333333                                                                                                           
        dwFrameInterval( 1)            666666                                                                                                           
      VideoStreaming Interface Descriptor:                                                                                                              
        bLength                            22                                                                                                           
        bDescriptorType                    36                                                                                                           
        bDescriptorSubtype                  3 (STILL_IMAGE_FRAME)                                                                                       
        bEndpointAddress                    0                                                                                                           
        bNumImageSizePatterns               4                                                                                                           
        wWidth( 0)                        640                                                                                                           
        wHeight( 0)                       480                                                                                                           
        wWidth( 1)                        160                                                                                                           
        wHeight( 1)                       120                                                                                                           
        wWidth( 2)                        320                                                                                                           
        wHeight( 2)                       240                                                                                                           
        wWidth( 3)                        640                                                                                                           
        wHeight( 3)                       480                                                                                                           
        bNumCompressionPatterns             0                                                                                                           
      VideoStreaming Interface Descriptor:                                                                                                              
        bLength                             6                                                                                                           
        bDescriptorType                    36                                                                                                           
        bDescriptorSubtype                 13 (COLORFORMAT)                                                                                             
        bColorPrimaries                     1 (BT.709,sRGB)                                                                                             
        bTransferCharacteristics            1 (BT.709)                                                                                                  
        bMatrixCoefficients                 4 (SMPTE 170M (BT.601))                                                                                     
    Interface Descriptor:                                                                                                                               
      bLength                 9                                                                                                                         
      bDescriptorType         4                                                                                                                         
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x1400  3x 1024 bytes
        bInterval               1

v4l2-ctl --list-devices:

HP Webcam-101: HP Webcam-101 (usb-0000:00:13.2-1):
        /dev/video0
        /dev/video1

ffmpeg -f v4l2 -list_formats all -i /dev/video0 :

ffmpeg version 4.0 Copyright (c) 2000-2018 the FFmpeg developers                                                                                        
  built with gcc 8.1.0 (GCC)                                                                                                                            
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avresample --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libass --enable-libbluray --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvenc --enable-omx --enable-shared --enable-version3
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter     7. 16.100 /  7. 16.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
[video4linux2,v4l2 @ 0x559c715cb900] Raw       :     yuyv422 :           YUYV 4:2:2 : 640x480 160x120 320x240 640x480
/dev/video0: Immediate exit requested

ffmpeg -f v4l2 -list_formats all -i /dev/video1 :

ffmpeg version 4.0 Copyright (c) 2000-2018 the FFmpeg developers                                                                                        
  built with gcc 8.1.0 (GCC)                                                                                                                            
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avresample --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libass --enable-libbluray --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvenc --enable-omx --enable-shared --enable-version3
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter     7. 16.100 /  7. 16.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
[video4linux2,v4l2 @ 0x560295cf9900] ioctl(VIDIOC_G_INPUT): Inappropriate ioctl for device
/dev/video1: Inappropriate ioctl for device

Last edited by ErSoul (2018-05-18 02:36:51)

Offline

Board footer

Powered by FluxBB