Skip to contentSkip to conversation

TerraTec Cinergy S2 PCI HD

linux-dvb Philipp Hübner 4 participants 8 messages Jun 27, 2008 – Jul 7, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello all!

I'm new to this list as I just bought a TerraTec Cinergy S2 PCI HD and want to get it working on Debian Lenny/Sid.

I followed
"Installing on Debian etch with Multiproto diver (Recommended)" on
http://www.linuxtv.org/wiki/index.php/TerraTec_Cinergy_S2_PCI_HD_CI

I compiled and installed the kernel-modules as described there. After reboot, the device appears under /dev/dvb/adapter0/...

I did not download and compile scan2, since it is available on Debian via the dvb-utils package (available in all Debian versions).

Now the following happens:

der_schakal@kuehlschrank:~$ scan
/usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-19.2E > channels.conf

scanning /usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-19.2E using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0' initial transponder 12551500 V 22000000 5

Quoted 1 line
Quoted 1 line
Quoted 1 line

tune to: 12551:v:0:22000

__tune_to_transponder:1491: ERROR: FE_READ_STATUS failed: 22 Invalid argument

Quoted 1 line
Quoted 1 line
Quoted 1 line

tune to: 12551:v:0:22000

__tune_to_transponder:1491: ERROR: FE_READ_STATUS failed: 22 Invalid argument
ERROR: initial tuning failed
dumping lists (0 services)
Done.

channels.conf exists but it empty after this process.

I copied /usr/share/doc/dvb-utils/examples/channels.conf-dvbs-astra to ~/channels.conf and then called szap:

der_schakal@kuehlschrank:~$ szap -r -n 001
reading channels from file '/home/der_schakal/.szap/channels.conf'
zapping to 1 'Das Erste':
sat 0, frequency = 11837 MHz H, symbolrate 27500000, vpid = 0x0065, apid
= 0x0066
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
FE_READ_STATUS failed: Invalid argument
status 8048788 | signal fffe | snr fffe | ber fffffffe | unc fffffffe |
FE_READ_STATUS failed: Invalid argument
status 8048788 | signal fffe | snr fffe | ber fffffffe | unc fffffffe |
FE_READ_STATUS failed: Invalid argument

It goes on like this until I press CTRL+C.
As you can imagine by now, trying to watch DVB with mplayer or kaffeine fails.

Any ideas that could help me?

Thanks in advance,
Philipp

PS: I can offer my help for development/testing concerning this card, if wanted.
Some additional information:

der_schakal@kuehlschrank:~$ uname -a
Linux kuehlschrank 2.6.24-1-686 #1 SMP Thu May 8 02:16:39 UTC 2008 i686
GNU/Linux
der_schakal@kuehlschrank:~$ lsmod | grep mantis
mantis                 39876  0
lnbp21                  2208  1 mantis
mb86a16                18496  1 mantis
stb6100                 7492  1 mantis
tda10021                6116  1 mantis
tda10023                5924  1 mantis
stb0899                32800  1 mantis
stv0299                 9736  1 mantis
dvb_core               80060  2 mantis,stv0299
i2c_core               22432  10
nvidia,mantis,lnbp21,mb86a16,stb6100,tda10021,tda10023,stb0899,stv0299,i2c_i801
der_schakal@kuehlschrank:~$ lspci -vv
04:01.0 Multimedia controller: Twinhan Technology Co. Ltd Mantis DTV PCI
Bridge Controller [Ver 1.0] (rev 01)
        Subsystem: TERRATEC Electronic GmbH Device 1179
        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: 32 (2000ns min, 63750ns max)
        Interrupt: pin A routed to IRQ 19
        Region 0: Memory at d5100000 (32-bit, prefetchable) [size=4K]
        Kernel driver in use: Mantis
        Kernel modules: mantis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIZWPdFhl05MJZ4OgRAtjSAKDEcUpgsyDg2dw60l2WEGHOpvW51gCfYYmM VU2EMpT6GSZOZtzGUwaX0Is=
=alRm
-----END PGP SIGNATURE-----

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#1 lore raw

Hi,

Quoted 3 lines · Philipp Hübner

[...]
I did not download and compile scan2, since it is available on Debian via the dvb-utils package (available in all Debian versions).

The dvb-utils package, that is shipped with debian won't work with multiproto, because multiproto introduced a new DVB-API.

You have to compile szap (szap2) and scan for yourself, otherwise it won't work.

Quoted 1 line

[...]

Best regards, Artem

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey,

Quoted 5 lines · Artem Makhutov

The dvb-utils package, that is shipped with debian won't work with multiproto, because multiproto introduced a new DVB-API.

You have to compile szap (szap2) and scan for yourself, otherwise it won't work.

Thanks for that hint.
I uninstalled dvb-utils and compiled and installed the dvb-apps. Scan ran successfully and now I've got a very long channels.conf ;)

Unfortunately szap seems not to work successfully and I didn't manage to see any TV yet.

Here's the output:

der_schakal@kuehlschrank:~$ szap -r -n 001
reading channels from file '/home/der_schakal/.szap/channels.conf'
zapping to 1 'ASTRA SDT':
sat 0, frequency = 12551 MHz V, symbolrate 22000000, vpid = 0x1fff, apid
= 0x1fff sid = 0x000c
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
status 00 | signal 0009 | snr 0000 | ber 00000000 | unc fffffffe |
status 00 | signal 0009 | snr 0000 | ber 00000000 | unc fffffffe |
status 00 | signal 0009 | snr 0000 | ber 00000000 | unc fffffffe |
status 00 | signal 0009 | snr 0000 | ber 00000000 | unc fffffffe |
[...]

It goes on like this forever until I press CTRL+C.

The test with mplayer looks like this:

der_schakal@kuehlschrank:~$ mplayer /dev/dvb/adapter0/dvr0
MPlayer dev-SVN-r26940
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 4, Stepping: 3)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not open config files /home/der_schakal/.lircrc and
/etc/lirc//lircrc
[I guess the joystick- and lirc-stuff can be ignored]
mplayer: No such file or directory
Failed to read LIRC config file ~/.lircrc.

Playing /dev/dvb/adapter0/dvr0.

[I don't hear anything and I don't see anything since now mplayer window pops up.]

[CTRL+C]
MPlayer interrupted by signal 2 in module: demux_open

[CTRL+C]
MPlayer interrupted by signal 2 in module: demux_open

Any more ideas?

Best wishes,
Philipp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIZkhmFhl05MJZ4OgRAlzEAJ9TpUrENl9KPCykm8RxDS9NnlMevACfQE9x Fo6seaAAu2wUjKcWCRQcVpo=
=hw8d
-----END PGP SIGNATURE-----

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#3 lore raw
Quoted 7 lines
Quoted 5 lines · Artem Makhutov

The dvb-utils package, that is shipped with debian won't work with multiproto, because multiproto introduced a new DVB-API.

You have to compile szap (szap2) and scan for yourself, otherwise it won't work.

Quoted 6 lines

Thanks for that hint.
I uninstalled dvb-utils and compiled and installed the dvb-apps. Scan ran successfully and now I've got a very long channels.conf ;)

Unfortunately szap seems not to work successfully and I didn't manage to see any TV yet.

you should use szap2 from test directory of dvb-apps
http://linuxtv.org/hg/dvb-apps/file/77e3c7baa1e4/test/szap2.c

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#4 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hey,

Quoted 5 lines · Goga777 schrieb:
Quoted 2 lines

Unfortunately szap seems not to work successfully and I didn't manage to see any TV yet.

you should use szap2 from test directory of dvb-apps
http://linuxtv.org/hg/dvb-apps/file/77e3c7baa1e4/test/szap2.c

I compiled that one and tried it out, but it still doesn't work:

./szap2 -r -n 001
reading channels from file '/root/.szap/channels.conf' zapping to 1 'ASTRA SDT':
sat 0, frequency = 12551 MHz V, symbolrate 22000000, vpid = 0x1fff, apid = 0x1fff sid = 0x000c
Delivery system=DVB-S
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'

do_tune: API version=3, delivery system = 0
do_tune: Frequency = 1951000, Srate = 22000000
do_tune: Frequency = 1951000, Srate = 22000000

status 00 | signal 32e0 | snr b7f6 | ber 00000000 | unc fffffffe |
status 00 | signal 32e0 | snr b7f6 | ber 00000000 | unc fffffffe |
status 00 | signal 32e0 | snr b7f6 | ber 00000000 | unc fffffffe |
status 1e | signal 0154 | snr 007d | ber 00000000 | unc fffffffe |

FE_HAS_LOCK
status 1e | signal 0154 | snr 007b | ber 00000000 | unc fffffffe | FE_HAS_LOCK
status 1e | signal 0154 | snr 0079 | ber 00000000 | unc fffffffe | FE_HAS_LOCK
status 1e | signal 0154 | snr 007a | ber 00000000 | unc fffffffe | FE_HAS_LOCK
[..]

Same behaviour for root and a regular user.
I hate the idea of windows being my only choice.

Best regards,
Philipp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIaSBhFhl05MJZ4OgRAp34AKDGuxUFqW+AYJltPhUsAMhpn0IRNgCcC8bs yOke07MoeqhLn33kL6kPvyg=
=uhNh
-----END PGP SIGNATURE-----

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#5 lore raw
In reply to Goga777

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey all,

Quoted 2 lines · Goga777 schrieb:

you should use szap2 from test directory of dvb-apps
http://linuxtv.org/hg/dvb-apps/file/77e3c7baa1e4/test/szap2.c

scan works now, szap2 works now:

szap2 -rxn 001
reading channels from file '/home/der_schakal/.szap/channels.conf' zapping to 1 'ASTRA SDT':
sat 0, frequency = 12551 MHz V, symbolrate 22000000, vpid = 0x1fff, apid = 0x1fff sid = 0x000c
Delivery system=DVB-S
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'

do_tune: API version=3, delivery system = 0
do_tune: Frequency = 1951000, Srate = 22000000
do_tune: Frequency = 1951000, Srate = 22000000

status 00 | signal 22e0 | snr b7fa | ber 00000000 | unc fffffffe |
status 1e | signal 014f | snr 007b | ber 00000000 | unc fffffffe |

FE_HAS_LOCK

But mplayer /dev/dvb/adapter0/dvr0 doesn't work:
ls /dev/dvb/adapter0/
ca0 demux0 dvr0 frontend0 net0

mplayer /dev/dvb/adapter0/dvr0
MPlayer dev-SVN-r26940
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 4, Stepping: 3)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory Can't init input joystick
mplayer: could not open config files /home/der_schakal/.lircrc and /etc/lirc//lircrc
mplayer: No such file or directory
Failed to read LIRC config file ~/.lircrc.

Playing /dev/dvb/adapter0/dvr0.

[CTRL+C]
MPlayer interrupted by signal 2 in module: demux_open

[CTRL+C]
MPlayer interrupted by signal 2 in module: demux_open

How can I actually watch some channel?

Furthermore I'd like to use kaffeine, is this possible with this card? At the moment kaffeine fails to scan for channels because tuning fails. Is there some workaround?

Thanks in advance,
Philipp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIbh0eFhl05MJZ4OgRAqN6AJwLO4/rhMpctg6HO85M8lLzjPR5ugCfcAXu YGpOeG+PNXJFY+O7ckIJs6Q=
=Gkr1
-----END PGP SIGNATURE-----

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#6 lore raw
Quoted 8 lines · Philipp Hu"bner

scan works now, szap2 works now:

zapping to 1 'ASTRA SDT':
sat 0, frequency = 12551 MHz V, symbolrate 22000000, vpid = 0x1fff, apid
= 0x1fff sid = 0x000c

But mplayer /dev/dvb/adapter0/dvr0 doesn't work:

You should try tuning to a Real Channel[TM]

There is no audio or video on Astra SDT, as you see above -- V+APID == 0x1FFF

I'm sure that later in your .conf file, there are real channels with real video and audio PIDs just waiting to be tuned into

versuch's mal mit ZDF, u.A...

barry bouwsma

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#7 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 7 lines · barry bouwsma
Quoted 6 lines

zapping to 1 'ASTRA SDT':
sat 0, frequency = 12551 MHz V, symbolrate 22000000, vpid = 0x1fff, apid
= 0x1fff sid = 0x000c

But mplayer /dev/dvb/adapter0/dvr0 doesn't work:

Quoted 7 lines

You should try tuning to a Real Channel[TM]

There is no audio or video on Astra SDT, as you see above -- V+APID == 0x1FFF

I'm sure that later in your .conf file, there are real channels with real video and audio PIDs just waiting to be tuned into

You're right, I didn't notice.

Quoted 1 line

versuch's mal mit ZDF, u.A...

Klappt, danke ;)

Regards,
Philipp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIcgWfFhl05MJZ4OgRAk0gAJ4k5mOHnIFLVDCXpJXAZiDGHduzkwCeKSIJ dTGXDY8ES19CA9VnaZkD1/U=
=WY7d
-----END PGP SIGNATURE-----

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb