Home MythTV Download Scripts Projects Screenshots Links Contact

MythTV System Installing MythTV MythTV Setup MythTV Frontends Install DVB-S Inetbox 300s Extra functions Myth with NAS

Installing DVB-S - in MythTV

Installing a DVB-S card - is a properly not the easiest part of it all, but afterwards you'll be really satisfied with the result both in the mainview - but surgently also when talking about the picture Quality. Since my experience with MythTV is build upon my knowledge for Hauppauge - I choosed Capturecard from Hauppage to be my maincard in my installation.

Hauppauge HVR-4000:

Hauppauge Homepage
My card - HVR-4000

The requirements for this kind of building own drivers:

$ pacman -Sy unzip make gcc patch hwd openssl mercurial subversion
Now we're sure we have all the packages we're needing to compile the drivers along with the multiproto support. This means we'll get these drivers and install'em. But first the firmware:
wget http://www.wintvcd.co.uk/drivers/88x_2_122_26109_WHQL.zip
unzip -jo 88x_2_122_26109_WHQL.zip Driver88/hcw88bda.sys
dd if=hcw88bda.sys of=/lib/firmware/dvb-fe-cx24116-1.22.82.0.fw skip=75504 bs=1 count=32501
ln -s /lib/firmware/dvb-fe-cx24116-1.22.82.0.fw /lib/firmware/dvb-fe-cx24116.fw
Now we have placed our firmware for the capturecards in /lib/firmware/dvb-fe-cx24116.fw. Now it's time to compile and install the drivers. Depending on how you want your setup - you'll need either the newest drivers with multiproto-support or just the latest v4l-dvb drivers.
Normal drivers:
cd /usr/local/src
hg clone http://linuxtv.org/hg/v4l-dvb
make && make install && reboot

Multiproto support ( multifrontends)
cd /usr/local/src
hg clone http://linuxtv.org/hg/~stoth/s2-mfe/
make && make install && reboot

Now your frontend can stream from the same card to several frontends - NICE :-) Well - that's it for the install of the hardware. The next part is to making MythTV see the DVB-S card and register its as an Capture card. Please Notice this only works on FREE-TO-AIR channels. NOT encrypted channels like CanalDigital and Viasat.

Tevii S470 DVB-S/DVB-S2:

Tevii Homepage
My Tevii S470S

Installing a Tevii S470 was quite easy - just straight ahead.
Start by giong to your own place to build packages as drivers etc:

cd /usr/local/src
wget http://www.tevii.com/100315_Beta_linux_tevii_ds3000.rar
cp *.fw /lib/firmware
tar xjvf linux-tevii-ds3000.tar.bz2
cd linux-tevii-ds3000
make && make install
reboot

This should actually be it - that's it - no more to be done. You should now see in your dmesg-log, that the card are recognized and loaded in your Linux.

Adding the Capture Card to MythTV

This part is a little bit tricky depending on how your satelite Dish is connected. In my case I got a DISEqC with to LNB's on and that took me a while to figure it out. But if you got a multicore CPU or hyperthread - you'll properly need to start MythTV-setup with the following command:

$ taskset -c 0 mythtv-setup

and now you're starting the mainConfiguration on your MasterBackend server. You'll need to set tasket if you should scan for channels, carse otherwise it can carse the MBE freezes.
The next part about Capturecard, is that if you're thinking about getting 5 or more card - you should think about compiling the v4l drivers a bit different if you're using Open-sasc-ng. The default MAX DVB-devices value is 8 - so no more than 4capturecards if you want

Now you should add a new Capturecard. and choose and DVB, where ID is which number your capturecard is. so If you have 2cards - you'll need to add 2cards = DVB:0 and DVB:1. Now go down to DISEqC setting - where unconnected is shown. Press Enter and choose what kind of hardware is connected. In my case - needed to configure a Switch(as DISCEqC) with 2 ports - and a LNB for each port for the first 3cards, and a DISEqC with 4ports for the last 2cards. After these things are configured - we're done in the capture card. To understand in the end how my setup is pulled together across LNB's, SateliteDish, DISEqC and switches.

LNB Setup

Channel lists

Adding a channel list is like the normal way - BUT you'll need to define a channel list for each LNB!!! Very important - otherwise MythTV thinks all channels are placed on the same input line.

Scanning for the channels is the tricky part, and here you'll need to do the following thing to make it work. The last couplr of releases of MythTV have changed this procedure a little bit each time - but here's how I'm doing the trick. Normally you'll have a tool build in your Distro's package archive - called dvb-utils, it has a little program called scan which you can use in this way:

Sirius:
scan /usr/share/dvb-utils/scan/dvb-s/Sirius-5.0E > .szap/Sirius.conf
Thor:
scan -s 1 /usr/share/dvb-utils/scan/dvb-s/Thor-1.0W >> .szap/thor.conf

Where this only goes for the first DVB-device. If you need to scan at your 3card - the command is like this:

Hotbird 13E:
scan -a 2 /usr/share/dvb-utils/scan/dvb-s/Hotbird-13.0E > .szap/Hotbird13.conf
Astra 19E:
scan -a 2 -s 2 /usr/share/dvb-utils/scan/dvb-s/Astra-19.0E >> .szap/Astra19.conf

Otherwise use the MAN-pages to see more options. There's plenty depending on which kind of tuner you're using to your MythTV System.

   
All written in these pages is made by Per Jørgensen.
Respect the original rigths on pages.
Creative Commons License
Denne værk er licensieret under en Creative Commons Navngivelse-Del på samme vilkår 2.5 Danmark Licens.