LMLTW44 Installation and User Manual next_inactive up previous

LMLTW44 Installation and User Manual

Linux Media Labs



General Description

The LMLTW44 board is a multi-channel PCI board based on the TW6805 chip. These are the general LMLTW44 board's features:

LMLTW44 video capture function is fully supported in all current shipping Linux kernel (version 2.6 and above). LML provides git, RPM and DEB repositories for LMLTW44 kernel drivers easy install. Work in underway on driver promotion to the mainstream kernel.

Notational Conventions

You input is designated with $, for the command shell input prompt, and with # for superuser mode input. Your input and system response are presented in bold face. Filenames and URLs are underlined. System commands (line uname -r) are using San Serif font.

System Requirements

Physical Installation

Open computer case. Install LMLTW44 card into available PCI slot. Attach octopus DB to 8 BNC cable. BNC inputs are numbered 1 to 8. Primary inputs (V4L2 composite input 1) are inputs 1 to 4. Secondary inputs (V4L2 composite input 2) are inputs 5 to 8.

To capture video from 4 cameras at full (25/30) frame rate, connect them to inputs 1 through 4.

Video4Linux Driver LMLTW44 overview

You may load the bttv driver after each reboot manually, or modify the/etc/modules to let this happen automatically.

You may need to restart X11 after inserting the driver to prevent V4L X11 module from using cached video card settings that preventint the use of LML patches provided features.

Manually Loading Driver Module

To manually load the driver:
$ sudo /sbin/modprobe tw68

Configuring the System to Load Driver Module Automatically

In order to load bttv.o module automatically you need to do the following:
Append the following line to file /etc/modules for LMLTW44:

run depmod to update system configuration:
# depmod -a
now, you should be able to autoload the driver when a program requests it.

Video monitoring Application (xawtv)

Xawtv software allows you to test LMLTW44 card operation at rather low level.



Under Ubuntu:
sudo apt-get install xawtv

Under Fedora:
sudo yum install xawtv

Configuration file

You should create configuration presets and defaults for xawtv, by the way of editing ~/.xawtv file. This file is not created automatically during the installation process. You will need to create it in the home directory of the user(s) that will be using the application.

This is an example of the ~/.xawtvfile (for EU, PAL):

# this is a comment



norm = PAL

input = Composite0

key = 1


norm = PAL

input = Composite1

key = 2  

For the US replace PAL with NTSC.

Running xawtv application

LMLTW44 has 4 independent video capture engines, that are represented as 4 separate devices:





in order to connect to a certain device use this command line xawtv invocation (this is 2nd input, counting from card top):

xawtv -c /dev/video1

this brings the video application windows, right clicking on it brings congifucation menu, left clicking allows to select video input (such as Camera1 or Camera2 for the configuration in section 6.3 above). In order to use different capture device you need to restart xawtv with differenct -c option (i.e. xawtv -c /dev/video0)

ZoneMinder Video Surveillance software

Zoneminder comes as a standard package in recent Ubuntu and Fedora distributions. When LMLTW44 is installed and driver configured you need to use /dev/video0(0) through /dev/video3(0) as Zoneminder 'local' type sources.

About this document ...

LMLTW44 Installation and User Manual

This document was generated using the LaTeX2HTML translator Version 2002-2-1 (1.71)

Copyright © 1993, 1994, 1995, 1996, Nikos Drakos, Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999, Ross Moore, Mathematics Department, Macquarie University, Sydney.

The command line arguments were:
latex2html -split 0 Docs/LMLTW44_manual/LMLTW44_manual.html.tex

The translation was initiated by Vassili Leonov on 2011-04-05

next_inactive up previous
Vassili Leonov 2011-04-05