TwinhanDTV Digital Terrestrial TV Card Ter

From LinuxTVWiki
Jump to navigation Jump to search

This is about the TwinhanDTV Ter Mini, a TwinHan Budget PCI card, capabable of recieving only-digital TV and radio (DVB-T). It's also capabable of HDTV standard 1080i, which I haven't tested as there is no HDTV transmission via DVB-T in UK (and whole Europe) yet. Otherwise, the card works well with Linux.

On the package it says: "TwinhanDTV Digital Terrestrial TV Card Ter" but then actually on the side it's ticked "Mini Ter (Low Profile)" (and not "Ter (Standard)"). There's also a sticker saying "Model 3020C".

Company page: [1]

It comes up as Bt878 in lspci:

 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)


Howto make it work

Driver

The Bt878 chip is supported by new kernel versions -- good news! :)

This is what I've done (Debian Sarge testing, kernel version 2.6.16.9). It follows the standard installation of the bttv driver for DVB as it is included in new kernels.

Use lsmod to see if you have all these modules already installed and running.

 bttv
 bt878 
 dvb_core
 dst 
 dvb_bt8xx

If you can't find all of them, try to load them one by one with modprobe, e.g.

 modprobe bt878

Now try lsmod again.

If you can find all of them, you don't have to re-compile your kernel but can use the drivers/modules right away (see below). Otherwise:

Kernel re-compile

In kernel configuration (make menuconfig) make sure to have:

  • Under Device Drivers - Multimedia Devices - Video for Linux
 <M> BT 848
 [*] DVB for bt878

which is equivalent to these entries in the kernel .config file:

 CONFIG_VIDEO_BT848=m
 CONFIG_VIDEO_BT848_DVB=y


  • Under Device Drivers - Multimedia Devices - Digital Video Broadcasting Devices
 <M> DVB for Linux
 <M> DVB Core Support

And there under DVB Core Support - Customise DVB Frontends

 <M> ... something like DVB_BT8XX

which is equivalent to these entries in the kernel .config file:

 CONFIG_DVB=y
 CONFIG_DVB_CORE=m
 CONFIG_DVB_BT8XX=y

And maybe (not sure if necessary) still there under ATSC

 <M> Video BTCX

which is equivalent to this entry in the kernel .config file:

 CONFIG_VIDEO_BTCX = m


  • Under Device Drivers - Sound - ALSA - PCI devices
 <M> BT878

which is equivalent to this entry in the kernel .config file:

 CONFIG_SND=y etc. for sound in general 
 CONFIG_SND_BT87X=m

(I may have missed a couple of options. Please add them.) Save the config file, compile your new kernel and restart.


Modules needed

Required modules and parameters:

 bttv
 bt878 
 dvb_core
 dst 
 dvb-bt8xx

Load them using modprobe.

You should now have some stuff in /dev/dvb/adapter0/

That's it. You don't need any firmware stuff. :)

Next steps

See Testing your DVB device