From: David A. Pane <dpane@an...> - 2005-07-06 14:19:35
Our project uses three Sony DFW-SX900 Cameras (SPI cameras) and two Sony
DFW-V500 cameras (NAV cameras) on a single IEEE 1394 bus. Each camera is
hooked up to sync lines. Our goal is to capture synchronized images from
each set of cameras (SPI and NAV cameras).
We have two separate processes running (1 for the nav cameras and 1 for the
spi cameras). Both processes can capture images successfully using the dma
and trigger when they are running by themselves. When both processes are
running and capturing we are locking up the system (even when using the
smallest resolution (320x240). We have one IEEE1394 adaptor in which the
nav cameras are on port one and the spi cameras are on port 2.
Does anyone know if the video1394 driver supports multiple processes using
it to capture images?
The dc1394_dma_setup_capture function looks like this for both sets of
dc1394_dma_setup_capture (handle, id, iso_channel, format, mode,SPEED_400,
framerate, 4/* ring buffer length*/,
1 /*drop frames*/,
Each camera is assigned its own iso_channel. The nav cameras use channels
0 and 1. The spi cameras use 2,3 and 4. We are using Redhat 9 kernel
2.4.25 and libdc1394-0.9.3
Any advise or information is appreciated.
From: John Stanley <stanley@pe...> - 2005-07-06 18:52:55
On Wed, 6 Jul 2005, David A. Pane wrote:
> Does anyone know if the video1394 driver supports multiple processes using
> it to capture images?
Yes. I do it every day.
> Each camera is assigned its own iso_channel. The nav cameras use channels
> 0 and 1. The spi cameras use 2,3 and 4. We are using Redhat 9 kernel
> 2.4.25 and libdc1394-0.9.3
How many isochronous receive channels does your OHCI-conformant 1394
interface card have? OHCI specs a minimum of 4 and that is all the
TI-based adapters support. (All of the ones I know of.) Agere and VIA
have versions that support 8.
Either look up the chips on your adapter online and find the number, or
compile the OHCI driver with verbose output and look at what it reports
when it is loaded. There will be one or two large chips on the adapter,
one is the PHY (physical) interface, the other the OHCI interface. Google
for the numbers and you can find the spec sheets.
> Any advise or information is appreciated.
You can also use two 1394 adaptors.