Webcam freeze after a few minutes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xserver-xorg-driver-v4l (Ubuntu) |
Invalid
|
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://
This bug look like that one : https:/
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
bNumConfigura
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 661
bNumInterfaces 2
bConfigurat
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 98mA
Interface Association:
bLength 8
bDescript
bFirstInt
bInterfac
bFunction
bFunction
bFunction
iFunction 1 USB 2.0 Camera
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 1
bInterfac
bInterfac
bInterfac
iInterface 1 USB 2.0 Camera
VideoControl Interface Descriptor:
bLength 13
bcdUVC 1.00
VideoControl Interface Descriptor:
bLength 9
bTerminalID 2
bSourceID 5
iTerminal 0
VideoControl Interface Descriptor:
bLength 26
bUnitID 4
bNumControl 8
bNrPins 1
baSourceID( 0) 3
bmControls( 0) 0x0f
iExtension 0
VideoControl Interface Descriptor:
bLength 26
bUnitID 5
bNumControl 8
bNrPins 1
baSourceID( 0) 4
bmControls( 0) 0x01
iExtension 0
VideoControl Interface Descriptor:
bLength 18
bTerminalID 1
iTerminal 0
bmControls 0x00000000
VideoControl Interface Descriptor:
bLength 11
Warning: Descriptor too short
bUnitID 3
bSourceID 1
bmControls 0x0000043f
Contrast
Hue
Sharpness
Gamma
Power Line Frequency
iProcessing 0
NTSC - 525/60
SECAM - 625/50
NTSC - 625/50
Endpoint Descriptor:
bLength 7
Transfer Type Interrupt
Synch Type None
Usage Type Data
bInterval 6
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 0
bInterfac
bInterfac
bInterfac
iInterface 0
VideoStre
bLength 14
bmInfo 2
VideoStre
bLength 27
guidFormat {32595559-
Fields per frame: 1 fields
Field 1 first: No
Field pattern: Field 1 only
VideoStre
bLength 50
bFrameIndex 1
Still image unsupported
wWidth 640
wHeight 480
VideoStre
bLength 50
bFrameIndex 2
Still image unsupported
wWidth 352
wHeight 288
VideoStre
bLength 50
bFrameIndex 3
Still image unsupported
wWidth 320
wHeight 240
VideoStre
bLength 50
bFrameIndex 4
Still image unsupported
wWidth 176
wHeight 144
VideoStre
bLength 50
bFrameIndex 5
Still image unsupported
wWidth 160
wHeight 120
VideoStre
bLength 46
bFrameIndex 6
Still image unsupported
wWidth 800
wHeight 600
VideoStre
bLength 38
bFrameIndex 7
Still image unsupported
wWidth 1280
wHeight 960
VideoStre
bLength 34
bFrameIndex 8
Still image unsupported
wWidth 1600
wHeight 1200
VideoStre
bLength 6
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 1
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
bInterval 1
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 1
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
bInterval 1
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 1
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
bInterval 1
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 1
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
bInterval 1
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 1
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
bInterval 1
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 1
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
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
bNumConfigura
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
bNumConfigura
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 336
bNumInterfaces 3
bConfigurat
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 2
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Isochronous
Synch Type None
Usage Type Data
bInterval 1
Endpoint Descriptor:
bLength 7
Transfer Type Interrupt
Synch Type None
Usage Type Data
bInterval 10
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 2
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Isochronous
Synch Type None
Usage Type Data
bInterval 1
Endpoint Descriptor:
bLength 7
Transfer Type Interrupt
Synch Type None
Usage Type Data
bInterval 10
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 2
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Isochronous
Synch Type None
Usage Type Data
bInterval 1
Endpoint Descriptor:
bLength 7
Transfer Type Interrupt
Synch Type None
Usage Type Data
bInterval 10
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 2
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Isochronous
Synch Type None
Usage Type Data
bInterval 1
Endpoint Descriptor:
bLength 7
Transfer Type Interrupt
Synch Type None
Usage Type Data
bInterval 10
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 2
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Isochronous
Synch Type None
Usage Type Data
bInterval 1
Endpoint Descriptor:
bLength 7
Transfer Type Interrupt
Synch Type None
Usage Type Data
bInterval 10
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 2
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Isochronous
Synch Type None
Usage Type Data
bInterval 1
Endpoint Descriptor:
bLength 7
Transfer Type Interrupt
Synch Type None
Usage Type Data
bInterval 10
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 2
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Isochronous
Synch Type None
Usage Type Data
bInterval 1
Endpoint Descriptor:
bLength 7
Transfer Type Interrupt
Synch Type None
Usage Type Data
bInterval 10
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 2
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Isochronous
Synch Type None
Usage Type Data
bInterval 1
Endpoint Descriptor:
bLength 7
Transfer Type Interrupt
Synch Type None
Usage Type Data
bInterval 10
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 0
bInterfac
bInterfac
bInterfac
iInterface 0
AudioControl Interface Descriptor:
bLength 9
bcdADC 1.00
AudioControl Interface Descriptor:
bLength 12
bTerminalID 1
bNrChannels 1
iTerminal 0
AudioControl Interface Descriptor:
bLength 9
bUnitID 2
bSourceID 1
Mute
Volume
Automatic Gain
iFeature 0
AudioControl Interface Descriptor:
bLength 9
bTerminalID 3
bSourceID 2
iTerminal 0
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 0
bInterfac
bInterfac
bInterfac
iInterface 0
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 1
bInterfac
bInterfac
bInterfac
iInterface 0
AudioStre
bLength 7
bDelay 1 frames
wFormatTag 1 PCM
AudioStre
bLength 11
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 1
tSamFreq[ 0] 8000
Endpoint Descriptor:
bLength 9
Transfer Type Isochronous
Synch Type None
Usage Type Data
bInterval 1
bRefresh 0
bLength 7
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 1
bInterfac
bInterfac
bInterfac
iInterface 0
AudioStre
bLength 7
bDelay 1 frames
wFormatTag 1 PCM
AudioStre
bLength 11
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 1
tSamFreq[ 0] 16000
Endpoint Descriptor:
bLength 9
Transfer Type Isochronous
Synch Type None
Usage Type Data
bInterval 1
bRefresh 0
bLength 7
Device Status: 0x0000
(Bus Powered)
Changed in xserver-xorg-driver-v4l (Ubuntu): | |
status: | Invalid → Opinion |
status: | Opinion → Invalid |
I've made another test :
For the Chicony webcam :
$ lsmod | grep uvc audio,snd_ usb_lib, uvcvideo, gspca,lmpcm_ usb,usbhid, ehci_hcd, uhci_hcd
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_
For the Logitech webcam :
$ lsmod | grep spca audio,snd_ usb_lib, uvcvideo, gspca,lmpcm_ usb,usbhid, ehci_hcd, uhci_hcd
gspca 608336 1
videodev 29312 4 uvcvideo,gspca
usbcore 138632 9 snd_usb_
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.