Web lists-archives.com

Re: [Spca50x-devs] sonixj problems

Janusz Jurski wrote:
> Hi,
> I am trying to get my USB camera working on Debian (regular Etch install 
> with all updates). gspca compiles well and when I plug in the camera the 
> sonixj module gets loaded to support this camera (0c45:612a Microdia) 
> and the /dev/video0 device appears - no errors or suspicious messages in 
> kernel log returned by dmesg.

What does get returned by dmesg?

> However, when I start streamer, I get the following errors:
> jj@piw:~$ ./streamer -ddddd -c /dev/video0 -o a.jpeg
> checking writer files [multiple image files] ...
>   video name=ppm ext=ppm: ext mismatch [need jpeg]
>   video name=pgm ext=pgm: ext mismatch [need jpeg]
>   video name=jpeg ext=jpeg: OK
> files / video: JPEG (JFIF) / audio: none
> vid-open: trying: v4l2-old...
> vid-open: failed: v4l2-old
> vid-open: trying: v4l2...
> ioctl: 
> VIDIOC_QUERYCAP(driver="";card="";bus_info="";version=0.0.0;capabilities=0x0 
> []): Invalid argument
> vid-open: failed: v4l2

This means that this is probably not gspcav2 as it has been merged into the 
2.6.27 kernel, please use that version. See:

Note that streamer is part of xawtv and xawtv has known bugs which are 
triggered in certain use cases when used together with gspca, you should really 
compile xawtv with this patch:

What we *really* need is a new upstream for xawtv (as its still quite popular) 
even its just a place to collect all fixes currently scattered over many 
different distros. So any volunteers to organize this?



This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
Spca50x-devs mailing list