STH-MD1 USER’S MANUAL ?2001 VIDERE DESIGN
15
7 Installing the 1394 Host Card and Capture Software The STH-MD1/-C connects to a host computer via a digital 1394 interface.
The host PC must have a 1394 port, and software to interface to the video
stream from the camera. This interface software presents the video stream
from the 1394 hardware as a set of stereo frames to the user program (see
Figure 7-1). The STH-MD1/-C comes with interface software for either
MS Windows 98/2000/XP or Linux.
7.1 1394 Hardware and Drivers
Before installing the software interface, the PC must be equipped with a
1394 port. If there is one already present, on the motherboard, then you
can skip this section. Otherwise you have to install a PCI or PCMCIA
card. The card must be OHCI compliant, which all current cards are.
7.1.1 MS Windows Hardware Installation
MS Windows 98SE, ME, 2000, or XP is required.
For a PCI card, insert the card into a free PCI slot with the computer power
off, and start the computer. With a PCMCIA card, insert it into the
PCMCIA slot. In either case, the New Hardware wizard will walk you
through installation steps for the low-level drivers. You may need your
MS Windows 98/2000 CD to install some files.
7.1.2 Linux Hardware and Driver Installation
Linux kernels 2.4.x are required for operation. Please see the Videre
Design website (www.videredesign.com/support_svslnx.htm) for current
information.
Sometimes the 1394 system will get hung and you have to unhang it by
removing all the modules, and re-installing them. Also, the Linux IEEE
1394 drivers sometimes do not configure the root node of the bus properly.
Check the listing of /proc/ohci1394 to see if the word “root” appears near
the top of the listing. If not, you can sometimes get around this problem by
using:
modprobe ohci1394 attempt_root=1
when installing the OHCI 1394 module.
7.2 STH-MD1 Software
The STH-MD1/-C comes with interface software and several sample
applications, including the capture application described in this manual.
To install the software under MS Windows, execute the file
svscap21X.exe. The installation process will add the relevant
interface and application software.
To install the software under Linux, untar the file svscap21X.tgz in a
new directory, which will become the top-level directory of the software.
You should also set the environment variable SVSDIR to this directory,
and add bin/ to your LD_LIBRARY_PATH variable.
The directory structure for the software is:
bin/
smallvcap(.exe)
smallv(.exe)
smallvcal(.exe)
stcap(.exe)
stdisp(.exe)
svsgrab.dll/lib
1394
PC
Hardware
Low-level
1394
driver
STH-MD1
interface
software
1394
video
stream
To
user
program
Figure 7-1 Host PC low-level software structure.