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 #41 littlesat

  • PLi® Core member
  • 56,272 posts

+691
Excellent

Posted 17 February 2019 - 22:19

That is the part I still need to test...

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 #42 littlesat

  • PLi® Core member
  • 56,272 posts

+691
Excellent

Posted 17 February 2019 - 23:21

It breaks indeed totally the normal tuner stuff.... What a terrible spaghetti code... Sounds like I can start over again from scratch ;) Bit I had lessons learned...!


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 #43 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 18 February 2019 - 06:44

I suggest you to start with the first again:
https://github.com/O...3f174f4357f5579
Try it with your multituner, I think it works with your multituner(s) too! Moving on, you've added a lot of unnecessary commits imho. I think the first commit doesn't mix up the normal tuners also. Yes, you need to do a job with it, but not much. Try this first commit with normal tuner(s), then add checks (if needed) that it turns out. What the simpler is the code, the less the other tuners get hit.

Edited by zeros, 18 February 2019 - 06:46.

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 #44 WTE

  • Senior Member
  • 821 posts

+36
Good

Posted 18 February 2019 - 09:39

I suggest you to start with the first again:
https://github.com/O...3f174f4357f5579
Try it with your multituner, I think it works with your multituner(s) too! Moving on, you've added a lot of unnecessary commits imho. I think the first commit doesn't mix up the normal tuners also. Yes, you need to do a job with it, but not much. Try this first commit with normal tuner(s), then add checks (if needed) that it turns out. What the simpler is the code, the less the other tuners get hit.

 

I hope you have a good holiday and if possible when your back can you inform me about follow information

install v4l-utils (opkg install v4l-utlis)

 

What does follow command by telnet/putty gives for information:

dvb-fe-tool -a=1

dvb-fe-tool -a=2


Mut@nt HD51 STB 4K

   :rolleyes:                :rolleyes:


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

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 18 February 2019 - 09:50

Thanks, I'm definitely doing this after 26 February. Currently I am driving in a train (The car's on the train too on special car wagon).

Edited by zeros, 18 February 2019 - 09:51.

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 #46 littlesat

  • PLi® Core member
  • 56,272 posts

+691
Excellent

Posted 18 February 2019 - 10:38

In between I found some 'bugs'...


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 #47 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 18 February 2019 - 16:35

Well done, although I can't test it at the moment, but I looked at the github.

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 #48 littlesat

  • PLi® Core member
  • 56,272 posts

+691
Excellent

Posted 18 February 2019 - 18:05

Even I cannot test it ;)

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 #49 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 26 February 2019 - 20:02

WTE, here is the output:

root@dm920:~# dvb-fe-tool -a=1
WARNING Ignoring device /dev/dvb/adapter0/audio0
WARNING Ignoring device /dev/dvb/adapter0/audio1
WARNING Ignoring device /dev/dvb/adapter0/audio2
WARNING Ignoring device /dev/dvb/adapter0/video0
WARNING Ignoring device /dev/dvb/adapter0/video1
WARNING Ignoring device /dev/dvb/adapter0/video2
WARNING device dvb0.frontend0 not found
root@dm920:~# dvb-fe-tool -a=2
WARNING Ignoring device /dev/dvb/adapter0/audio0
WARNING Ignoring device /dev/dvb/adapter0/audio1
WARNING Ignoring device /dev/dvb/adapter0/audio2
WARNING Ignoring device /dev/dvb/adapter0/video0
WARNING Ignoring device /dev/dvb/adapter0/video1
WARNING Ignoring device /dev/dvb/adapter0/video2
WARNING device dvb0.frontend0 not found
root@dm920:~#

I can see that things are going on a lot.

Edited by zeros, 26 February 2019 - 20:06.

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 #50 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 26 February 2019 - 20:41

And here is the content of that folder:

root@dm920:/dev/dvb/adapter0# ls
audio0 ca13 ca6 demux12 demux5 dvr11 dvr4 frontend2 net14 net7
audio1 ca14 ca7 demux13 demux6 dvr12 dvr5 frontend3 net15 net8
audio2 ca15 ca8 demux14 demux7 dvr13 dvr6 net0 net16 net9
ca0 ca16 ca9 demux15 demux8 dvr14 dvr7 net1 net2 video0
ca1 ca2 demux0 demux16 demux9 dvr15 dvr8 net10 net3 video1
ca10 ca3 demux1 demux2 dvr0 dvr16 dvr9 net11 net4 video2
ca11 ca4 demux10 demux3 dvr1 dvr2 frontend0 net12 net5
ca12 ca5 demux11 demux4 dvr10 dvr3 frontend1 net13 net6

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 #51 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 5 March 2019 - 05:51

I tried that now works pretty well  :)

'Information About' screen should adjust a bit.

I add screenshots:

https://www.online.e...da-b7dd1df855a1


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 #52 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 5 March 2019 - 06:26

I'll be specified:

With PLi-FullNightHD Skin all OK.

And with PLi-HD Skin all text can't reach on the sceen. Just for info.

BTW Multituner well done  :)

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 #53 littlesat

  • PLi® Core member
  • 56,272 posts

+691
Excellent

Posted 5 March 2019 - 08:25

Sounds like the skin needs to be adjusted or we need to write it more compact (do you have some suggestions?). For the skin there is more place on the left... but I have no idea how to identify hotswitchable... but it can be offered.

And sure it works.... even with less code as we had before and two (me and adhoik) did it together. And indeed it was complicated!

Edited by littlesat, 5 March 2019 - 08:33.

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 #54 ims

  • PLi® Core member
  • 13,624 posts

+212
Excellent

Posted 5 March 2019 - 08:44

How do you want use left space, when it is config list ?! 

 

DVB-T&DVB-C  or DVB-T+DVB-C ... will be hotswitchable

DVB-T/DVB-C ... will be standard

 

 

Q1: "hotswitchable" ... I have on all boxes with DVB-T/C tuner "hotswitchable".  Formuler1, E4HD, usb T230C2 ...

Q2: why must be GUI restarted, when I want enable DVB-T tuners ?

Q3: Yellow - only display one item "use old API..." (i am not home and want not change language remotely)


Kdo nic nedělá, nic nezkazí!

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

  • PLi® Core member
  • 56,272 posts

+691
Excellent

Posted 5 March 2019 - 08:50

On the left there is a lot of black in this skin that is not in use but we can consider to use it...
Q2 ni ui restart needed...
Yesterday I changed the hotswitchable detection which might be wrong as it might overdetect... it can be we need to add a startswith avl check to it...
Also more compact is hotswitchable dvb-s+t+c+atsc

Edited by littlesat, 5 March 2019 - 08:56.

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 #56 ims

  • PLi® Core member
  • 13,624 posts

+212
Excellent

Posted 5 March 2019 - 08:56

There is a lot of place, because he has there 4:3 program... One way is use in old skins same font as is in PLi-HD1 and FullHD skins ...

 

 

Btw - when all tuners are hotswitchable, then is not needed write about it ...


Kdo nic nedělá, nic nezkazí!

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

  • PLi® Core member
  • 56,272 posts

+691
Excellent

Posted 5 March 2019 - 08:58

I’m afraid only the avl tuners are hotswitchable.... eg the vu DVB-t/c tuners are not hotswitchable. So maybe we need toncobsoder to add the avl check

Edited by littlesat, 5 March 2019 - 08:58.

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 #58 ims

  • PLi® Core member
  • 13,624 posts

+212
Excellent

Posted 5 March 2019 - 09:01

About Q2 - "Q2 ni ui restart needed..."  - if it is "not ui restart needed", then it is not true. Today's morning I reflashed 3 boxes ... enable DVB-T tuner ... still in tuner list is as "Disabled", still services grayed. Restart gui helps - on all 3 boxes.


Kdo nic nedělá, nic nezkazí!

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

  • PLi® Core member
  • 56,272 posts

+691
Excellent

Posted 5 March 2019 - 09:05

Maybe this tuner is not hotswitchable?
The grayed out is maybe some work on progress... the other mode as currently tuned might indeed be gray. But it is cosmetic. Doesn’t reload channellisf not work?

Edited by littlesat, 5 March 2019 - 09:13.

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 #60 ims

  • PLi® Core member
  • 13,624 posts

+212
Excellent

Posted 5 March 2019 - 09:16

As I wrote - I have all "hotswitchable" now.

It is not cosmetic, when I must restart GUI, because without it each zap on DVB-T service is error about tuning.


Kdo nic nedělá, nic nezkazí!


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users