TerraTec Cinergy Piranha

From LinuxTVWiki
Revision as of 14:06, 27 June 2008 by Esa (talk | contribs) (fixed a typo)
Jump to navigation Jump to search

Support status

work-in-progress

Experimental driver is available at the repository (June 2008) [1].

Specifications

Manufacturer Terratec
Product Name Cinergy Piranha
Model Number

TER-TT301231

Package Type Retail
Warranty 1 year
Dimensions 50 x 20 x 10 mm (Antenna 115 mm)
Inputs Co axial w adapter
Tuner Type Terrestrial digital TV reception (DVB-T, Freeview, TNT)
System Requirements

Intel Pentium 4 / AMD Athlon XP / Centrino certified notebook or CPU 2 GHz or higher

512 MB RAM

1 available USB interface

Audio hardware with DirectX support

CD/DVD drive for software installation

Graphics board with DirectX drivers or video overlay support

Terrestrial digital TV reception (DVB-T, Freeview, TNT)

Microsoft Windows® XP with SP 2 / Vista

Package Contents

TerraTec Cinergy Piranha Piranha Antenna

Antenna adapter

Software: TerraTec Home Cinema, DVD authoring software with burning function

Registration Code for tvtv (1 year Premium Account)

Installation/software CD-ROM

Quick Setup Guide

Service card, Registration card

Features
  • Digital TV (DTT) with your notebook or PC
  • Crystal-clear digital radio (DAB)
  • Cell phone TV of the future (T-DMB), even at your computer
  • Removable mini telescopic antenna
  • Electronic program guide (EPG), teletext and timeshifting
  • Digital hard drive video recorder
  • Simple USB connection

Diary

J'ai fait l'acquisition d'un dongle USB TerraTec Cinergy Piranha après avoir trouvé son nom sur DVB-T_USB_Devices dans la section des matériels supportés. Mal m'en pris. Il n'est pas supporté out-of-the-box...

Linux bureau 2.6.18-5-amd64 #1 SMP Thu May 31 23:51:05 UTC 2007 x86_64 GNU/Linux

à l'insertion du dongle dans un port usb, dmesg ne rapporte que ceci :(

usb 2-3.3: new full speed USB device using ehci_hcd and address 9
usb 2-3.3: configuration #1 chosen from 1 choice

et lsusb ne rapporte pas grand chose d'utile non plus

Bus 001 Device 006: ID 187f:0010

et la compil des pilotes donne une erreur

jch@bureau:/home/v4l-dvb$ make
make -C /home/v4l-dvb/v4l
make[1]: entrant dans le répertoire « /home/v4l-dvb/v4l »
creating symbolic links...
Kernel build directory is /lib/modules/2.6.18-5-amd64/build
make -C /lib/modules/2.6.18-5-amd64/build SUBDIRS=/home/v4l-dvb/v4l  modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.18-5-amd64'
  CC [M]  /home/v4l-dvb/v4l/videodev.o
/home/v4l-dvb/v4l/videodev.c:491: error: unknown field 'dev_attrs' specified in initializer
/home/v4l-dvb/v4l/videodev.c:491: warning: initialization from incompatible pointer type
/home/v4l-dvb/v4l/videodev.c:492: error: unknown field 'dev_release' specified in initializer
/home/v4l-dvb/v4l/videodev.c:492: warning: missing braces around initializer
/home/v4l-dvb/v4l/videodev.c:492: warning: (near initialization for 'video_class.subsys')
/home/v4l-dvb/v4l/videodev.c:492: warning: initialization from incompatible pointer type
make[3]: *** [/home/v4l-dvb/v4l/videodev.o] Error 1
make[2]: *** [_module_/home/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.18-5-amd64'
make[1]: *** [default] Erreur 2
make[1]: quittant le répertoire « /home/v4l-dvb/v4l »
make: *** [all] Erreur 2

Hack pour le driver...

D'après http://www.gossamer-threads.com/lists/ivtv/devel/37175
"If you change both #if LINUX_VERSION_CODE lines from 13 to 19 you'll get it to compile (with a warning)..."

Une fois cela fait, le "make" tourne sans erreur de même que le "make install".

Reste à ce que le dongle apparaisse là ou il faut (/dev/dvb)... Ce qui n'est pas le cas spontanément :(

Installation of the experimental driver

The driver is currently under development, so the following information may not be totally accurate!
(Worked for Terratec Cinergy Piranha, USB id 187f:0100, as of 27th of June 2008)

See also How_to_install_DVB_device_drivers and Testing_your_DVB_device.

Firmware

First you need to get firmware either from the terratec, or from the CD that came with the product. Then move the firmware to /lib/firmware or /lib/firmware/`uname -r` as dvbt_stellar_usb.inp:

 wget ftp://ftp.terratec.de/Receiver/Cinergy_Piranha/Update/Cinergy_Piranha_Drv_Vista_XP_3.09.02.00.exe
 unzip -j Cinergy_Piranha_Drv_Vista_XP_3.09.02.00.exe \
          Cinergy\ Piranha/BDA\ Driver\ 3.09.02.00/Windos\ XP\ \(32Bit\)/SMS100x_Dvbt.inp
 mv -i SMS100x_Dvbt.inp /lib/firmware/`uname -r`/dvbt_stellar_usb.inp

Note that:

  • There is firmware also for DVB-H (SMS100x_Dvbh.inp) and DAB (SMS100x_DabTdmb.inp)
  • Firmawares under Windows XP and Vista directories are identical:
1c6e220399a8b1a5d9888952134436fd  SMS100x_DabTdmb.inp  (40096 bytes)
94a9f88c12c90700898cfeef4c86857f  SMS100x_Dvbh.inp     (40324 bytes)
4c156db5762f7fc40f567729d8bfea04  SMS100x_Dvbt.inp     (38144 bytes)


Compile the Driver

Source: http://linuxtv.org/hg/~mkrufky/siano

wget http://linuxtv.org/hg/~mkrufky/siano/archive/tip.tar.gz
tar -vxf tip.tar.gz
cd siano...
make
make install
modprobe sms1xxx default_mode=0

Note that:

  • make install overrides your old modules!
  • Default mode is DVB-H, so either
    • modprobe sms1xxx default_mode=0 or
    • change the default_mode variable in smscoreapi.c and recompile.
  • It may take quite some time for the driver to initialize itself, but finally the following message should appear in the dmesg output:
[125088.180784] usb 1-1: new full speed USB device using uhci_hcd and address 19
[125088.348098] usb 1-1: configuration #1 chosen from 1 choice
[125088.507042] usbcore: registered new interface driver smsusb
[125088.507469] DVB: registering new adapter (Siano Stellar reference board)
[125088.507966] DVB: registering frontend 0 (Siano Mobile Digital SMS1xxx)...

Also the following devices should appear:

/dev/dvb/adapter0
/dev/dvb/adapter0/frontend0
/dev/dvb/adapter0/dvr0
/dev/dvb/adapter0/demux0