Pick a Free OS

User login

Navigation

Linux and the TV

with the latest version of bttv under Linux. Our test machine was

a Celeron 300 overclocked to 450MHz, 64MB RAM, Redhat 6.1 running

Kernel 2.2.12-20 and Provideo PV951 card installed. The article

is applicable to all distributions of Linux.

Package Installation

You will need to be in superuser mode to do most of the setting

up. The first thing you need to do is grab some important

packages that you will use your TV tuner card. Unless you are

running a 2.4.x kernel, chances are that you need to download the

new i2c stack. Download the i2c package in root directory.

URL: http://www2.lm-sensors.nu/~lm78

File:http://www2.lm-sensors.nu/~lm78/archive/i2c-2.5.4.tar.gz

Install the package,

# cd /root

# tar xzpvf i2c-2.5.4.tar.gz

# cd i2c-2.5.4

# make ; make install

In case the install copied the header files into

/usr/local/include/linux, copy them into the linux kernel

directory. This is necessary as bttv looks for the i2c header

files for compilation.

# cp /usr/local/include/linux/*.h /usr/src/linux/include/linux

You need to make sure that your kernel supports video4linux.

Check for availability of videodev.o in the

/lib/modules/linux/misc directory. If it is not present, go into

kernel configuration

# cd /usr/src/linux

# make menuconfig

and compile support for video4linux as a module. It is located

under Character Devices->"Video For Linux"

# make modules

# make modules_install

to complete the installation of the module.

Next up is the installation of bttv. Download the latest version

from the following address and move it into /root

URL: http://www.strusel007.de/linux/bttv/

File: http://www.strusel007.de/linux/bttv/bttv-0.7.49.tar.gz

To install the package,

# cd /root

# tar xzpvf bttv-0.7.49.tar.gz

# cd bttv-0.7.49

Now, you may need to edit the makefile before you can

successfully compile. Open Makefile and update the kernel

variable to reflect your kernel directory, for example:

kernel=$(shell basename /usr/src/linux)

Go into the driver directory,

# cd driver

Open Makefile and change KERNEL_DIR to

KERNEL_DIR := /usr/src/linux

and also, CURRENT

CURRENT := 2.2.1-20