← Back to team overview

kernel-packages team mailing list archive

[Bug 144745] Re: Z-Star Microelectronics Corp. ZC0301 WebCam detected (0ac8:301b), but not working - Bad module

 

This has been broken for about a year now. Currently on Ubuntu 13.04.
Same deal. Camera is correctly detected when plugged in, modules are
loaded, /dev/video0 is created, but no software can actually use it.

uname -a
Linux aardvark 3.8.0-35-generic #50-Ubuntu SMP Tue Dec 3 01:25:33 UTC 2013 i686 i686 i686 GNU/Linux

dmesg:
[  329.328094] usb 5-1: new full-speed USB device number 3 using uhci_hcd
[  329.521148] usb 5-1: New USB device found, idVendor=0ac8, idProduct=301b
[  329.521157] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  329.521161] usb 5-1: Product: PC Camera
[  329.521166] usb 5-1: Manufacturer: Vimicro Corp.
[  333.854039] input: gspca_zc3xx as /devices/pci0000:00/0000:00:1d.0/usb5/5-1/input/input12
[  333.854691] usbcore: registered new interface driver gspca_zc3xx

lsmod | grep gspc
gspca_zc3xx            51016  0 
gspca_main             27661  1 gspca_zc3xx
videodev               95806  2 gspca_main,gspca_zc3xx

lsusb
Bus 005 Device 003: ID 0ac8:301b Z-Star Microelectronics Corp. ZC0301 Webcam

ls -al /dev/vi*
crw-rw----+ 1 root video 81, 0 Jan 29 07:17 /dev/video0

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/144745

Title:
  Z-Star Microelectronics Corp. ZC0301 WebCam detected (0ac8:301b), but
  not working - Bad module

Status in WengoPhone, Free Communication:
  Invalid
Status in “cheese” package in Ubuntu:
  Invalid
Status in “linux” package in Ubuntu:
  Fix Released
Status in “udev” package in Ubuntu:
  Invalid

Bug description:
  Short Description:

  If zc0301 was loaded first then gspca will occur a conflict and the Webcam will not work,
  -- Possible solutions:
   * Load gspca first then zc0301 ;
   * Include zc0301 in '/etc/modprobe.d/blacklist' .

  
  Full Description:

  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.

  Steps to solve this problem:
  sudo apt-get install gspca-source
  sudo m-a prepare
  sudo m-a a-i gspca
  and ever run left each reboot:
  sudo rmmod zc0301
  sudo rmmod gspca
  sudo modprobe gspca

  
  ### 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/wengophone/+bug/144745/+subscriptions