Terratec Cinergy T USB XXS in My Ubuntu Installation

Last updated $Date: 2008-11-04 16:07:58 $

Martti Kupar inen <martti.kuparinen@iki .fi>

http://www.iki.fi/kuparine/comp/ubuntu/en/terratecxxs.html

Abstract

This is how I installed and configured Terratec Cinergy T USB XXS DVB-T receiver on my multimedia PC.


Terratec Cinergy T USB XXS in My Ubuntu Installation

Please note that the drivers integrated into the official Linux kernels do not have support for the Cinergy T USB XXS at this time. However, there is support for this device in the linuxtv.org v4l-dvb drivers (added on 2008-03-29). This means you must build the drivers yourself to make this device work in Linux.

Hardware

lsusb
Bus 004 Device 002: ID 0ccd:0078 TerraTec Electronic GmbH 

Output from the lsusb -v command is here.

Preparations

Activate the universe repository in /etc/apt/sources.list and then install the latest updates before starting. Make sure you reboot if you are instructed to do so.


sudo aptitude update && sudo aptitude dist-upgrade

Installing the required software


sudo aptitude install mercurial build-essential linux-source linux-headers-generic

Fetching and updating the sources

In this example I used SRCDIR=${HOME} but you can select whatever directory you prefer. Leaving SRCDIR undefined is same as using ${HOME}.

# Location of the sources
export SRCDIR=${HOME}

# Either check out a new copy
cd ${SRCDIR}
hg clone http://linuxtv.org/hg/v4l-dvb
cd v4l-dvb

# or update the existing copy
cd ${SRCDIR}
cd v4l-dvb
hg pull -u http://linuxtv.org/hg/v4l-dvb

Fetching the firmware


cd /lib/firmware
sudo wget http://www.wi-bw.tfh-wildau.de/~pboettch/home/files/dvb-usb-dib0700-1.20.fw

Building and installing the driver


cd ${SRCDIR}/v4l-dvb
sudo make clean
make
sudo make install

After reboot you should see the dvb directory and some device nodes in it. Make sure you are member of the video group or you will not be able to use the device driver.

ls -l /dev/dvb/adapter0
total 0
crw-rw---- 1 root video 212, 4 2008-04-14 22:22 demux0
crw-rw---- 1 root video 212, 5 2008-04-14 22:22 dvr0
crw-rw---- 1 root video 212, 3 2008-04-14 22:22 frontend0
crw-rw---- 1 root video 212, 7 2008-04-14 22:22 net0

References