Skip to contentSkip to conversation

gspca (ubuntu 8.10) and sonixj camera problems

DISCUSSION Janusz Jurski 2 participants 3 messages Dec 30, 2008 – Jan 1, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi All,

My system configuration is as folows:
- clean Ubuntu8.10 (live CD) - kernel 2.6.27
- my USB sonixj camera connected - it is 0c45:612a Microdia PC Camera (SN9C110)
- dmesg shows no errors or suspicious messages

Problem: I cannot get any application to work with my camera. Even svv mentioned in http://moinejf.free.fr/gspca_README.txt does not work. Logs for svv and streamer are below. Attached is also a raw file generated with svv (just 2kB in size). The logs show JPEG conversion errors. Anyone has a similar problem? Any helpful ideas on what to do?

I appreciate your help.
Thanks,
JJ

svv returns the following errors (or similar - it often asks for a different number of bits, sometimes it complains about unknown huffman code during JPEG decompression):

ubuntu@ubuntu:~/Desktop$ ./svv
raw pixfmt: JPEG 640x480
pixfmt: RGB3 640x480
mmap method
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more 
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more 
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more 
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more 
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more 
bits
ubuntu@ubuntu:~/Desktop$

streamer (another application that I tried) returns a similar conversion error:

ubuntu@ubuntu:~/Desktop$ LD_PRELOAD=/usr/local/lib/libv4l/v4l1compat.so 
streamer -o a.jpeg
files / video: JPEG (JFIF) / audio: none
libv4l2: error converting / decoding frame data: v4l-convert: error 
parsing JPEG header: Not a JPG file ?

ioctl: VIDIOC_DQBUF(index=0;type=VIDEO_CAPTURE;bytesused=406;flags=0x1 [MAPPED];field=NONE;;timecode.type=0;timecode.flags=0;timecode.frames=0;timecode.seconds=0;timecode.minutes=0;timecode.hours=0;timecode.userbits="";sequence=0;memory=MMAP):
Input/output error
^C^C - one moment please
libv4l2: error converting / decoding frame data: v4l-convert: error
parsing JPEG header: Not a JPG file ?

ioctl: VIDIOC_DQBUF(index=1;type=VIDEO_CAPTURE;bytesused=406;flags=0x1 [MAPPED];field=NONE;;timecode.type=0;timecode.flags=0;timecode.frames=0;timecode.seconds=0;timecode.minutes=0;timecode.hours=0;timecode.userbits="";sequence=0;memory=MMAP):
Input/output error
ubuntu@ubuntu:~/Desktop$

----------------------------------------------------
Czujesz związek z Kopernikiem?! :)
Sprawdź swoje korzenie na bliscy.pl
Zbuduj drzewo swojej rodziny:
http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Fbliscy.html&sid=597

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

#1 lore raw
Quoted 1 line · Janusz Jurski

Hi All,

Hi Janusz,

Quoted 6 lines

My system configuration is as folows:
- clean Ubuntu8.10 (live CD) - kernel 2.6.27
- my USB sonixj camera connected - it is 0c45:612a Microdia PC Camera (SN9C110)
- dmesg shows no errors or suspicious messages

Quoted 7 lines

Problem: I cannot get any application to work with my camera. Even svv mentioned in http://moinejf.free.fr/gspca_README.txt does not work. Logs for svv and streamer are below. Attached is also a raw file generated with svv (just 2kB in size). The logs show JPEG conversion errors. Anyone has a similar problem? Any helpful ideas on what to do?

I appreciate your help.

Did you get the last gspca from my repository?

Regards.

Signature · 8 lines
Ken ar c'hentañ |             ** Breizh ha Linux atav! **
Jef             |               http://moinejf.free.fr/


--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
#2 lore raw
In reply to Janusz Jurski
Quoted 1 line · Jean-Francois Moine

Did you get the last gspca from my repository?

No, I did not as I thought that the distro already contains one of the most recent versions of the drivers.

I have just done this and YES, IT SOLVED THE PROBLEM. Now all apps work!

Thank you very much for your (quite obvious) suggestion. Best regards,
JJ

----------------------------------------------------
Potrzebujesz pomocy szkolnej?
Streszczenia lektur, gotowe opracowania,
recenzje filmów i książek, Kliknij:
http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Fnaleniucha.html&sid=600

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