Skip to contentSkip to conversation

sonixj problems

Spca50x-devs JoJo jojo 2 participants 2 messages Oct 14, 2008 1 message not in the archive Media (V4L/DVB)

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

JoJo jojo

author
#1 lore raw

Hi Janusz

try posting your query here
[email protected]

then let us know at microdia groups if your issue was resolved

-JoJo

2008/10/14 Janusz Jurski <[email protected]>:

Quoted 55 lines

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.

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
vid-open: trying: v4l...
vid-open: failed: v4l
no grabber device available
jj@piw:~$

A problem (similar?) with motion as well:

jj@piw:/mnt/dane/samba/motion.src/motion-3.2.3$ ./motion -n -ddd -c
`pwd`/motion.conf
[0] Processing thread 0 - config file
/mnt/dane/samba/motion.src/motion-3.2.3/motion.conf
[1] Thread is from /mnt/dane/samba/motion.src/motion-3.2.3/motion.conf
[1] Thread started
[1] ioctl (VIDIOCGCAP): Invalid argument
[1] Capture error calling vid_start
[1] Thread finishing...
jj@piw:/mnt/dane/samba/motion.src/motion-3.2.3$

The same problem when starting stream or motion from root account. Any Idea what is wrong?

Thanks,
JJ

----------------------------------------------------
Masters of Dirt - mistrzostwie Freestyle Motocrossu z całego świata w Katowickim Spodku!
Zobacz to z nami:
http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Fextrema10338501.html&sid=518

Quoted 10 lines

-------------------------------------------------------------------------
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
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Spca50x-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spca50x-devs

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#2 lore raw
In reply to a message not in the archive
Quoted 4 lines · Janusz Jurski

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?

Quoted 13 lines

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:
http://moinejf.free.fr/gspca_README.txt

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:
https://bugzilla.redhat.com/attachment.cgi?id=313380

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?

Regards,

Hans

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list