Project

General

Profile

Problem to get Services from my DVB-T Stick

Added by Manfred Kreisl over 12 years ago

Hi,

i'am using a TerraTec Electronic GmbH Cinergy Hybrid T XS USB stick, which works perfectly under Windows 7 MCE, Windows XP, openSUSE 11.4 (kaffeine) and Ubuntu 11.04 (xine).
Signal quality should be ok, kaffeine tells me nearly 70%

But with tvheadend (version 2.12) i cant get any services. I tried to add DVB Network by location (Germany/Bayern) and add muxes manually. Both won't work.

Unter Ubuntu, it makes no difference between self compiled git version and pre-compiled deb package.

The tvheadend Webinterface says:

Hardware
Device path:
/dev/dvb/adapter0
Device name:
Zarlink ZL10353 DVB-T
Host connection:
USB (480 Mbit/s)
Frequency range:
174000 kHz - 862000 kHz, in steps of 166 kHz
Status
Currently tuned to:
578,000 kHz
Services:
0

If i activate the "Monitor signal quality" box, i will see 100% Quality for all muxes before initial scan. After the initial scan, it will show about 70% quality. During the next scan, quality will go to 40% on all muxes. After a while, quality is 0% on all muxes.

If i start tvheadend in a console unter root, i will see following messages:
[INFO]:dvb: Found adapter /dev/dvb/adapter0 (Zarlink ZL10353 DVB-T) via USB (480 Mbit/s)
[INFO]:v4l: /dev/video0: em28xx Terratec Cinnergy Hybrid T USB usb-0000:00:13.2-4 capabilities: 0x05030051
[INFO]:v4l: /dev/video0: Standard #0: 000000000000b000 NTSC, frameperiod: 1001/30000, 525 lines
[INFO]:v4l: /dev/video0: Standard #1: 0000000000001000 NTSC-M, frameperiod: 1001/30000, 525 lines
[INFO]:v4l: /dev/video0: Standard #2: 0000000000002000 NTSC-M-JP, frameperiod: 1001/30000, 525 lines
[INFO]:v4l: /dev/video0: Standard #3: 0000000000008000 NTSC-M-KR, frameperiod: 1001/30000, 525 lines
[INFO]:v4l: /dev/video0: Standard #4: 0000000000004000 NTSC-443, frameperiod: 1001/30000, 525 lines
[INFO]:v4l: /dev/video0: Standard #5: 00000000000000ff PAL, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Standard #6: 0000000000000007 PAL-BG, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Standard #7: 0000000000000008 PAL-H, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Standard #8: 0000000000000010 PAL-I, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Standard #9: 00000000000000e0 PAL-DK, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Standard #10: 0000000000000100 PAL-M, frameperiod: 1001/30000, 525 lines
[INFO]:v4l: /dev/video0: Standard #11: 0000000000000200 PAL-N, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Standard #12: 0000000000000400 PAL-Nc, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Standard #13: 0000000000000800 PAL-60, frameperiod: 1001/30000, 525 lines
[INFO]:v4l: /dev/video0: Standard #14: 0000000000ff0000 SECAM, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Standard #15: 0000000000010000 SECAM-B, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Standard #16: 0000000000040000 SECAM-G, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Standard #17: 0000000000080000 SECAM-H, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Standard #18: 0000000000320000 SECAM-DK, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Standard #19: 0000000000400000 SECAM-L, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Standard #20: 0000000000800000 SECAM-Lc, frameperiod: 1/25, 625 lines
[INFO]:v4l: /dev/video0: Input #0: Television (Tuner), audio:0x0, tuner:0, standard:0000000000ffffff,
[INFO]:v4l: /dev/video0: Input #1: Composite1 (Camera), audio:0x0, tuner:0, standard:0000000000ffffff,
[INFO]:v4l: /dev/video0: Input #2: S-Video (Camera), audio:0x0, tuner:0, standard:0000000000ffffff,
[INFO]:v4l: /dev/video0: Format #0: 16 bpp YUY2, 4:2:2, packed [YUYV]
[INFO]:v4l: /dev/video0: Format #1: 16 bpp RGB 565, LE [RGBP]
[INFO]:v4l: /dev/video0: Format #2: 8 bpp Bayer BGBG..GRGR [BA81]
[INFO]:v4l: /dev/video0: Format #3: 8 bpp Bayer GRGR..BGBG [GRBG]
[INFO]:v4l: /dev/video0: Format #4: 8 bpp Bayer GBGB..RGRG [GBRG]
[INFO]:v4l: /dev/video0: Format #5: 12 bpp YUV411 [411P]
[WARNING]:v4l: /dev/video0: Device lacks MPEG encoder, device skipped
[INFO]:dvr: Creating new configuration ''
[WARNING]:dvr: Output directory for video recording is not yet configured for DVR configuration "". Defaulting to to "/root". This can be changed from the web user interface.
[INFO]:CSA: Using SSE2 128bit parallel descrambling
[NOTICE]:START: HTS Tvheadend version git-acf35ab started, running as PID:8165 UID:0 GID:0, settings located in '/root/.hts/tvheadend'
[INFO]:AVAHI: Service 'Tvheadend' successfully established.

It seems it makes no difference if an antenna (active) is connected or not, however, if i start tvheadend with the -d option, i get messages like this:

[DEBUG]:dvb: "642,000 kHz" on adapter "Zarlink ZL10353 DVB-T", status changed to No signal

if no antenna is connected, and
[DEBUG]:dvb: "/dev/dvb/adapter0" tuning to "658,000 kHz" (Initial autoscan)
and sometimes
[DEBUG]:dvb: "658,000 kHz" on adapter "Zarlink ZL10353 DVB-T", status changed to Bad signal

if antenna is connected and turned on.

Can anybody help me? Any hints?

Thx, Manfred


Replies (4)

RE: Problem to get Services from my DVB-T Stick - Added by Hein Rigolo over 12 years ago

first try to make sure you can use your device from the command line.
have a look at this page:
http://www.linuxtv.org/wiki/index.php/Testing_your_DVB_device

Hein

RE: Problem to get Services from my DVB-T Stick - Added by Manfred Kreisl over 12 years ago

Device works fine with other applications. I tested it under openSUSE 11.4 with kaffeine and on another machine under Ubuntu 11.04 with xine. scan found all services provided in my area, only tvheadend finds nothing.

Manfred

RE: Problem to get Services from my DVB-T Stick - Added by Phili Pla over 12 years ago

My Device (Pinnacle DVB-T [DiBcom 7000PC]) works fine under MythTV 0.25 [Ubuntu 11.10] with all available services.
But within TVHeadend only 4 out of 8 services are working. I am from AUSTRIA.

RE: Problem to get Services from my DVB-T Stick - Added by kasp bee almost 12 years ago

I also had the same problem with a Hauppauge WinTV HVR-900 (Zarlink ZL10353 DVB-T); with several tvheadend versions (including latest GIT), on Ubuntu 12.04/Linux 3.2.0-34-generic x86_64 as well as on Raspian/Linux 3.2.27+ armv6l; and other tools (w_scan, dvb-apps' scan) working flawlessly. So I played around with the code a little, and after a while, although I don't have a good explanation why, I found the following hack, solving the problem. Anybody has an idea why closing and re-opening helps here?
Cheers

diff --git a/src/dvb/dvb_fe.c b/src/dvb/dvb_fe.c
index 7120ab5..6cf242f 100644
--- a/src/dvb/dvb_fe.c
+++ b/src/dvb/dvb_fe.c
@ -494,6 +494,9 @ dvb_fe_tune(th_dvb_mux_instance_t *tdmi, const char *reason)
} else
#endif {
+ close(tda->tda_fe_fd);
+ tda->tda_fe_fd = open(tda->tda_fe_path,O_RDWR);
+
tvhlog(LOG_DEBUG, "dvb", "\"%s\" tuning to \"%s\" (%s)", tda->tda_rootpath,
r = ioctl(tda->tda_fe_fd, FE_SET_FRONTEND, p);
}

    (1-4/4)