Dvb-dtv Sound Cards & Media Devices Driver



I Have installed two DVB-C cards in TV-Server V. 1.0.0.0 RC1 Twinhan/Azurewave AD-CP300 and AD-CP400 (have also tried with two identical cards CP300) When i scan for channels no channels are found on the second card although the signal indicator goes up to 98%, the first card finds all available channels. There is however sound if you choose channel Seven, exit live TV mode and then re-enter live TV. Fix: It appears there can be weird problems like this when using PS format to watch TV. It can be fixed by: 1. Exit mythfrontend and mythbackend 2. Enter mythtv-setup 3. Go to card options 4. Select your DVB card 5. Go to 'Advanced Settings 6. 1) At order confirmation step choose Credit Card payment method. 2) Enter your Card Details and click Submit. 3) Your Payment will be processed and a receipt will be sent to your email inbox. Paying with Boleto Bancario, WebMoney or your country local payment method. 1) At order confirmation step choose Credit Card and local payment method.

Outdated: The information on this page may no longer be relevant to the current release of MythTV, 31.0. Please consider helping to update it.

The following instruction might be specific for . Please update if it is outdated.

Warning: See User Manual:Setting up DVB-C (cable) for up to date information on DVB-C channel scanning

My system is a Mythtv pc installed with Fedora Core 6 following this howto [1]. I use the Technotrend Premium DVB-C 2300 Hybrid dvb-c card[2] bought from Dvb shop in Germany [3]. The video4linux Wiki have a list of supported dvb hardware [4].This Wiki is a howto for Norwegian dvb-c broadcasting (cable), but some part are general for DVB broadcasting with satelite or terrestial. I use my dvb-c card only for viewing the unencrypted tv channels. Grimstad cabeltv use Chinacrypt as the encryption method and I have not found any place yet where I can buy a Chinacrypt CAM module for viewing encrypted tv-channels (for this to work I must also have a paycard for the channels I want to see). I have used Mythtv with analog tuner card (PVR-350) some time now, but after I moved to dvb-c card the quality from the tv broadcast is much better.

Media


  • 2Scanning for channels [7]
  • 3Adding channels to database

DVB-C Installation [5]

The Linux 2.6 kernel had already support for Technotrend Premium DVB-C 2300 so the card was autodetected after first time boot. The firmware for the card was not in place so you must download the correct dvb-ttpci-01.fw-2622 (or newer) firmware file from this place [6]. Place this file in the hotplug directory. On Fedora 6 this was /lib/firmware and then rename the downloaded file to dvb-ttpci-01.fw. Change the permission on the file.

After a reboot you should get some file in /dev/dvb/adapter0/. Check also that the permission are correct.

Scanning for channels [7]

Using Fedora, assume root privileges then install the dvb utilities with

The program dvbscan will need some idea of where to start searching; for this reasons it takes a file for your location as a starting point. Therefore, you need to find channel information for your locality. Again, the location where they are installed may vary. For Fedora Core 6 the directory for DVB-S users (Satelite) should use the location files under /usr/share/dvb-apps/dvb-s/. DVB-C location files (Cabel Broadcast) are placed under the directory /usr/share/dvb-apps/dvb-c and Terrestial broadcast under the directory /usr/share/dvb-apps/dvb-t. In each case, the name of the file you're looking for is of the form cc-Ttttt, where cc is a two-letter country abbreviation, and Ttttt is the name of the location of the transmitter. So in Oslo, Norway, you'd look for a file called no-Oslo; the following example relates to the company CanalDigital in Norway.

I use Grimstad cabeltv. I did not find any channel information file I could use. But I find one for Norway no-Oslo-CanalDigital which I first take a copy of and then edited it. I got the correct Frequency setting, Symbol Rate and QAM Mode from the menu the cable box Grimstad cabeltv delivered me.

After I have edited the channel information file I did a scan. This should produce output saying 'WARNING: >>> tuning failed!!!' if a signal was not found on that particular frequency. Eventually, a list of services found should be displayed (Radio, TV, EPG). Here is a sample list where you see the radio and TV channels found.Remark: The scandvb program output TV and radio channels as scrambled (encrypted) without being encrypted sometimes.

Remember to stop the mythbackend daemon when you do this

Saving to channels.conf

Next try to create a 'channels.conf'. I make a hidden directory called .czap because I shall use czap to tune in the channels. Czap is only for cable broadcasting, then you have tzap for terrestial and then szap for satelite.

Next display the contents of the channels.conf file to make sure the file creation proceeded correctly

Verifing channel tuning

Then you can try to tune in one of the channels using the Programidentification (PID) from the channels.conf file.

which in turn displays lines similar to (terminate with Ctrl-C)

Adding channels to database

Importing channels.conf

MythTV 0.20 can import the channels.conf made above into the database. (NB! The importing of channels.conf file was broken after Mythtv 0.20 rev. 11682. This has been fixed 20.04.2007 [8])You must stop the mythbackend service before you start up mythtv-setup

In the Mythtv-setup menu choose:

2. Capture Card

Then you must choose which Card Type you have. I choose the 'DVB DTV capture card (v 3.x)' profile. The rest of the DVB configuration was automatically done when I used this profile. After the Capture Card configuration has been done enter the Finish button.

In the Mythtv-setup menu choose:

3. Video Sources

Here you must enter the Video source name. I called the Video source 'Kabeltv'.Then you must choose which country you live in. If you have choosen the correct channel frequency table in Mythtv-setup Menu --> General then you can choose Default here. If not you must specify Europa-West. When you enter the Finish button a new terminal window will start up in the background. You can use the Alt-F2 or Alt-F3 button on the keyboard then you can get the terminalwindow in the front. Mythtv-setup will make a configuration file named Kabeltv.xmltv under the hidden directory /home/mythtv/.mythtv after mythtv-setup exits. Say No to the question about configuring Xmltv. We are going to do this after mythtv-setup are finished. This is a different and a more manually approach of importing xmltv id into the Mythtv database but it works for me.

After the Video Sources configuration has been done go back to Mythtv-setup and choose:

4. Input Connections

Here you must choose the DVB input connection. In the next window you must choose the video source 'Kabeltv'.In the same place you can choose to Scan for DVB channels using the channels.conf file we have made above. After the import have been done you should have all the radio and tv channels on your cable imported into the Mythtv database. You must edit this data to be useful for Mythtv. You can use Mythtv-setup Channel Editor which are the next step in mythtv-setup or Mythweb to do this. I used Mythweb.

When you have finished the mythtv-setup remember to start up the mythbackend daemon:

Editing channels in Mythweb

Dvb-dtv Sound Cards & Media Devices Drivers

Not all data will be imported from the channels.conf so you must edit with mythweb the channels after this has been done. This can be done in Mythweb from this page http://localhost/mythweb/settings/channels You must put in the correct multipex frequency into every channel imported. A easy way to find the multiplex frequency the channel use:

After you have this number copy it and paste it into to Frequency id table in Mythweb (freqid). For saving this into the Mythweb database choose Save in the bottom of the webpage.In the same place in Mythweb you can delete channels, paste the channel's xmltv id (xmltvid), reorder the channels...

Importing EPG data with XMLTV

Here in Norway we use the xmltv grabber tv_grab_no_gfeed. Before mythfilldatabase can import in the electronic program guide data (EPG) we must first insert the correct xmltvid for every tv channel into the Mythtv database. This can be done with MythTV channel info webpage (http://localhost/mythweb/settings/channels). We must first let tv_grab_no make a xml file for us to use. The first time tv_grab_no start up you must make a config file which are stored under the hidden directory /home/mythtv/.xmltv/tv_grab_no_gfeed.conf. The perl script tv_grab_no will ask you about which tv channels who want to have the epg data for.

After you have finished the configuration then you must run tv_grab_no_gfeed and get EPG data for one day. This .xml file will give you the xmltvid you are going to insert into the mythconverg database

Then you must copy the channel id name for the channel you want EPG data for and past it into the xmltvid table for this channel in MythWeb's channel editor page. You can also do this from Mythtv-setup channel editor.

After you have done this you must copy the tv_grab_no_gfeed.conf from the hidden .xmltv directory to the hidden .mythtv directory in your home directory. Then you must rename the tv_grab_no_gfeed.conf to the name you have choosen for the Video Sources in the Mythtv-setup. For me the name I have choosen in this setup was 'Kabeltv'.

Dvb-dtv Sound Cards & Media Devices Driver

After you configure tv_grab_no_gfeed and setup all the xmltv id's, you will then need to run mythfilldatbase as mythtv.

Importing EPG with tv_grab_dvb for users without XMLTV grabbers

One of the DVB-C channels was for EPG data. Mark Bryars have developed a program which dump the dvb epg info into a xmltv format[10]. Download the source from his website. Unpack the tv_grab_dvb.tar.gz file.

You don't have to compile the source (i never did). Tune first into a mulitplex:

then you start opp the tv_grab_dvb program in a another terminal and dump the epg data into the .xml file:

Then you can import the the epg data into Mythtv. Before you do this the xmltv id must be edited into every channel (more to come here)

Reference

Retrieved from 'http://www.mythtv.org/wiki?title=Adding_Digital_Cable_Channels_For_DVB-C_Tuner_Cards_--_Norway&oldid=52051'




Comments are closed.