Jump to content


Photo

Multituner: First commits - but they need a lot of improvements


  • Please log in to reply
318 replies to this topic

Re: Multituner: First commits - but they need a lot of improvements #101 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 8 March 2019 - 17:14

Tuners that support dvb-t and dvb-c (delsys) should be able to switch to t or c mode, as long as the manufacturer has kernel >= 3.3 and doesn't rely on type switch using proc.

Eg. VU+ although it has kernel with delsys it still uses proc to switch type on their tuners.

Anyway it would be nice to know what box is used and what tuner.

I have some USB tuners, need time to check..
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Multituner: First commits - but they need a lot of improvements #102 Abu Baniaz

  • PLi® Contributor
  • 2,439 posts

+62
Good

Posted 8 March 2019 - 17:46

Receiver: Duo 4K
USB tuner: Xbox One Digital TV Tuner
https://www.linuxtv.org/wiki/index.php/Xbox_One_Digital_TV_Tuner
It is a hybrid tuner. One connection. Only one mode at a time.

Really sorry for confusion and incorrect details. The tuner is working fine with the multi-tuner commits. I had to install drivers in particular order.
dvb-usb-mn8847x then
dvb-usb-dib0700

Less than £10 for a hybrid DVB-T2/DVB-C tuner.

This is thread is about the multi-tuner commits, so I will start another thread for the USB tuner. Once again, apologies for the incorrect details.

Re: Multituner: First commits - but they need a lot of improvements #103 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 10 March 2019 - 14:03

In my case I tested thoroughly different variants.

Triple: 2 x DVB-S2 / S2X, 1x C/T2

First connector (marked LNB1)

Second connector (marked LNB2)

Third connector (marked RF)

 

The current situation in my case:

I can configure one C/T2, C/T2 can be only on Third connector (marked RF). I tried to place signal also to First connector and Second connector (with a special adapter-connector), but it won't work, as was expected.

When I put the DVB-T2 signal into Third connector, I can configure like two separate tuners - under Tuner A or Tuner B.

The same thing for First connector (marked LNB1) - I can configure it under Setup Tuner A or Setup Tuner B. When I put my Sat cable into First connector (marked LNB1), I need to describe it under Tuner A.

 

OK, in my opinion I need this kind of configuration situations for my Triple tuner:

Setup Tuner A:

Tuner type: disabled or DVB-S2 or DVB-S2+DVB-T2 or DVB-S2+DVB-C or DVB-T2 or DVB-C

Setup Tuner B:

Tuner type: disabled or DVB-S2 or DVB-S2+DVB-T2 or DVB-S2+DVB-C or DVB-T2 or DVB-C

 

Is it possible to describe such a terrible thing, what do you mean?  :rolleyes:

At the moment I can describe nicely only one DVB-S2 and one DVB-C/T2 Or DVB-S2 and DVB-S2 or DVB-C/T2 and DVB-C/T2 (pointless)

And yes, I can't test DVB-C, because I don't have it.

And I made one more test with two DVB-S2. I configured Tuner A: as DVB-S2 and Tuner B: as DVB-S2 - then the two DVB-S2 works but no DVB-C/T2 then :(

Is my order a big job? (I'm afraid so)

It probably needs then also check for Si2169C and Si2169D? (Like a special Triple tuners)

Attached Files


DM920UHD DVB-S2X TRIPLE tuner + Triple M.S tuner DVB-S2X, DVB-T2/T, QboxHD, QboxHD Mini, Icecrypt T2300HD,
Qviart Lunix3 4K, Raspberry Pi 4 Model B 4GB & 8GB

Vertex 4K60 4:4:4 600MHz


Re: Multituner: First commits - but they need a lot of improvements #104 littlesat

  • PLi® Core member
  • 56,270 posts

+691
Excellent

Posted 10 March 2019 - 14:20

As far I know a Si tuner is hardswitchable

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Multituner: First commits - but they need a lot of improvements #105 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 10 March 2019 - 14:47

I'll give you more details just in case-
If I configure so:
Setup Tuner A: DVB-S2
Setup Tuner B: DVB-S2
(I cand do so at the moment with your last changes)

And the “real Sat signal” is connected to
First connector (marked LNB1)
(secont connector let stay empty, it means Tuner B not connected)
Then I have picture on TV.

Now I swapped “real Sat signal” is connected to
Second connector (marked LNB2)
and first remains empty.
Then I had no picture on TV. It means it try to get sigal from first input.

I made more test so, that configured then Tuner A disabled
And picture came to TV.

So I assume that this part works fine, only identification or detection is missing.
And you're probably right.

DM920UHD DVB-S2X TRIPLE tuner + Triple M.S tuner DVB-S2X, DVB-T2/T, QboxHD, QboxHD Mini, Icecrypt T2300HD,
Qviart Lunix3 4K, Raspberry Pi 4 Model B 4GB & 8GB

Vertex 4K60 4:4:4 600MHz


Re: Multituner: First commits - but they need a lot of improvements #106 Taykun345

  • Senior Member
  • 1,297 posts

+41
Good

Posted 10 March 2019 - 17:41

Receiver: Duo 4K
USB tuner: Xbox One Digital TV Tuner

https://www.linuxtv.org/wiki/index.php/Xbox_One_Digital_TV_Tuner
It is a hybrid tuner. One connection. Only one mode at a time.

Really sorry for confusion and incorrect details. The tuner is working fine with the multi-tuner commits. I had to install drivers in particular order.
dvb-usb-mn8847x then
dvb-usb-dib0700

Less than £10 for a hybrid DVB-T2/DVB-C tuner.

This is thread is about the multi-tuner commits, so I will start another thread for the USB tuner. Once again, apologies for the incorrect details.

 

 

Nice suggestion, didnt know that it exists. Also cheap as chips. Does it work stable? I dont need it now (i have sundtek in my drawer - dont use it anymore) but information might be useful for others. You need newer kernel?


Army MoodBlue HD skin modification by me: https://github.com/T...-MoodBlueHD-mod
Matrix10 MH-HD2 skin modification by me: https://github.com/B...-MX-HD2-OpenPli
MetrixHD skin modification by me: https://github.com/T...xHD-WPstyle-mod
Slovenian translation for OpenPLi E2: https://github.com/T...ion-for-OpenPLi

Re: Multituner: First commits - but they need a lot of improvements #107 WTE

  • Senior Member
  • 821 posts

+36
Good

Posted 10 March 2019 - 18:04

Receiver: Duo 4K
USB tuner: Xbox One Digital TV Tuner

https://www.linuxtv.org/wiki/index.php/Xbox_One_Digital_TV_Tuner
It is a hybrid tuner. One connection. Only one mode at a time.

Really sorry for confusion and incorrect details. The tuner is working fine with the multi-tuner commits. I had to install drivers in particular order.
dvb-usb-mn8847x then
dvb-usb-dib0700

Less than £10 for a hybrid DVB-T2/DVB-C tuner.

This is thread is about the multi-tuner commits, so I will start another thread for the USB tuner. Once again, apologies for the incorrect details.

 

 

This tuner is not support in Openpli and you need => Kernel 4.16

Backport drivers aren't available in vuplus BSP layer.

 

So it cannot work in Openpli image.


Mut@nt HD51 STB 4K

   :rolleyes:                :rolleyes:


Re: Multituner: First commits - but they need a lot of improvements #108 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 10 March 2019 - 19:06

For one Triple tuner such config options:

Tuner A: DVB-S2
Tuner B: DVB-S2

Tuner A: DVB-S2
Tuner B: DVB-T2

Tuner A: DVB-C
Tuner B: DVB-T2

Tuner A: DVB-S2+DVB-C
Tuner B: DVB-S2+DVB-T2

Tuner A: DVB-S2+DVB-T2
Tuner B: disabled

Tuner A: disabled
Tuner B: disabled

Tuner A: disabled
Tuner B: DVB-S2+DVB-T2

Tuner A: DVB-S2+DVB-T2
Tuner B: DVB-S2+DVB-T2

Tuner A: DVB-S2+DVB-T2
Tuner B: DVB-S2+DVB-C

Etc. For disabled staff

DM920UHD DVB-S2X TRIPLE tuner + Triple M.S tuner DVB-S2X, DVB-T2/T, QboxHD, QboxHD Mini, Icecrypt T2300HD,
Qviart Lunix3 4K, Raspberry Pi 4 Model B 4GB & 8GB

Vertex 4K60 4:4:4 600MHz


Re: Multituner: First commits - but they need a lot of improvements #109 littlesat

  • PLi® Core member
  • 56,270 posts

+691
Excellent

Posted 10 March 2019 - 20:30

+ is not there.... for hotswitchable tuners you can enable dub-t/c/s or atsc...

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Multituner: First commits - but they need a lot of improvements #110 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 10 March 2019 - 21:12

That configuration work OK at the moment:

Tuner A: DVB-S2
Tuner B: DVB-S2

Tuner A: DVB-S2
Tuner B: DVB-T2

Tuner A: DVB-C
Tuner B: DVB-T2

Tuner A: disabled
Tuner B: disabled

Tuner A: DVB-T2
Tuner B: DVB-T2

Tuner A: DVB-C
Tuner B: DVB-S2

Tuner A: DVB-S2
Tuner B: disabled

Tuner A: disabled
Tuner B: DVB-S2

Tuner A: DVB-C
Tuner B: DVB-C


When I configure
Tuner A: DVB-S2
Tuner B: DVB-S2

They work OK, but I can’t configure and therefor use Third Input DVB-T2/C.

I think it needs also opportunity Tuner A: DVB-S2+DVB-C or
Tuner A: DVB-S2+DVB-T2
And the same for Tuner B.

Then my Triple is more correct and NB! better described as on the original dmm image. Is it very difficult to add something like that for testing?

Edited by zeros, 10 March 2019 - 21:13.

DM920UHD DVB-S2X TRIPLE tuner + Triple M.S tuner DVB-S2X, DVB-T2/T, QboxHD, QboxHD Mini, Icecrypt T2300HD,
Qviart Lunix3 4K, Raspberry Pi 4 Model B 4GB & 8GB

Vertex 4K60 4:4:4 600MHz


Re: Multituner: First commits - but they need a lot of improvements #111 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 11 March 2019 - 05:57

I made this test today with my one Triple tuner, I never tried it before:
Tuner A: DVB-T2
Tuner B: DVB-T2
And the “real DVB-T signal” is connected to Third connector (marked RF).
Only one DVB-T cable is connected.

And I can make a whole two separate MUX on different frequencies to put recording. Frankly, I was surprised. What do you call it?

I'm pretty sure it can do at once also this:
Tuner A: DVB-T2
Tuner B: DVB-C

If one cable exists both.

Attached Files


DM920UHD DVB-S2X TRIPLE tuner + Triple M.S tuner DVB-S2X, DVB-T2/T, QboxHD, QboxHD Mini, Icecrypt T2300HD,
Qviart Lunix3 4K, Raspberry Pi 4 Model B 4GB & 8GB

Vertex 4K60 4:4:4 600MHz


Re: Multituner: First commits - but they need a lot of improvements #112 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 11 March 2019 - 11:04

And I may try that kind of changes, but I'm afraid it needs more then. Just the topic can also be left from my side.

Attached Files


DM920UHD DVB-S2X TRIPLE tuner + Triple M.S tuner DVB-S2X, DVB-T2/T, QboxHD, QboxHD Mini, Icecrypt T2300HD,
Qviart Lunix3 4K, Raspberry Pi 4 Model B 4GB & 8GB

Vertex 4K60 4:4:4 600MHz


Re: Multituner: First commits - but they need a lot of improvements #113 littlesat

  • PLi® Core member
  • 56,270 posts

+691
Excellent

Posted 11 March 2019 - 11:59

I'm afraid you missed something. As far I'm informed the DMM920 (which we do not support) is not an hotswitchable tuner... If it is a hotswitchable tuner you need to 'patch' NimManager.py so it is recognized as hotswitchable tuner... then everything should do what you wanted...


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Multituner: First commits - but they need a lot of improvements #114 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 11 March 2019 - 12:47

Thank you, I'll try.
This part is where I have to change, right?
You don't have to bother your head, I'll keep thinking.
Yes, the Triple it's a little special and I don't know exactly myself, how it is right, but currently some part from it remains unused.

Attached Files


DM920UHD DVB-S2X TRIPLE tuner + Triple M.S tuner DVB-S2X, DVB-T2/T, QboxHD, QboxHD Mini, Icecrypt T2300HD,
Qviart Lunix3 4K, Raspberry Pi 4 Model B 4GB & 8GB

Vertex 4K60 4:4:4 600MHz


Re: Multituner: First commits - but they need a lot of improvements #115 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 12 March 2019 - 18:53

I suggest this change:
 
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py
index 26319e8..8884ea3 100644
--- a/lib/python/Components/NimManager.py
+++ b/lib/python/Components/NimManager.py
@@ -517,7 +517,7 @@ class NIM(object):
                                types.remove("DVB-S")
                        if len(types) > 1:
                                self.multi_type = {}
-                               self.hotswitchable = self.description.upper().startswith("AVL")
+                               self.hotswitchable = not os.path.exists("/proc/stb/frontend/%d/mode" % self.frontend_id)
                                for type in types:
                                        self.multi_type[str(types.index(type))] = type

If the proc for changing mode doesn't exist, then tuner should be considered as hotswitchable.

Please note that even tuner with DVB-T/C should also obey to this rule. So if you have a DVB-T / DVB-C (cable) combiner (and frequencies do not overlap) it should work just fine!

Edited by athoik, 12 March 2019 - 18:53.

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Multituner: First commits - but they need a lot of improvements #116 littlesat

  • PLi® Core member
  • 56,270 posts

+691
Excellent

Posted 12 March 2019 - 19:23

I fully agree... please puah!

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Multituner: First commits - but they need a lot of improvements #117 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 12 March 2019 - 20:02

pushed: https://github.com/O...a6639ebf49a07ee
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Multituner: First commits - but they need a lot of improvements #118 littlesat

  • PLi® Core member
  • 56,270 posts

+691
Excellent

Posted 12 March 2019 - 20:05

Thanks!... I hope we now finally finished it ;) this was a relive large project... and thanks for helping! Especially for the cpp stuff...

Edited by littlesat, 12 March 2019 - 20:06.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Multituner: First commits - but they need a lot of improvements #119 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 12 March 2019 - 20:31

There might be some places where fine-tune might need, especially once branched on next RC and more people start testing it.

On Satconfig.py I think we should first check for howswitchable and then for multitype.

                                if x.isMultiType():
                                        text = "%s: (%s)\n%s" % (_("Switchable tuner types"), ','.join(x.getMultiTypeList().values()), text)
                                elif  x.isHotSwitchable():
                                        text = "%s: (%s)\n%s" % (_("Hotswitchable tuner"), ','.join(x.getMultiTypeList().values()), text)

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Multituner: First commits - but they need a lot of improvements #120 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 12 March 2019 - 20:40

I added it manually (your change) into the code (and well done  :)

First it seems me OK, but need more deep testing. But yes, OK, I think!

Attached Files


DM920UHD DVB-S2X TRIPLE tuner + Triple M.S tuner DVB-S2X, DVB-T2/T, QboxHD, QboxHD Mini, Icecrypt T2300HD,
Qviart Lunix3 4K, Raspberry Pi 4 Model B 4GB & 8GB

Vertex 4K60 4:4:4 600MHz



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users