Jump to content


Photo

PROBLEM TUNER OS MINI+


  • Please log in to reply
77 replies to this topic

Re: PROBLEM TUNER OS MINI+ #61 littlesat

  • PLi® Core member
  • 57,120 posts

+698
Excellent

Posted 28 October 2016 - 05:34

That it is working willnot say it is good developed... First the basics need to be good... And some times this needs mote time than hammering code....

Edited by littlesat, 28 October 2016 - 05:35.

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


Re: PROBLEM TUNER OS MINI+ #62 Huevos

  • PLi® Contributor
  • 4,644 posts

+161
Excellent

Posted 28 October 2016 - 18:28

So you don't like the code. What is wrong with it? Please be specific, not just vague statements about quality.

Re: PROBLEM TUNER OS MINI+ #63 littlesat

  • PLi® Core member
  • 57,120 posts

+698
Excellent

Posted 28 October 2016 - 19:59

The biggest problem here is that currently I have no time to solve it, we try to avoid changew now on nimmanager and satconfig as we're busy with a proper JESS implementation... It is not your code at all... I only think it mit be adapted afterwards.... As you can see due to vacation we also have a lot off other pending merge requests....

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


Re: PROBLEM TUNER OS MINI+ #64 Huevos

  • PLi® Contributor
  • 4,644 posts

+161
Excellent

Posted 28 October 2016 - 21:22

TBH, NimManager/Satconfig is 95% working. Main problem for multituner is it is not possible to know which delivery system nimmanager.nim_slots[n].config_mode corresponds to. i.e. one variable and three types of delivery system. Apart from that, as far as I see it everything else already works.



Re: PROBLEM TUNER OS MINI+ #65 littlesat

  • PLi® Core member
  • 57,120 posts

+698
Excellent

Posted 28 October 2016 - 23:26

Yep config_mode needs to be changed and that also causes trouble with backwards compatebility... This is a real pain and I do not have a real solition yet....

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


Re: PROBLEM TUNER OS MINI+ #66 Huevos

  • PLi® Contributor
  • 4,644 posts

+161
Excellent

Posted 29 October 2016 - 13:18

Yep config_mode needs to be changed and that also causes trouble with backwards compatebility... This is a real pain and I do not have a real solition yet....

Well Athoik had a solution above. Create a blacklist.

 

Only use config_mode if tuner isCompatible, else use the blacklist. This works fine if the satellite tuner is the configured tuner.

 

Otherwise like you say backwards compatibility is a pain, like in the new version of OpenATV.

 

I had to add the following to AutoBouquetsMaker to keep compatibility for both versions.

https://github.com/o...b6a3216b012c283



Re: PROBLEM TUNER OS MINI+ #67 littlesat

  • PLi® Core member
  • 57,120 posts

+698
Excellent

Posted 29 October 2016 - 13:26

Brrrrrrr.... Not the solution I would choose....  The way try/except is used here should already ring the alarm bells... ;)

 

Actually you need at least for each tuner type the tuner does a separate config_mode.... so when you have a multituner and dvb-s is active you need to create a new config_mode for dvb-s or dvb-t... and only then to keep it backwards compatible.... And then arrange that for a multi tuner you always get DVB-S which you can disable or configer via config mode and then have a choice for DVB-T or DVB-C or "nothing" as an additional (new) config_mode setting, which only appears with multituner and adds the required fields... (I still not 100% convinced....;))

 

This is a bit how I try to design the multituner NimManager/Satconfig... and the Scan options could adapt to that....

 

(I hope you understand what I mean...)

 

But at this moment we're busy with UNICABLE/JESS so we are avoiding big changes to NimManager.py and/or SatConfig.py...


Edited by littlesat, 29 October 2016 - 13:27.

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


Re: PROBLEM TUNER OS MINI+ #68 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 29 October 2016 - 14:05

I give up. It's like pulling teeth. My patch has nothing to do with the work that is required in NimManager. It is ready to use now and gets the ScanSetup working in a user friendly way. It has zero impact on conventional tuners. Whatever you do in NimManager you will still need my patch or similar in ScanSetup.

Also of course cable and terrestrial can't be both setup one one tuner. It is impossible because they use the same socket on the stb and operate in the same freqency band.

Yes, Littlesat can merge it already it it's a good patch. He can rebase its work afterwards.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: PROBLEM TUNER OS MINI+ #69 littlesat

  • PLi® Core member
  • 57,120 posts

+698
Excellent

Posted 29 October 2016 - 14:18

I just merged it... and afterwards I removed 2 by accident induced white spaces... ;)

 

He can rebase its work afterwards. -> I'll do.....


Edited by littlesat, 29 October 2016 - 14:18.

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


Re: PROBLEM TUNER OS MINI+ #70 Huevos

  • PLi® Contributor
  • 4,644 posts

+161
Excellent

Posted 29 October 2016 - 15:18

Brrrrrrr.... Not the solution I would choose....  The way try/except is used here should already ring the alarm bells... ;)

 

Actually you need at least for each tuner type the tuner does a separate config_mode....

Yeah, I know it is crap. I also know if  "config_mode" is missing it will raise an attributeError.

 

I guess I could have used "hasAttribute" instead.



Re: PROBLEM TUNER OS MINI+ #71 Huevos

  • PLi® Contributor
  • 4,644 posts

+161
Excellent

Posted 29 October 2016 - 16:04

But, according to pydoc:

 

hasattr(obj, prop) simply calls getattr(obj, prop) and catches exceptions. So, it is just as valid to wrap the attribute access with a try statement and catch AttributeError as it is to use hasattr() beforehand.

 

So is there a better way?


Edited by Huevos, 29 October 2016 - 16:05.


Re: PROBLEM TUNER OS MINI+ #72 littlesat

  • PLi® Core member
  • 57,120 posts

+698
Excellent

Posted 29 October 2016 - 16:48

Yeah, I know it is crap. I also know if  "config_mode" is missing it will raise an attributeError.

->

You should arrange that it is not missing at the first place....

 

But you're getting to the key what the real issue is that should be solved....


Edited by littlesat, 29 October 2016 - 16:49.

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


Re: PROBLEM TUNER OS MINI+ #73 Huevos

  • PLi® Contributor
  • 4,644 posts

+161
Excellent

Posted 29 October 2016 - 23:23

You should arrange that it is not missing at the first place....

 

But you're getting to the key what the real issue is that should be solved....

Littlesat, it is a plugin used by many different images. I'm not in control of their E2, so nothing I can do about "nim.config_mode" existing in some images and not others.


Edited by Huevos, 29 October 2016 - 23:24.


Re: PROBLEM TUNER OS MINI+ #74 sergiodi

  • Senior Member
  • 31 posts

0
Neutral

Posted 7 November 2016 - 18:19

Any news ?



Re: PROBLEM TUNER OS MINI+ #75 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 7 November 2016 - 18:23

Both changes from Huevos they are already included in Enigma2!

Unfortunately there are no new images for Edision, because a new firmware for vtuner break build (same firmware was used by opticombo).

I guess somebody will look on this, fix was provided, but manual fix (cleanup old bitbake) required.

Edited by athoik, 7 November 2016 - 18:23.

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: PROBLEM TUNER OS MINI+ #76 sergiodi

  • Senior Member
  • 31 posts

0
Neutral

Posted 9 November 2016 - 19:20

I sent FTP to box Huevos patch and got great success.
Now in "Manual Scan" it is possible to select by "DVB type" and by "Type of scan" to get everything you want.
Thank Huevos very much



Re: PROBLEM TUNER OS MINI+ #77 isteric2005

  • Senior Member
  • 220 posts

+3
Neutral

Posted 9 November 2016 - 21:28

And 'possible to have an expected date for the release of the new image with the built-in tuner solution.



Re: PROBLEM TUNER OS MINI+ #78 Abu Baniaz

  • PLi® Contributor
  • 2,496 posts

+64
Good

Posted 10 November 2016 - 03:44

manual fix (cleanup old bitbake) required.


Hello,
Do we know if this has been actioned?

Many thanks in advance


7 user(s) are reading this topic

0 members, 7 guests, 0 anonymous users