Precompiled binaries, built under a stock RH 7.3 system with 2.4.20 source, are in the install directory. Program usage:
1. load the cyberpro kernel module
'insmod -f cyber_read.o'
2. init the SAA7113 video decoder
'initdecod 2 1 0'
3. switch video inputs, run these from inside X, note you don't have
to have the tvia X module loaded
-capdemo 0 --> X & Mozilla
-capdemo 1 --> TV
-capdemo 2 --> video input 2
Summary:
Capdemo and initdecod are
sample programs from the TVIA CyberPro sdk, that have been modified to work under linux. Initdecod initializes the Philips SAA7113 on the STB; without it all you will see is a green screen. The capdemo
program uses the capture and overlay capbabilies of the Cyberpro to pipe one of the video inputs to the screen. The kernel module, cyber_read.o, maps the Cyberpro's memory/frambuffers so that it can be
accessed and modified by the other programs.
Building:
-- Prereqs: You will need a configured (needs to know its target proc type to setup the right kernel headers) drop of the linux kernel source.
1. /usr/src/linux must point to the top of the linux kernel source tree, preferably of the same version you are going to run
2. The kernel tree needs to have its "processor type" configured.
--> copy the file hos.config to /usr/src/linux/.config
--> do a "make menuconfig", don't change anything, just exit and save then run "make dep"
-->Compiling the code: do a "make install"