Webcam freeze after a few minutes

Bug #162615 reported by Sébastien Bertrand on 2007-11-14
2
Affects Status Importance Assigned to Milestone
xserver-xorg-driver-v4l (Ubuntu)
Undecided
Unassigned

Bug Description

I have two webcams, the both worked well under feisty but the video freeze after a few moment under gutsy (between 5 secondes and 5 minutes).

$ lsusb
Bus 007 Device 001: ID 0000:0000
Bus 006 Device 003: ID 04f2:b018 Chicony Electronics Co., Ltd
Bus 006 Device 001: ID 0000:0000
Bus 002 Device 002: ID 147e:2016
Bus 002 Device 001: ID 0000:0000
Bus 005 Device 002: ID 046d:08ad Logitech, Inc.
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 002: ID 046d:c50e Logitech, Inc. MX-1000 Cordless Mouse Receiver
Bus 001 Device 001: ID 0000:0000

The webcams are the 04f2:b018 (Chicony) and the 046d:c50e (Logitech QuickCam Comunicate STX).
The Chicony webcam uses V4L2 and the Logitech webcam uses V4L. This bug happens using Ekiga, WengoPhone, Skype (the last beta), or Camorama.

Maybe it's a GSPCA problem, but I'm not sure that the Chicony webcam uses GSPCA…

A french thread on Ubuntu-fr about this bug :
http://forum.ubuntu-fr.org/viewtopic.php?id=165404

This bug look like that one : https://bugs.launchpad.net/ubuntu/+source/gspca/+bug/132669
But the distribution concerned aren't the same. This bug only exists under Gutsy…

$ sudo lsusb -d 04f2:b018 -v

Bus 006 Device 003: ID 04f2:b018 Chicony Electronics Co., Ltd
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 239 Miscellaneous Device
  bDeviceSubClass 2 Common Class
  bDeviceProtocol 1 Interface Association
  bMaxPacketSize0 64
  idVendor 0x04f2 Chicony Electronics Co., Ltd
  idProduct 0xb018
  bcdDevice 4.60
  iManufacturer 2 Chicony Electronics Co., Ltd.
  iProduct 1 USB 2.0 Camera
  iSerial 3 SN0001
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 661
    bNumInterfaces 2
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0x80
      (Bus Powered)
    MaxPower 98mA
    Interface Association:
      bLength 8
      bDescriptorType 11
      bFirstInterface 0
      bInterfaceCount 2
      bFunctionClass 14 Video
      bFunctionSubClass 3 Video Interface Collection
      bFunctionProtocol 0
      iFunction 1 USB 2.0 Camera
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 1
      bInterfaceClass 14 Video
      bInterfaceSubClass 1 Video Control
      bInterfaceProtocol 0
      iInterface 1 USB 2.0 Camera
      VideoControl Interface Descriptor:
        bLength 13
        bDescriptorType 36
        bDescriptorSubtype 1 (HEADER)
        bcdUVC 1.00
        wTotalLength 103
        dwClockFrequency 15.000000MHz
        bInCollection 1
        baInterfaceNr( 0) 1
      VideoControl Interface Descriptor:
        bLength 9
        bDescriptorType 36
        bDescriptorSubtype 3 (OUTPUT_TERMINAL)
        bTerminalID 2
        wTerminalType 0x0101 USB Streaming
        bAssocTerminal 0
        bSourceID 5
        iTerminal 0
      VideoControl Interface Descriptor:
        bLength 26
        bDescriptorType 36
        bDescriptorSubtype 6 (EXTENSION_UNIT)
        bUnitID 4
        guidExtensionCode {28f03370-6311-4a2e-ba2c-6890eb334016}
        bNumControl 8
        bNrPins 1
        baSourceID( 0) 3
        bControlSize 1
        bmControls( 0) 0x0f
        iExtension 0
      VideoControl Interface Descriptor:
        bLength 26
        bDescriptorType 36
        bDescriptorSubtype 6 (EXTENSION_UNIT)
        bUnitID 5
        guidExtensionCode {2812ae3f-bcd7-4e11-a357-6f1edef7d61d}
        bNumControl 8
        bNrPins 1
        baSourceID( 0) 4
        bControlSize 1
        bmControls( 0) 0x01
        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 0x0000043f
          Brightness
          Contrast
          Hue
          Saturation
          Sharpness
          Gamma
          Power Line Frequency
        iProcessing 0
        bmVideoStandards 0x9a
          NTSC - 525/60
          SECAM - 625/50
          NTSC - 625/50
      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 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)
        bNumFormarts 1
        wTotalLength 33025
        bEndPointAddress 0
        bmInfo 2
        bTerminalLink 0
        bStillCaptureMethod 1
        bTriggerSupport 0
        bTriggerUsage 1
        bControlSize 1
        bmaControls( 0) 27
      VideoStreaming Interface Descriptor:
        bLength 27
        bDescriptorType 36
        bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED)
        bFormatIndex 1
        bNumFrameDescriptors 8
        guidFormat {32595559-0000-0010-8000-00aa00389b71}
        bBitsPerPixel 16
        bDefaultFrameIndex 1
        bAspectRatioX 0
        bAspectRatioY 0
        bmInterlaceFlags 0x00
          Interlaced stream or variable: No
          Fields per frame: 1 fields
          Field 1 first: No
          Field pattern: Field 1 only
          bCopyProtect 0
      VideoStreaming Interface Descriptor:
        bLength 50
        bDescriptorType 36
        bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
        bFrameIndex 1
        bmCapabilities 0x00
          Still image unsupported
        wWidth 640
        wHeight 480
        dwMinBitRate 614400
        dwMaxBitRate 18432000
        dwMaxVideoFrameBufferSize 614400
        dwDefaultFrameInterval 333333
        bFrameIntervalType 6
        dwFrameInterval( 0) 333333
        dwFrameInterval( 1) 500000
        dwFrameInterval( 2) 666666
        dwFrameInterval( 3) 1000000
        dwFrameInterval( 4) 2000000
        dwFrameInterval( 5) 10000000
      VideoStreaming Interface Descriptor:
        bLength 50
        bDescriptorType 36
        bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
        bFrameIndex 2
        bmCapabilities 0x00
          Still image unsupported
        wWidth 352
        wHeight 288
        dwMinBitRate 202752
        dwMaxBitRate 6082560
        dwMaxVideoFrameBufferSize 202752
        dwDefaultFrameInterval 333333
        bFrameIntervalType 6
        dwFrameInterval( 0) 333333
        dwFrameInterval( 1) 500000
        dwFrameInterval( 2) 666666
        dwFrameInterval( 3) 1000000
        dwFrameInterval( 4) 2000000
        dwFrameInterval( 5) 10000000
      VideoStreaming Interface Descriptor:
        bLength 50
        bDescriptorType 36
        bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
        bFrameIndex 3
        bmCapabilities 0x00
          Still image unsupported
        wWidth 320
        wHeight 240
        dwMinBitRate 153600
        dwMaxBitRate 4608000
        dwMaxVideoFrameBufferSize 153600
        dwDefaultFrameInterval 333333
        bFrameIntervalType 6
        dwFrameInterval( 0) 333333
        dwFrameInterval( 1) 500000
        dwFrameInterval( 2) 666666
        dwFrameInterval( 3) 1000000
        dwFrameInterval( 4) 2000000
        dwFrameInterval( 5) 10000000
      VideoStreaming Interface Descriptor:
        bLength 50
        bDescriptorType 36
        bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
        bFrameIndex 4
        bmCapabilities 0x00
          Still image unsupported
        wWidth 176
        wHeight 144
        dwMinBitRate 50688
        dwMaxBitRate 1520640
        dwMaxVideoFrameBufferSize 50688
        dwDefaultFrameInterval 333333
        bFrameIntervalType 6
        dwFrameInterval( 0) 333333
        dwFrameInterval( 1) 500000
        dwFrameInterval( 2) 666666
        dwFrameInterval( 3) 1000000
        dwFrameInterval( 4) 2000000
        dwFrameInterval( 5) 10000000
      VideoStreaming Interface Descriptor:
        bLength 50
        bDescriptorType 36
        bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
        bFrameIndex 5
        bmCapabilities 0x00
          Still image unsupported
        wWidth 160
        wHeight 120
        dwMinBitRate 38400
        dwMaxBitRate 1152000
        dwMaxVideoFrameBufferSize 38400
        dwDefaultFrameInterval 333333
        bFrameIntervalType 6
        dwFrameInterval( 0) 333333
        dwFrameInterval( 1) 500000
        dwFrameInterval( 2) 666666
        dwFrameInterval( 3) 1000000
        dwFrameInterval( 4) 2000000
        dwFrameInterval( 5) 10000000
      VideoStreaming Interface Descriptor:
        bLength 46
        bDescriptorType 36
        bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
        bFrameIndex 6
        bmCapabilities 0x00
          Still image unsupported
        wWidth 800
        wHeight 600
        dwMinBitRate 960000
        dwMaxBitRate 19200000
        dwMaxVideoFrameBufferSize 960000
        dwDefaultFrameInterval 500000
        bFrameIntervalType 5
        dwFrameInterval( 0) 500000
        dwFrameInterval( 1) 666666
        dwFrameInterval( 2) 1000000
        dwFrameInterval( 3) 2000000
        dwFrameInterval( 4) 10000000
      VideoStreaming Interface Descriptor:
        bLength 38
        bDescriptorType 36
        bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
        bFrameIndex 7
        bmCapabilities 0x00
          Still image unsupported
        wWidth 1280
        wHeight 960
        dwMinBitRate 2457600
        dwMaxBitRate 22118400
        dwMaxVideoFrameBufferSize 2457600
        dwDefaultFrameInterval 1111111
        bFrameIntervalType 3
        dwFrameInterval( 0) 1111111
        dwFrameInterval( 1) 2000000
        dwFrameInterval( 2) 10000000
      VideoStreaming Interface Descriptor:
        bLength 34
        bDescriptorType 36
        bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
        bFrameIndex 8
        bmCapabilities 0x00
          Still image unsupported
        wWidth 1600
        wHeight 1200
        dwMinBitRate 3840000
        dwMaxBitRate 19200000
        dwMaxVideoFrameBufferSize 3840000
        dwDefaultFrameInterval 2000000
        bFrameIntervalType 2
        dwFrameInterval( 0) 2000000
        dwFrameInterval( 1) 10000000
      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 0x0080 1x 128 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 0x0100 1x 256 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 0x0320 1x 800 bytes
        bInterval 1
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      bAlternateSetting 4
      bNumEndpoints 1
      bInterfaceClass 14 Video
      bInterfaceSubClass 2 Video Streaming
      bInterfaceProtocol 0
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 5
          Transfer Type Isochronous
          Synch Type Asynchronous
          Usage Type Data
        wMaxPacketSize 0x0b20 2x 800 bytes
        bInterval 1
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      bAlternateSetting 5
      bNumEndpoints 1
      bInterfaceClass 14 Video
      bInterfaceSubClass 2 Video Streaming
      bInterfaceProtocol 0
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 5
          Transfer Type Isochronous
          Synch Type Asynchronous
          Usage Type Data
        wMaxPacketSize 0x1320 3x 800 bytes
        bInterval 1
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      bAlternateSetting 6
      bNumEndpoints 1
      bInterfaceClass 14 Video
      bInterfaceSubClass 2 Video Streaming
      bInterfaceProtocol 0
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 5
          Transfer Type Isochronous
          Synch Type Asynchronous
          Usage Type Data
        wMaxPacketSize 0x1400 3x 0 bytes
        bInterval 1
Device Qualifier (for other device speed):
  bLength 10
  bDescriptorType 6
  bcdUSB 2.00
  bDeviceClass 239 Miscellaneous Device
  bDeviceSubClass 2 Common Class
  bDeviceProtocol 1 Interface Association
  bMaxPacketSize0 64
  bNumConfigurations 1
Device Status: 0x0000
  (Bus Powered)

$ sudo lsusb -d 046d:08ad -v

Bus 005 Device 003: ID 046d:08ad Logitech, Inc.
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 1.10
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 8
  idVendor 0x046d Logitech, Inc.
  idProduct 0x08ad
  bcdDevice 1.00
  iManufacturer 0
  iProduct 0
  iSerial 0
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 336
    bNumInterfaces 3
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower 100mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 255 Vendor Specific Subclass
      bInterfaceProtocol 255 Vendor Specific Protocol
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 1
          Transfer Type Isochronous
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0000 1x 0 bytes
        bInterval 1
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x82 EP 2 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0008 1x 8 bytes
        bInterval 10
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 1
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 255 Vendor Specific Subclass
      bInterfaceProtocol 255 Vendor Specific Protocol
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 1
          Transfer Type Isochronous
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0080 1x 128 bytes
        bInterval 1
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x82 EP 2 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0008 1x 8 bytes
        bInterval 10
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 2
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 255 Vendor Specific Subclass
      bInterfaceProtocol 255 Vendor Specific Protocol
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 1
          Transfer Type Isochronous
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x00c0 1x 192 bytes
        bInterval 1
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x82 EP 2 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0008 1x 8 bytes
        bInterval 10
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 3
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 255 Vendor Specific Subclass
      bInterfaceProtocol 255 Vendor Specific Protocol
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 1
          Transfer Type Isochronous
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0100 1x 256 bytes
        bInterval 1
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x82 EP 2 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0008 1x 8 bytes
        bInterval 10
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 4
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 255 Vendor Specific Subclass
      bInterfaceProtocol 255 Vendor Specific Protocol
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 1
          Transfer Type Isochronous
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0180 1x 384 bytes
        bInterval 1
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x82 EP 2 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0008 1x 8 bytes
        bInterval 10
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 5
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 255 Vendor Specific Subclass
      bInterfaceProtocol 255 Vendor Specific Protocol
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 1
          Transfer Type Isochronous
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 1
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x82 EP 2 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0008 1x 8 bytes
        bInterval 10
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 6
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 255 Vendor Specific Subclass
      bInterfaceProtocol 255 Vendor Specific Protocol
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 1
          Transfer Type Isochronous
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0300 1x 768 bytes
        bInterval 1
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x82 EP 2 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0008 1x 8 bytes
        bInterval 10
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 7
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 255 Vendor Specific Subclass
      bInterfaceProtocol 255 Vendor Specific Protocol
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 1
          Transfer Type Isochronous
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x03ff 1x 1023 bytes
        bInterval 1
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x82 EP 2 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0008 1x 8 bytes
        bInterval 10
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      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 39
        bInCollection 1
        baInterfaceNr( 0) 2
      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 2
        bmaControls( 0) 0x43
        bmaControls( 0) 0x00
          Mute
          Volume
          Automatic Gain
        iFeature 0
      AudioControl Interface Descriptor:
        bLength 9
        bDescriptorType 36
        bDescriptorSubtype 3 (OUTPUT_TERMINAL)
        bTerminalID 3
        wTerminalType 0x0101 USB Streaming
        bAssocTerminal 0
        bSourceID 2
        iTerminal 0
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 2
      bAlternateSetting 0
      bNumEndpoints 0
      bInterfaceClass 1 Audio
      bInterfaceSubClass 2 Streaming
      bInterfaceProtocol 0
      iInterface 0
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 2
      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] 8000
      Endpoint Descriptor:
        bLength 9
        bDescriptorType 5
        bEndpointAddress 0x83 EP 3 IN
        bmAttributes 1
          Transfer Type Isochronous
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0010 1x 16 bytes
        bInterval 1
        bRefresh 0
        bSynchAddress 0
        AudioControl Endpoint Descriptor:
          bLength 7
          bDescriptorType 37
          bDescriptorSubtype 1 (EP_GENERAL)
          bmAttributes 0x00
          bLockDelayUnits 0 Undefined
          wLockDelay 0 Undefined
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 2
      bAlternateSetting 2
      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] 16000
      Endpoint Descriptor:
        bLength 9
        bDescriptorType 5
        bEndpointAddress 0x83 EP 3 IN
        bmAttributes 1
          Transfer Type Isochronous
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0020 1x 32 bytes
        bInterval 1
        bRefresh 0
        bSynchAddress 0
        AudioControl Endpoint Descriptor:
          bLength 7
          bDescriptorType 37
          bDescriptorSubtype 1 (EP_GENERAL)
          bmAttributes 0x00
          bLockDelayUnits 0 Undefined
          wLockDelay 0 Undefined
Device Status: 0x0000
  (Bus Powered)

Sébastien Bertrand (damocles) wrote :

I've made another test :

For the Chicony webcam :

$ lsmod | grep uvc
uvcvideo 48644 1
compat_ioctl32 2304 1 uvcvideo
videodev 29312 4 uvcvideo,gspca
v4l2_common 18432 2 uvcvideo,videodev
v4l1_compat 15364 2 uvcvideo,videodev
usbcore 138632 9 snd_usb_audio,snd_usb_lib,uvcvideo,gspca,lmpcm_usb,usbhid,ehci_hcd,uhci_hcd

For the Logitech webcam :

$ lsmod | grep spca
gspca 608336 1
videodev 29312 4 uvcvideo,gspca
usbcore 138632 9 snd_usb_audio,snd_usb_lib,uvcvideo,gspca,lmpcm_usb,usbhid,ehci_hcd,uhci_hcd

It's seems that the Chicony webcam uses the uvcvideo module while the Logitech webcam uses the GSPCA module. The common modules are videodev and usbcore. Maybe the bug is in these modules.

Olivier C. (olivier-quzqo) wrote :
Download full text (16.2 KiB)

On a Gutsy workstation, I have the small problem with a Logitech Quickcam Chat (box).
I tried with camorama, skype and Ekiga.

The image freezes after an undefined period, from 15 to 60 secondes, and I have to restart the application (or juste restart the video in skype 2.0 beta)
I tried different options in module loading with no effect.

This webcam seems to be identified as a Logitech Quickcam Messenger (046d:08da) and not a Logitech Quickcam Chat (046d:08a3) as expected with the box...

-------------------------------
$ sudo lsusb -d 046d:08da -v
Bus 005 Device 004: ID 046d:08da Logitech, Inc.
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 1.10
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 8
  idVendor 0x046d Logitech, Inc.
  idProduct 0x08da
  bcdDevice 1.00
  iManufacturer 0
  iProduct 0
  iSerial 0
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 336
    bNumInterfaces 3
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower 100mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 255 Vendor Specific Subclass
      bInterfaceProtocol 255 Vendor Specific Protocol
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 1
          Transfer Type Isochronous
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0000 1x 0 bytes
        bInterval 1
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x82 EP 2 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0008 1x 8 bytes
        bInterval 10
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 1
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 255 Vendor Specific Subclass
      bInterfaceProtocol 255 Vendor Specific Protocol
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 1
          Transfer Type Isochronous
          Synch Type None
          Usage Type ...

Thank you for taking the time to report this bug and helping to make Ubuntu better. Gutsy is in End of Life status. More on this may be found at https://wiki.ubuntu.com/Releases Regarding your webcam, this issue is one that should be reproducible with the live environment of the Desktop CD of the development release - Maverick Meerkat. It would help us greatly if you could test with it so we can work on getting it fixed in the next release of Ubuntu. You can find out more about the development release at http://www.ubuntu.com/testing/ . Thanks again and we appreciate your help.

Changed in xserver-xorg-driver-v4l (Ubuntu):
status: New → Invalid
Changed in xserver-xorg-driver-v4l (Ubuntu):
status: Invalid → Opinion
status: Opinion → Invalid
Sébastien Bertrand (damocles) wrote :

Thank you. I think this bug no longer exists.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers