Z-Star Microelectronics Corp. ZC0301 WebCam detected (0ac8:301b), but not working - Bad module
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
WengoPhone |
Invalid
|
Undecided
|
Unassigned | ||
cheese (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Medium
|
Stefan Bader | ||
udev (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
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.
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/
### 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.
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-
error getting capabilities Invalid argument of from device /dev/video0]
** Message: test pipeline for v4lsrc failed:
[v4lsrc ! video/x-
** Message: Error running pipeline 'v4lsrc ! video/x-
error getting capabilities Invalid argument of from device /dev/video0]
** Message: test pipeline for v4lsrc failed:
[v4lsrc ! video/x-
** Message: Error running pipeline 'v4lsrc ! video/x-
error getting capabilities Invalid argument of from device /dev/video0]
** Message: test pipeline for v4lsrc failed:
[v4lsrc ! video/x-
** Message: Error running pipeline 'v4lsrc ! video/x-
error getting capabilities Invalid argument of from device /dev/video0]
** Message: test pipeline for v4lsrc failed:
[v4lsrc ! video/x-
** Message: Error running pipeline 'v4lsrc ! video/x-
error getting capabilities Invalid argument of from device /dev/video0]
** Message: test pipeline for v4lsrc failed:
[v4lsrc ! video/x-
** Message: Error running pipeline 'v4lsrc ! video/x-
error getting capabilities Invalid argument of from device /dev/video0]
** Message: test pipeline for v4lsrc failed:
[v4lsrc ! video/x-
** Message: Error running pipeline 'v4lsrc ! fakesink': Could not get/set settings from/on resource. [v4l_calls.c(89): gst_v4l_
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
Changed in wengophone: | |
status: | New → Invalid |
Changed in cheese: | |
status: | New → Confirmed |
Changed in linux: | |
assignee: | nobody → kernel-bugs |
description: | updated |
Changed in linux: | |
assignee: | kernel-bugs → ubuntu-kernel-team |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
description: | updated |
Changed in linux: | |
assignee: | ubuntu-kernel-team → stefan-bader-canonical |
I am also having the same problem ie fails with Camorama and Wengo but works in v4l2 in Ekiga.
It is not a ZC0301 but a ZCO0303
### lsusb ###
Bus 001 Device 002: ID 0ac8:303b Z-Star Microelectronics Corp. ZC0303 WebCam
### dmesg ###
[ 4.284000] usb 1-1: new full speed USB device using ohci_hcd and address 2
[ 4.496000] usb 1-1: configuration #1 chosen from 1 choice
[ 18.152000] usb 1-1: ZC0301[P] Image Processor and Control Chip detected (vid/pid 0x0AC8:0x303B)
[ 18.308000] usb 1-1: PB-0330 image sensor detected
[ 19.064000] usb 1-1: Initialization succeeded
[ 19.064000] usb 1-1: V4L2 device registered as /dev/video0
[ 19.064000] usbcore: registered new interface driver zc0301
[ 19.140000] usbcore: registered new interface driver gspca
Camorama just gives a "Could not connect to video device (/dev/video0)" while Wengo sees the camera, but is unable to access it.
Appreciate any help we can get.
Thanks!