TerraTec Cinergy 1200 DVB-C - Linux

Hardware info on main page.

Testing this device under Linux. Things not tested CI (common interface), CAM (conditional access module), encrypted channels.
Info about the card on main page.

History log:
2012-02-16: testing the card. User rights - my user is a member of the video group:
tingo@kg-htpc:~$ id
uid=1000(tingo) gid=1000(tingo) groups=1000(tingo),4(adm),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),109(lpadmin),112(scanner),114(admin),120(vdr),123(mythtv)
Good. I use Kaffeine for testing.
Tuning in channels work. Unfortunately, I only get error messages and a blue "picture" when trying to view a channel in Kaffeine, enen the unencrypted ones, like "Get infokanal"..
2012-02-16: the machine is updated to Xubuntu 10.10:
tingo@kg-htpc:~$ lsb_release -a
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 10.10
Release:    10.10
Codename:    maverick
tingo@kg-htpc:~$ uname -a
Linux kg-htpc 2.6.35-32-generic #64-Ubuntu SMP Mon Jan 2 23:31:33 UTC 2012 i686 GNU/Linux
and dmesg info about the card:
[   23.360561] saa7146: register extension 'budget_av'.
[   23.360617] budget_av 0000:01:02.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[   23.360674] saa7146: found saa7146 @ mem f81e8e00 (revision 1, irq 18) (0x153b,0x1156).
[   23.360683] saa7146 (0): dma buffer size 192512
[   23.360687] DVB: registering new adapter (Terratec Cinergy 1200 DVB-C)
[   23.397975] adapter failed MAC signature check
[   23.397981] encoded MAC from EEPROM was ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff

[   23.924773] TDA10021: i2c-addr = 0x0c, id = 0x7c
[   23.924788] DVB: registering adapter 0 frontend 0 (Philips TDA10021 DVB-C)...
[   23.937655] budget-av: ci interface initialised.
and in /dev/dvb:
tingo@kg-htpc:~$ ls -l /dev/dvb
total 0
drwxr-xr-x 2 root root 140 2012-02-16 19:37 adapter0
tingo@kg-htpc:~$ ls -l /dev/dvb/*
total 0
crw-rw----+ 1 root video 212, 4 2012-02-16 19:37 ca0
crw-rw----+ 1 root video 212, 0 2012-02-16 19:37 demux0
crw-rw----+ 1 root video 212, 1 2012-02-16 19:37 dvr0
crw-rw----+ 1 root video 212, 3 2012-02-16 19:37 frontend0
crw-rw----+ 1 root video 212, 2 2012-02-16 19:37 net0
That's it.

2009-12-30: In Xubuntu 9.10, from dmesg:
[   19.516510] Linux video capture interface: v2.00
[   19.544126] saa7146: register extension 'budget_av'.
[   19.544216] budget_av 0000:01:02.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[   19.544250] IRQ 18/: IRQF_DISABLED is not guaranteed on shared IRQs
[   19.544287] saa7146: found saa7146 @ mem f800ee00 (revision 1, irq 18) (0x153b,0x1156).
[   19.544299] saa7146 (0): dma buffer size 192512
[   19.544303] DVB: registering new adapter (Terratec Cinergy 1200 DVB-C)
[   19.555590] ppdev: user-space parallel port driver
[   19.586004] ip_tables: (C) 2000-2006 Netfilter Core Team
[   19.611646] adapter failed MAC signature check
[   19.611654] encoded MAC from EEPROM was ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff
[   19.622180] smsc47m1: Found SMSC LPC47M10x/LPC47M112/LPC47M13x
[   19.622240] ACPI: I/O resource smsc47m1 [0xa00-0xa7f] conflicts with ACPI region PMER [0xa00-0xa7f]
[   19.622247] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   19.776539] Intel ICH 0000:00:1f.5: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[   19.776606] Intel ICH 0000:00:1f.5: setting latency timer to 64
[   19.881865] psmouse serio1: ID: 10 00 50
[   19.907136] KNC1-0: MAC addr = 00:0a:ac:11:15:50
[   20.107731] TDA10021: i2c-addr = 0x0c, id = 0x7c
[   20.107746] DVB: registering adapter 0 frontend 0 (Philips TDA10021 DVB-C)...
[   20.108068] budget-av: ci interface initialised.
[   20.131364] intel8x0_measure_ac97_clock: measured 67077 usecs (3230 samples)
[   20.131371] intel8x0: clocking to 48000

lspci output:
tingo@kg-htpc:~$ lspci -vvv -s 01:02.0
01:02.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
    Subsystem: TERRATEC Electronic GmbH Device 1156
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 64 (3750ns min, 9500ns max)
    Interrupt: pin A routed to IRQ 18
    Region 0: Memory at dfdffe00 (32-bit, non-prefetchable) [size=512]
    Kernel driver in use: budget_av
    Kernel modules: budget-av
That's it.

2007-12-16: after upgrade to Xubuntu 7.10, and installation of v4l-dvb-kernel (description here), I installed Kaffeine and tested again. After setting up the channels (scanning for them with at-Vienna as a starting point), I checked out which TV channels I could watch. In addition to the channel Get Infokanal, I could watch the following channels: NRK 1, NRK 2, Svensk TV2, TV.Budstikka, TVNORGE/TV Oslo, TVNORGE/TV Romerike. All other TV channels didn't work, I guess they are encrypted. I tested a few radio channels as well, all seemed to work.

2007-01-08: Ok, swapping the card to another PCI slot in the machine got the driver working. Cool! Next problem: I had no startfile for scan (dvbscan) to use. Easy, I just tried all files in /usr/share/doc/dvb-utils/examples/scan/dvb-c The file "at-Vienna" was the best match. "lu-Ettelbruck-ACE" also worked, but gave a lot more "tuning failed" messages. A scan /usr/share/doc/dvb-utils/examples/scan/dvb-c/at-Vienna > channels.conf gave me a working channels.conf.

Note: this file needs a different place for each program that want to use it. czap wants it in ~/.czap, xine (gxine) in ~/.xine and so on. Hint: symbolic links works

Finally, time to test with xine. First, I had no sound, but adding -v to the xine command line showed that i was missing an audio decoder for mpeg 2/3. I found extra codecs for xine in Synaptic, installed that, and got sound.

Notes: xine needs to run as root (or sudo gxine). Probably a permissions issue. Only two channels are viewable, the rest doesn't show up in xine at all. are these channels encrypted? How can one tell that a channel is encrypted?

2007-01-08: found out (with help from the linux-dvb mailing list) that the TV card and the sound chip shares an irq. Tried to disable sound in BIOS to see if that helps. But no - it didn't help. dmesg with sound disabled.

2007-01-07: Upgraded Linux DVB drivers (v4l-dvb), using the instructions at the DVB wiki: How to install DVB.
New dmesg. Still not working

2007-01-06: Initial testing started. I installed the i386 version of Xubuntu 6.10 (which has kernel 2.6.17-10) on a disk partition of the test machine (dmesg). The card was detected, but there were some errors. lspci says this about the card:
root@kg-htpc:~# lspci -s 01:01.0 -vvv
01:01.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
Subsystem: TERRATEC Electronic GmbH Unknown device 1156
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR-
FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR-
<PERR+
Latency: 32 (3750ns min, 9500ns max)
Interrupt: pin A routed to IRQ 209
Region 0: Memory at dfdffe00 (32-bit, non-prefetchable) [size=512]