This is documentation for some old versions of ZapDvb (0.20 and earlier). If you are using a 2.4 kernel or are using SuSE 8.1 ... 9.0 you may still find it helpful. For a 2.6 kernel you will need newer DVB kernel drivers, see www.linuxtv.org. Even with an older system you should try to compile the new ZapDvb applications - it contains many new features! See current ZapDvb version.

This chapter focuses on the second of two installation steps. Here we discuss the compilation and the installation of the zapdvb TV programs.

Building the zapdvb Application from the Source RPM

If you trust binary RPMs and have a default SuSE8.2 installation you don't need to build the application by yourself - skip this section.

Start by downloading the zapdvb-0.1.tgz sources and unpack them. The zapdvb directory might already contain the script zapdvr_driver and the folder DVB if you built the drivers yourself. In this case zapdvr_driver and some files in DVB get overridden because they are contained in both archives. Now say make to start the build:

tar zapdvb-0.1.tgz   # unpack to zapdvb
cd zapdvb     # this is the build directory
make        # builds the application

Sitting in the build directory you find a script named zapdvb_driver which can be used to perform various installation tasks:

su       # must be superuser
./zapdvb_driver install   # to do all installation steps

# See the box below if you need more control over the installation. If your
# frontend (tuner) is not a stv0299, you must manually edit this script or
# /etc/modules.conf

The procedure to identify your frontend was described in the previous chapter.

Running all installation steps at once is equivalent to the execution of all following single steps:

su       # must be superuser

# this is the step-by-step installation procedure that you can use
# if you want to omit some parts of the automatic installation...

./zapdvb_driver makenodes # create device nodes (if no devfs)
./zapdvb_driver driver    # install driver files (if present)
./zapdvb_driver autoload  # configure modules.con for autoload
./zapdvb_driver zapdvb    # install application

It is recommended to load the driver automatically via /etc/modules.conf. If you omitted this, the script can be used to start or stop the drivers. In this case you may have to change the type of the frontend:

su       # must be superuser
./zapdvb_driver start   # load the DVB drivers

./zapdvb_driver stop    # unload the DVB drivers
Installing the zapdvb Application from a Binary RPM (SuSE8.2)

Download and install the file zapdvb-0-1.i686.rpm. The rpm contains scripts that configure your system for automatic driver loading. If your frontend (tuner) is not a stv0299, you must manually edit /etc/modules.conf. The procedure to identify your frontend is described here.

If KDE is installed at its default location /opt/kde3 two menu entries will be created under Multimedia. You can easily copy the menu items to your desktop using the mouse drag-and-drop.

As a last step the /usr/local/zapdvb.conf configuration file may need an update. The necessary steps are described in the "Using the zapdvb TV Application" chapter.