DViCO FusionHDTV DVB-T Dual Digital 4 Installation

From MythTV Official Wiki
Revision as of 06:34, 21 November 2009 by Moloth (talk | contribs) (Installing MythTV)

Jump to: navigation, search

Ubuntu 9.10 Installation

This documentation is my working notes for installing the DViCO FusionHDTV DVB-T Dual Digital 4 onto an Ubuntu 9.10 (Karmic Koala) Distribution.

Hardware

I bought the following Setup on 20/11/2009 from http://www.gamedude.com.au. I dislike them because you have to wait so long in line to purchase and after sales service sucks but they do have a good selection of cases: An alternate source is http://www.umart.com.au but not as many cases.

  • TV Card - DVico FusionHDTV DualDigital 4 Low profile - $149
  • Micro ATX Motherboard - Foxconn 45csx Intel Atom 330 DualCore CPU Video Sound - $119
  • Case - 65x265x300mm - AYWUN MD-100 Black Mirror Front Mini ITX Case External Power - $89
  • Memory - TeamElite 2gig DDR2 800Mhz PC2 6400 CL5 - $59
  • HardDrive - Samsung 1TB Sata-2 32meg Cache - $105
  • DVD Burner - SONY SLIM Internal DVD-RW Drive BLACK 8x DVD+/-RW SATA - $79
  • MOLEX TO SATA POWER + DATA CABLE 15CM - $12
  • TOTAL - $612

The case only has 1 sata power connector and comes with very short sata cables not long enough to reach the hard drive. Which is why I bough the Molex->Sata Power+Sata Data adapter.

Kernel / Packages

Warning.png Warning: After installing Ubuntu Karmic and logging into the gnome desktop the system suddenly froze. I suspect this is because of the intel graphics driver. After a bit of googling I found this solution:

After you log in hit: Ctrl-Alt-F1 to take you to a terminal before it freezes. Then log in to the terminal and type:

#killall compiz compiz.real

Hit Ctrl-Alt-F7 to take you back to the altered gnome desktop. Open up a terminal and type

$metacity --replace

The problem is intel driver not behaving nicely with compiz.

After you have a stable setup check the messages to make sure your card was detected:

#dmesg | grep -i dvb
dvb-usb: found a 'DViCO FusionHDTV DVB-T Dual Digital 4 (rev 2)' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (DViCO FusionHDTV DVB-T Dual Digital 4 (rev 2))
DVB: registering adapter 0 frontend 0 (DiBcom 7000PC)...
input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1e.0/0000:01:02.2/usb2/2-1/input/input5
dvb-usb: schedule remote query interval to 100 msecs.
dvb-usb: DViCO FusionHDTV DVB-T Dual Digital 4 (rev 2) successfully initialized and connected.
dvb-usb: found a 'DViCO FusionHDTV DVB-T Dual Digital 4 (rev 2)' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (DViCO FusionHDTV DVB-T Dual Digital 4 (rev 2))
DVB: registering adapter 1 frontend 0 (DiBcom 7000PC)...
input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1e.0/0000:01:02.2/usb2/2-2/input/input6
dvb-usb: schedule remote query interval to 100 msecs.
dvb-usb: DViCO FusionHDTV DVB-T Dual Digital 4 (rev 2) successfully initialized and connected.

You should also see the directorys /dev/dvb/adapter0 /dev/dvb/adapter1

Installing MythTV

  1. Go to: System > Administration > Synaptic - Mark all upgrades and Apply. This will take a while on your new system.
  2. Search "mythtv", then mark mythtv & mythplugins for installation. Yes to all and Apply.
  3. Give your mysql database a root password when asked.

Set up Myth TV

This is my quick and dirty setup. Leave the defaults for everything else (ie Next.. Next.. etc Finish).

  • Run mythtv-setup (My screen stayed blank - so hit the up arrow after it starts to prompt it to refresh)
  • Go into General > On the third page:
TV Format=PAL-BG
Chanel Frequency Table=Australia
XML Time Offset=Auto
  • Go into Capture Card > New Capture Card
Card Type=DVB DVT Capture Card (3.x)
DVB Device Number=/dev/dvb/adapter0/frontend0

New Capture Card (for your second receiver)

Card Type=DVB DVT Capture Card (3.x)
DVB Device Number=/dev/dvb/adapter1/frontend0
  • Go into Video Sources > New Video Source
Video Source Name=vs1
XMLTV Listings Grabber=No Grabber (we will use our own later!)
Channel Frequency Table=Default
  • Go Into Input connections > [DVB:/dev/dvb/adapter0/frontend0](DVBInput)->(None)
Video Source=vs1
Press Scan For Channels

You should see all your channels being found. When it is finished -> Next -> Finish. Now do the second input > [DVB:/dev/dvb/adapter1/frontend0](DVBInput)->(None)

Video Source=vs1
(You wont have to scan for chanels the second time -> Next -> Finish

Getting Your Australian Channel Listings

Most of the guides have recommended shepherd however whilst providing good information this thing is a slug and will take ages to complete.

My personal preference is to head over to http://www.oztivo.net/twiki/bin/view/Guidedata/WebHome and Sign Up. After that is done click on the TV Guide web interface and choose your channel listings that you wish to download. For me that was:

7TWO        [7-2]
ABC-Qld     [2-1]
ABC2        [2-2]
GO          [9-2]
Nine-Qld    [9-1]
One-Qld     [10-2]
SBS-Qld     [3-1]
SBSTWO-Qld  [3-2]
Seven-Bris  [7-1]
Ten-Qld     [10-1]

The number in brackets are my shorthand for the Channel which we will use in the tv_grab_oztivo configuration.

The old method was to get your channels that you listed in xml format. However oztivo was having too much bandwidth issuesand decided to make their xml data static instead of dynamically generated. Unfortunatly this makes getting the data a little more complicated than before. Luckily for us Auric had made a script to get the data. Now we will get the support modules for this program:

 $wget http://web.aanet.com.au/~auric/files2/tv_grab_oztivo
 $sudo apt-get install libxmltv-perl libconfig-general-perl libxml-simple-perl libemail-mime-perl
 $chmod 766 tv_grab_oztivo
 $./tv_grab_oztivo --configure

No go through the configuration skipping the first question and changing your path to the downloaded oztivo files:

Do you have a tv_grab_au or tv_grab_au_reg xmltv config file?
If so enter FULL path to where it is ?
oztivo username? Your_Username
oztivo password? Your_Password
Enter FULL path of directory to store downloaded oztivo files in? [/home/mythtv/.xmltv/sharedir] /home/bob/.xmltv

When you get to the xmltvid section place in my shorthand for the chaneld you want to download. eg 7TWO becomes 7-2:

*snip*
xmltvid for 7CEN,Seven Central? 
xmltvid for 7TWO,7TWO? 7-2
xmltvid for A-PAC,Australia's Public Affairs Channel?
*snip*

Finally it should spit out the following:

Added the following channels
7TWO        7-2                              7TWO                       Missing
ABC-Qld     2-1                              ABC Qld                    Missing
ABC2        2-2                              ABC2                       Missing
GO          9-2                              GO!                        Missing
Nine-Qld    9-1                              Nine Qld                   Missing
One-Qld     10-2                             One QLD                    Missing
SBS-Qld     3-1                              SBS Qld                    Missing
SBSTWO-Qld  3-2                              SBS TWO QLD                Missing
Seven-Bris  7-1                              Seven Qld                  Missing
Ten-Qld     10-1                             Ten Brisbane               Missing
OK or start again? [OK|again] OK

Finally test out the script

$./tv_grab_oztivo