Comment 0 for bug 144745

Revision history for this message
Peng Deng (d6g) wrote : Webcam detected, but not working with Cheese

My webcam is detected by the system and can be found by the v4l2 driver in ekiga (i.e. it works in ekiga). But when I open Cheese, it prompts "Unable to find a webcam, SORRY!".

This is a Thinkpad T43 266871U. The system is Ubuntu Gusty, kernel: 2.6.22-12-generic.

### lsusb ###

Bus 005 Device 002: ID 050d:0218 Belkin Components
Bus 005 Device 004: ID 046d:c016 Logitech, Inc. M-UV69a Optical Wheel Mouse
Bus 005 Device 005: ID 0d49:3200 Maxtor
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 003: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 007: ID 0ac8:301b Z-Star Microelectronics Corp. ZC0301 WebCam
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

### dmesg ###

[ 2502.084000] usb 2-2: new full speed USB device using uhci_hcd and address 7
[ 2502.280000] usb 2-2: configuration #1 chosen from 1 choice
[ 2502.448000] Linux video capture interface: v2.00
[ 2502.488000] zc0301: V4L2 driver for ZC0301[P] Image Processor and Control Chip v1:1.07
[ 2502.488000] usb 2-2: ZC0301[P] Image Processor and Control Chip detected (vid/pid 0x0AC8:0x301B)
[ 2502.564000] usb 2-2: PB-0330 image sensor detected
[ 2502.976000] usb 2-2: Initialization succeeded
[ 2502.976000] usb 2-2: V4L2 device registered as /dev/video0
[ 2502.976000] usbcore: registered new interface driver zc0301
[ 2502.992000] usbcore: registered new interface driver gspca
[ 2502.992000] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/debian/build/build-generic/media/gspcav1/gspca_core.c: gspca driver 01.00.12 registered

### Output when running Cheese ###

** Message: Probing the webcam, please ignore the following, not applicabable tries
** Message: Error running pipeline 'v4l2src ! fakesink': Could not negotiate format [gstbasesrc.c(2062): gst_base_src_start (): /pipeline0/v4l2src0:
Check your filtered caps, if any]
** Message: test pipeline for v4l2src failed:
[v4l2src ! fakesink]: Could not negotiate format
** Message: Error running pipeline 'v4lsrc ! video/x-raw-rgb,width=640,height=480 ! fakesink': Could not get/set settings from/on resource. [v4l_calls.c(89): gst_v4l_get_capabilities (): /pipeline1/v4lsrc0:
error getting capabilities Invalid argument of from device /dev/video0]
** Message: test pipeline for v4lsrc failed:
[v4lsrc ! video/x-raw-rgb,width=640,height=480 ! fakesink]: Could not get/set settings from/on resource.
** Message: Error running pipeline 'v4lsrc ! video/x-raw-yuv,width=640,height=480 ! fakesink': Could not get/set settings from/on resource. [v4l_calls.c(89): gst_v4l_get_capabilities (): /pipeline2/v4lsrc1:
error getting capabilities Invalid argument of from device /dev/video0]
** Message: test pipeline for v4lsrc failed:
[v4lsrc ! video/x-raw-yuv,width=640,height=480 ! fakesink]: Could not get/set settings from/on resource.
** Message: Error running pipeline 'v4lsrc ! video/x-raw-rgb,width=320,height=240 ! fakesink': Could not get/set settings from/on resource. [v4l_calls.c(89): gst_v4l_get_capabilities (): /pipeline3/v4lsrc2:
error getting capabilities Invalid argument of from device /dev/video0]
** Message: test pipeline for v4lsrc failed:
[v4lsrc ! video/x-raw-rgb,width=320,height=240 ! fakesink]: Could not get/set settings from/on resource.
** Message: Error running pipeline 'v4lsrc ! video/x-raw-rgb,width=1280,height=960 ! fakesink': Could not get/set settings from/on resource. [v4l_calls.c(89): gst_v4l_get_capabilities (): /pipeline4/v4lsrc3:
error getting capabilities Invalid argument of from device /dev/video0]
** Message: test pipeline for v4lsrc failed:
[v4lsrc ! video/x-raw-rgb,width=1280,height=960 ! fakesink]: Could not get/set settings from/on resource.
** Message: Error running pipeline 'v4lsrc ! video/x-raw-rgb,width=174,height=144 ! fakesink': Could not get/set settings from/on resource. [v4l_calls.c(89): gst_v4l_get_capabilities (): /pipeline5/v4lsrc4:
error getting capabilities Invalid argument of from device /dev/video0]
** Message: test pipeline for v4lsrc failed:
[v4lsrc ! video/x-raw-rgb,width=174,height=144 ! fakesink]: Could not get/set settings from/on resource.
** Message: Error running pipeline 'v4lsrc ! video/x-raw-rgb,width=160,height=120 ! fakesink': Could not get/set settings from/on resource. [v4l_calls.c(89): gst_v4l_get_capabilities (): /pipeline6/v4lsrc5:
error getting capabilities Invalid argument of from device /dev/video0]
** Message: test pipeline for v4lsrc failed:
[v4lsrc ! video/x-raw-rgb,width=160,height=120 ! fakesink]: Could not get/set settings from/on resource.
** Message: Error running pipeline 'v4lsrc ! fakesink': Could not get/set settings from/on resource. [v4l_calls.c(89): gst_v4l_get_capabilities (): /pipeline7/v4lsrc6:
error getting capabilities Invalid argument of from device /dev/video0]
** Message: test pipeline for v4lsrc failed:
[v4lsrc ! fakesink]: Could not get/set settings from/on resource.
using source: videotestsrc