TERRATEC Cinergy T USB 2.0 on Linux

If you live in Italy and you know the italian language, I suggest you to see also the
http://www.terratec.it/prodotti/schede_tv/cinergy_t2_linux.shtml

I have used the information of this site to try my cinergy device and to write these simple notes.

Using TERRATEC Cinergy T USB 2.0 on the Linux Operating System is very easy.
My experience is that Linux driver works better than Windows driver.
I have test it on a system with slackware 10.0 and kernel 2.6.12.4

You must have a kernel 2.6.10 and above so the driver is directly included in the vanilla distribution.

SUGGESTION
New kernels usually are installed with udev, that is a way to create dinamically the entries of the /dev directory.
This obviously works fine, but if you are not very expert usign udev I suggest to disable udev, test your cinergy card and once you realize that your card works fine you can enable udev and try to using it.


The first operation you have to do is recompiling your kernel and enable the support of your cinergy USB card.
Enter in section

Device Drivers --->  Multimedia Devices ---> Digital  Video Broadcasting Devices

Then enable

DVB Core Support
Terratec CinergyT2/qanu USB2 DVB-T receiver

Save your configuration and then issue the commands

> make
> make modules_install

and use

> lilo

to be able to reboot your new kernel.



To disable udev you have to disable the execution flag of the script rc.udev with the command

> chmod -x /etc/rc.d/rc.udev


Then you habe to reboot your system.
If all is OK the new kernel is loaded corrctly and you have to login in the system.

Now you have not the udev, so you have to create some directoris and node with the following shell commands.

> mkdir /dev/dvb
> mkdir /dev/dvb/adapter0
> mknod /dev/dvb/adapter0/demux0 c 212 4
> mknod /dev/dvb/adapter0/dvr0 c 212 5
> mknod /dev/dvb/adapter0/frontend0 c 212 3
> mknod /dev/dvb/adapter0/net0 c 212 7

To see the DVB on your PC you have also to write a simple text file with the channells/frequencies visible in your zone.

There are some site that tell you information about what you can see in your zone.
I live in Italy. I have used the information retrieved on http://www.dgtvi.it/copertura.aspx and I write my configuration file /root/freq.

T 706000000 8MHz 2/3 1/2 QAM64 8k 1/32 NONE
T 602000000 8MHz 2/3 1/2 QAM64 8k 1/32 NONE
T 656000000 8MHz 2/3 1/2 QAM64 8k 1/32 NONE
T 818000000 8MHz 2/3 1/2 QAM64 8k 1/32 NONE

To write your file you have to know your number (in my case 706, 602, 656, 818 - see bold characters - ) and then copy for each number a line like those I have show with no change.

When you have written your text file you have to download the linuxtv-dvb-apps packages.

Compile the package and the enter in the util directory.
You should find the scan program, which get in input your freq file and write an other configuration file that is used by the programs to see the video streaming. To generate the configuration file you have to digit the command

./scan < /root/freq > /root/channels.conf

Now you have to check if you have already installed xine player.
If you have already installed and used xine you have the /root/.xine directory. Then move the /root/channels.conf in the /root/.xine directory with the command
Otherwise you have to install the xine package. Remember that
Now you are ready to see DVB on your Linux system.
Start X and run xine.
Click on the DVB and if all is ok you should be able to see the DVB channels.
You can indicate directly form the command line the channel with xine dvb://"CHANNEL", where CHANNEL is the first field of the lines of the /root/.xine/channels.conf.

Happy DVB watching on Linux !