LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-03-2010, 02:24 AM   #1
d_t_baker
Member
 
Registered: Oct 2003
Location: AU
Distribution: Ubuntu
Posts: 57

Rep: Reputation: 15
Question V4L - 2 capture cards result in fuzzy /dev/video0 and /dev/video1 output


So I have 3 old video capture cards which I would like to use for CCTV. Each card supports 1 camera. So I would like to have 3 cameras setup in the end and monitor them with zoneminder.

When each card is plugged in on it's own, it works fine. Video comes through clearly with xawtv and zoneminder.

However as soon as I plug in a 2nd card (with or without a camera connected) the output in xawtv and zoneminder goes haywire. It looks like the 2nd card takes over the first card, resulting in majority of the picture coming from the 2nd card, and some (if any) from the 1st card. When viewing either of the two cards /dev/video0 or /dev/video1 in xawtv the output is identical.

I've tried this on a fresh 10.04 Ubuntu install, and on an older MythTV debian computer, the same results.

Here are lspci -vv outputs with 2 combinations of cards (same fuzzy output):

http://pastebin.com/Ri9RBipA
http://pastebin.com/RKupHYeg

My thoughts are because the capture cards are cheap (similar to winmodems), the problem may be in the software kernel modules not allowing room for other similar capture cards to run at the same time.

Can anyone suggest me in the right direction? Do I need to setup some sort of memory allocation for each card manually? Something in the BIOS? An extra option when the card modules are loaded?

Or should I be posting this question towards some sort of v4l mailing list?

Thanks heaps!
Dave

Last edited by d_t_baker; 10-03-2010 at 03:28 AM.
 
Old 10-03-2010, 06:50 PM   #2
d_t_baker
Member
 
Registered: Oct 2003
Location: AU
Distribution: Ubuntu
Posts: 57

Original Poster
Rep: Reputation: 15
A suggestion from the v4l irc channel was to blacklist the card modules, and then load each module manually after a timeout.

This seems to work yet to try all 3 cards together but 2 are working well with cameras connected.

 
  


Reply

Tags
v4l


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
v4l: open /dev/video0: No such file or directory mdkusr Linux - Hardware 1 11-08-2006 09:40 PM
ivtv - can't open capture device - /dev/video0 rrrssssss Linux - Hardware 7 02-02-2006 09:39 AM
V4L: "cat /dev/video0: no such device"; to be sure not supported? jago25_98 Linux - Hardware 1 01-27-2005 04:04 PM
Can't install TV-card: /dev/v4l/video0 missing christian-s Linux - Hardware 8 08-19-2004 10:14 AM
Two Video Devices - /dev/video0 & /dev/video1 liguorir Linux - Software 1 07-21-2003 08:20 PM


All times are GMT -5. The time now is 09:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration