FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 01-30-2009, 02:25 AM
Linyin
 
Default problem with webcam

I already do video for linux in the kernel. Install SDL & SPCAVIEW
have no error. But when i use it, error said cant find driver.
In website:mxhaard.free.fr/spca5xx.html I can found my webcam is :
Wasam 107 0x0ac8 0x301b Wasam Wa350R Zc0301P Pb0330 Yes jpeg
spca5xx/LE gspca v4l1/v4l2 ****
Driver is belong to Zc0301P,by the way is gspca_zc3xx module. The
spcaserv said : Not an Spca5xx Camera !!
Plz give me some idea,thx.

linyin ~ # uname -a
Linux linyin 2.6.27-gentoo-r8 #6 Thu Jan 29 17:27:13 CST 2009 i686 VIA
Samuel 2 CentaurHauls GNU/Linux

linyin ~ # lsusb
Bus 002 Device 001: ID 1d6b:0001
Bus 001 Device 002: ID 0ac8:301b Z-Star Microelectronics Corp. ZC0301 WebCam
Bus 001 Device 001: ID 1d6b:0001

linyin ~ # lsmod
Module Size Used by
gspca_zc3xx 45088 0
gspca_main 17344 1 gspca_zc3xx
videodev 27904 1 gspca_main
v4l1_compat 12132 1 videodev

linyin ~ # spcaserv -s 320x240 -w 192.168.1.6:7070
size width: 320 height: 240
Port should be between 1024 to 65536 set default 7070 !.
Spcaview version: 1.1.8 date: 25:12:2007 (C) mxhaard@magic.fr
video /dev/video0
Camera found: PC Camera
VIDIOCGPICT brightnes=32896 hue=0 color=0 contrast=32768
whiteness=39321depth=8 palette=0
Bridge found: zc3xx
Not an Spca5xx Camera !!
wrong spca5xx device
StreamId: -1 Camera
try palette 21 depth 8
Damned second try fail
try palette 15 depth 12
Damned second try fail
try palette 4 depth 24
Damned second try fail
try palette 3 depth 16
Damned second try fail
try palette 5 depth 32
Damned second try fail
probe size in
Available Resolutions width 640 heigth 480
Available Resolutions width 384 heigth 288
Available Resolutions width 352 heigth 288
Available Resolutions width 320 heigth 240
Available Resolutions width 192 heigth 144
Available Resolutions width 176 heigth 144
Available Resolutions width 160 heigth 120
Invalid palette in check palette fatal !!
Format asked 15 check -1
VIDIOCSPICT brightnes=32896 hue=0 color=0 contrast=32768
whiteness=39321depth=12 palette=15
VIDIOCGPICT brightnes=32896 hue=0 color=0 contrast=32768
whiteness=39321depth=8 palette=0
could't set video palette Abort !

--
Regards

Linyin SooChow China
http://linyin.8800.org
 
Old 01-30-2009, 03:42 PM
James
 
Default problem with webcam

Linyin <linyin.cn <at> gmail.com> writes:


> I already do video for linux in the kernel. Install SDL & SPCAVIEW
> have no error. But when i use it, error said cant find driver.


Are you certain that the camera is working? If its and NTSC/PAL
coax output, just plug it into an old analog TV and verify the
signal output is good first. Even connecting the camera to working
windows software will do for output signal verification. Many
cameras are easy to damage, from bumps or drops.....


If it's a usb webcam, maybe you have a channel input to something
that works generically? The point is to make sure valid video
signal is emminating from the camera first.

Next I use some very simple program and syntax to make sure it's
working on the computer. Use something simple and generic. I currrently
use this syntax with mplayer:

mplayer -fps 15 tv:// -tv driver=v4l2:device=/dev/v4l/video1


There are a multitude of issues that can break any given camera/package
combo, and many are hard to track down. It can be use flag, newer versions
of software fail, kernel issue, command line options, ...
just to mention a few.

Manually parse through /dev/v4l/video* and find where your devices is
connected to the kernel.


good hunting,
hth,

James
 

Thread Tools




All times are GMT. The time now is 06:44 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org