Feature #2952
Master tuner feature for linuxdvb
100%
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
History
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.
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).
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.
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).
Updated by Patrick Vorlicek about 9 years ago
- File log.tar.bz2 log.tar.bz2 added
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.
Updated by Jaroslav Kysela about 9 years ago
The branch was updated. Could you retry ? This test is perfect (idle scanning).
Updated by Patrick Vorlicek about 9 years ago
- File tvheadend.tar.bz2 tvheadend.tar.bz2 added
Now it seems to be broken. TvHeadend doesn't start idle scanning at all.
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..
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
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.