From: "Janusz Jurski" <jurskij@wp.pl>
To: video4linux-list@redhat.com
Subject: Problem with gspca driver
Date: Thu, 16 Oct 2008 23:25:02 +0200 [thread overview]
Message-ID: <48f7b12e150698.01964229@wp.pl> (raw)
Hi,
I have a problem with gspca driver for my USB camera. My kernel is
2.6.18. I followed the instructions at
http://moinejf.free.fr/gspca_README.txt to build and install the driver
and v4l library. When I plug in my camera the sonixj module gets loaded
to support it (0c45:612a Microdia) and the /dev/video0 device appears -
no errors or suspicious messages in kernel log returned by dmesg:
usb 1-1: new full speed USB device using uhci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
Linux video capture interface: v2.00
gspca: main v2.3.0 registered
gspca: probing 0c45:612a
sonixj: Sonix chip id: 12
videodev: "" has no release callback. Please fix your driver for proper
sysfs support, see http://lwn.net/Articles/36850/
gspca: probe ok
usbcore: registered new driver sonixj
sonixj: registered
But when I start streamer, I get the following errors:
jj@piw:/mnt/dane/samba/motion.src$
LD_PRELOAD=/usr/local/lib/libv4l/v4l1compat.so streamer -ddd -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:/mnt/dane/samba/motion.src$
A similar error when starting motion:
jj@piw:/mnt/dane/samba/motion.src/motion-3.2.3$
LD_PRELOAD=/usr/local/lib/libv4l/v4l1compat.so ./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 streamer or motion with root privileges.
Any idea what is wrong? What is the reason of the errors
Regards,
JJ
----------------------------------------------------
Kto jest bardziej SEXY?!
Tysiące zdjęć i profili
najseksowaniejszych Polaków!
Dołącz do nich: http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Famisexy.html&sid=523
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
reply other threads:[~2008-10-16 21:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48f7b12e150698.01964229@wp.pl \
--to=jurskij@wp.pl \
--cc=jj@ds.pg.gda.pl \
--cc=video4linux-list@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.