Blog Archive

Thursday, 2 September 2004

vdr compile

Ok here is the info translated and with the links / command bought up to date -





Get your Linux machine up and running. For this I did an install off a linux disk and included most items. It has X windows etc install but I do not use it (it does make sure you get most of the drivers you will need).



cd /usr/local/src - This is the folder where all the code / programs will go



We start by getting the DVB driver and unzipping it

wget http://pvrguide.no-ip.com/files/vdr/linux-...3-10-13.tar.bz2

tar xvfj linux-dvb.2003-10-13.tar.bz2

ln -s linux-dvb.2003-10-13 DVB

rm linux-dvb.2003-10-13.tar.bz2




There is a patched root file that you will need if you are decrypting channels

wget http://pvrguide.no-ip.com/files/vdr/Root-patched-20031013.gz

gunzip Root-patched-20031013.gz

cp DVB/driver/av7110/Root DVB/driver/av7110/OldRoot

mv Root-patched-20031013 DVB/driver/av7110/Root




Now you can make the patched DVB driver

cd DVB/driver

make




If all looks good -

./makedev.napi

make insmod




cd ..

make






------------------------------------------------------------

Now lets install the VDR program. I have based this on V 1.2.6 as that is the last stable version/



cd /usr/local/src



wget http://pvrguide.no-ip.com/files/vdr/vdr-1.2.6.tar.bz2

tar xvfj vdr-1.2.6.tar.bz2

rm vdr-1.2.6.tar.bz2

ln -s vdr-1.2.6 VDR




We add on the AutoPID patch to keep the channels up to date as most providers move them about now and then

cd /usr/local/src/VDR

wget http://vdrbox.free.fr/fichiers/AutoPID_vdr-1.2.6.diff.bz2

bunzip2 AutoPID_vdr-1.2.6.diff.bz2

patch -p1 <>



And the Elchi patches to make it look good

wget http://www.hut.fi/~rahrenbe/vdr/vdr-1.2.6-ElchiAIO4d.diff.gz

gunzip vdr-1.2.6-ElchiAIO4d.diff.gz

patch -p1 <>





------------------------------------------------------------

Now lets get the system set up and ready to run -



cd /usr/local/src/VDR

make

mkdir /video

mkdir /usr/local/src/VDRtmp




Edit the /usr/local/src/VDR/runvdr file.

change line in runvdr to :

VDRCMD="$VDRPRG -w 60 -c /usr/local/src/VDRtmp $*"

and add at the top

cd /usr/local/src/VDR



Lets get the config files in the right place

cp *.conf ../VDRtmp

and link to the runvdr command so we can get to it from anywhere

ln -s /usr/local/src/VDR/runvdr /usr/bin/runvdr



Now move off to the config directory

cd /usr/local/src/VDRtmp

edit sources.conf Comment out anything you do not need

edit diseqc.conf

you will now need to make the channels.conf file. Either convert one you already have or look in the plugins section and find the scan script.



----