Saturday, March 20, 2010

DViCO FusionHDTV DVB-T Dual USB Tuner Card on Linux

I'm immortalising some old notes here in case others have problems with this card. The driver is in the kernel now, so most of the below isn't required anymore, just plug and play (although you still need the firmware to get both tuners).

Drivers

I followed these instructions to get the driver source (you will need mercurial).

To update the source, cd to the directory and use:
hg pull -u http://linuxtv.org/hg/v4l-dvb

To get the USB working I also needed the dvb-usb-bluebird-01.fw firmware, which then needs to go in your kernel directory:
cp dvb-usb-bluebird-01.fw /lib/firmware/2.6.something/

Now you should have two adapters listed in /dev/dvb

Strangely enough when I upgraded to dapper, only the USB frontend would get loaded on boot. To get them both to load I had to go to the v4l-dvb directory and:

sudo make rmmod
sudo make insmod

DVB Utils

Follow the same instructions to get the DVB utils, then to pull changes:

hg pull -u http://linuxtv.org/hg/dvb-apps

Scan

To test the card, try scanning the channels (this is for adapter 0, s/0/1/ for adapter 1):

sudo scan -a 0 -v /usr/share/dvb/dvb-t/au-Adelaide | tee mychannels.conf

You can also try the other (+/- 166667 Hz) configs:

sudo scan -a 0 -v /usr/share/dvb/dvb-t/au-Adelaide.mod | tee mychannels.conf
sudo scan -a 0 -v /usr/share/dvb/dvb-t/au-Adelaide.mod2 | tee mychannels.conf

Tzap

Tune with tzap:

cp mychannels.conf ~/.tzap/channels.conf
tzap "ABC TV Canberra"

dvbstream

Once you have tuned with tzap, grab an mpeg with dvbstream and open in xine:

dvbstream 512 650 -o > test.mpeg

The numbers are the PIDs from the tuning line, near the end:

ABC TV:205791667:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_3_4:QAM_64:
TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:512:650:529

xine

You can also play a dvb stream directly in xine by right clicking and selecting playlist | DVB

No comments: