Project

General

Profile

Feature #2952

Master tuner feature for linuxdvb

Added by Patrick Vorlicek over 9 years ago. Updated about 9 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
DVB
Target version:
Start date:
2015-06-17
Due date:
% Done:

100%

Estimated time:

Description

Hey there,

I saw that there is a master tuner feature for SAT>IP. I'm using a Digital Devices Max S8 card and it has four tuners with two demods each behind a multiswitch. For the second demod per tuner to work I need the master tuner feature for linuxdvb, because the second demod must use the same polarity and low-high band setting as the first demod.

I know this is kind of a border case and I haven't looked at the source by myself yet, but maybe someone is already working on this or can give me a hint how to proper implement this.

Thank you,
Pat


Files

log.tar.bz2 (111 KB) log.tar.bz2 Patrick Vorlicek, 2015-10-06 11:07
tvheadend.tar.bz2 (466 KB) tvheadend.tar.bz2 Patrick Vorlicek, 2015-10-06 12:56

History

#1

Updated by Patrick Vorlicek over 9 years ago

The second sentence may be confusing. What I meant: I'm using a Digital Devices Max S8 card and it has four tuners with two demods each. The tuners are behind a multiswitch.

#2

Updated by Jaroslav Kysela over 9 years ago

  • Target version set to 4.2
#3

Updated by Jaroslav Kysela about 9 years ago

I'm working on this in my linudvb branch https://github.com/perexg/tvheadend/tree/linuxdvb . Could you give a try ? (Assume that it won't work - untested - I have only SAT>IP hw around for tests now).

#4

Updated by Jaroslav Kysela about 9 years ago

BTW: It may be more "faster" to catch me on IRC - #hts channel - nick perexg to resolve issues quickly.

#5

Updated by Jaroslav Kysela about 9 years ago

Continuing the IRC session: I added more debug lines to the source code. Please, pull from the linuxdvb branch again and provide traces: --trace mpegts,linuxdvb,diseqc (compile tvh with --enable-trace ./configure option).

#6

Updated by Patrick Vorlicek about 9 years ago

Log attached. As I'm at work right now I'm not able to tune more than one channel at the moment, but I've activated epg idle scanning - which still only uses tuners #0-2 and not #4-6 additionally.

If that's not enough I'll add another log when I come home. It would be also fine with me if you take a look at the webif or via ssh yourself.

#7

Updated by Jaroslav Kysela about 9 years ago

The branch was updated. Could you retry ? This test is perfect (idle scanning).

#8

Updated by Patrick Vorlicek about 9 years ago

Now it seems to be broken. TvHeadend doesn't start idle scanning at all.

#9

Updated by Jaroslav Kysela about 9 years ago

Please, change '-O2' in Makefile to '-Og' and recompile tvh and provide the crash again to check where it exactly ends..

#10

Updated by Patrick Vorlicek about 9 years ago

Now I get the following compile error:

src/descrambler/dvbcam.c: In function ‘dvbcam_service_stop’:
src/descrambler/dvbcam.c:249:10: error: ‘slot’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
if (ac2->slot slot && ac2->ca ca) {
^
cc1: all warnings being treated as errors
Makefile:549: recipe for target '/root/tvheadend-perexg/build.linux/src/descrambler/dvbcam.o' failed
make: *** [/root/tvheadend-perexg/build.linux/src/descrambler/dvbcam.o] Error 1

#11

Updated by Jaroslav Kysela about 9 years ago

Fetch linuxdvb branch again.

#12

Updated by Jaroslav Kysela about 9 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|ac47b98dd610c9b4a35f6321f2e2378758844e09.

Also available in: Atom PDF