gspca_vc032x finds my camera but fails to return frames properly

Bug #276005 reported by Mike Lundy
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Binary package hint: linux-image-2.6.27-4-generic

The module loads and seems to detect my camera, but the indicator light on the camera no longer flashes when it is detected. /dev/video0 is created for the camera, but does not return frames correctly.

From various programs:

========================

cheese 2.24.0:
"Stream contains no data"

========================

VLC 0.8.6h Janus:
[00000300] v4l demuxer error: failed syncing new frame
[00000300] v4l demuxer error: failed capturing new frame
[... repeat last, ad infinitum ...]

========================

If I cat /dev/video0, the camera indicator light comes on, and binary data comes out.

========================

mplayer tv:// -tv driver=v4l:device=/dev/video0:width=640:height=480

Indicator light goes on, scrambled video is returned (but it's definitely video and not just arbitrary noise, but i appear more than once in the frame, and there is a grid of green blobs, as well as smaller black dots)

Playing tv://.
TV file format detected.
Selected driver: v4l
=================================================================
 WARNING: YOU ARE USING V4L DEMUXER WITH V4L2 DRIVERS!!!
 As the V4L1 compatibility layer is broken, this may not work.
 If you encounter any problems, use driver=v4l2 instead.
 Bugreports on driver=v4l with v4l2 drivers will be ignored.
=================================================================
Selected device: USB2.0 Web Camera
 Capabilites: capture
 Device type: 1
 Supported sizes: 48x32 => 640x480
 Inputs: 1
  0: vc032x: (tuner:0, norm:pal)
Using input 'vc032x'
Selected input hasn't got a tuner!

Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x480 => 640x480 Planar YV12 [fs]
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...

ioctl mcapture failed: Invalid argument
V: 0.0 1/ 1 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument
[... etc ...]

========================

mplayer tv:// -tv driver=v4l2:device=/dev/video0:width=640:height=480 says:
Playing tv://.
TV file format detected.
Selected driver: v4l2
Selected device: USB2.0 Web Camera
 Capabilites: video capture read/write streaming
 supported norms:
 inputs: 0 = vc032x;
 Current input: 0
 Current format: unknown (0x55595659)
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
FPS not specified in the header or invalid, use the -fps option.
No stream found.
v4l2: ioctl set mute failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.

========================

Camera is:

Bus 005 Device 003: ID 0ac8:c002 Z-Star Microelectronics Corp. Visual Communication Camera VGP-VCC1

========================

When gspca_vc032x loads, this is what I get in dmesg:

[ 31.065027] vc032x: check sensor header 44
[ 31.092758] vc032x: Read Sensor h (0x00) m (0x00) l (0x00)
[ 31.101264] vc032x: Read Sensor h (0x00) m (0x60) l (0x76)
[ 31.101637] vc032x: Find Sensor OV7660
[ 31.104556] usbcore: registered new interface driver vc032x
[ 31.105609] vc032x: registered

========================

Last known version that worked: current stable gspca in hardy, 2.6.24-21
It broke on the upgrade to intrepid.
Current version of linux-image is 2.6.27-4.6

Revision history for this message
forevertheuni (forevertheuni) wrote :

same here

Revision history for this message
Giovanni Lovato (heruan) wrote :

Same with 2.6.27-5-generic:

# sudo modprobe gspca_vc032x
# dmesg | tail
[23214.597615] gspca: probing 046d:0892
[23214.805950] vc032x: check sensor header 44
[23214.819964] vc032x: Read Sensor h (0x00) m (0x30) l (0x31)
[23214.834953] vc032x: Read Sensor h (0x00) m (0x30) l (0x31)
[23214.849977] vc032x: Read Sensor h (0x00) m (0x30) l (0x31)
[23214.850924] vc032x: Find Sensor PO3130NC
[23214.856121] gspca: probe ok
[23214.856162] usbcore: registered new interface driver vc032x
[23214.856168] vc032x: registered
# ls -l /dev/video0
crw-rw----+ 1 root video 81, 0 2008-10-06 15:40 /dev/video0

It seems all okay, but... All applications fail or crash opening the video stream.

Changed in linux:
status: New → Confirmed
Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.