Jump to content


Photo

nimmanager.somethingConnected() broken logic


  • Please log in to reply
74 replies to this topic

Re: nimmanager.somethingConnected() broken logic #61 Erik Slagter

  • PLi® Core member
  • 46,960 posts

+541
Excellent

Posted 7 July 2018 - 08:23

Littlesat, I am happy with your solution, I was only trying to better explain the problem to Erik. It is not only the sockets swapped because Nim 0 is tuner A and Nim 1 is tuner B. And this is the case on all hardware that uses 7356.

Yes I understand. Swapping the labels on the outside is not the same as messing something up internally in the hardware. Tuner A is really Tuner A.


* 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: nimmanager.somethingConnected() broken logic #62 Erik Slagter

  • PLi® Core member
  • 46,960 posts

+541
Excellent

Posted 7 July 2018 - 08:26

 

In that case these users should really use extern loopthrough, issue solved ;)

If only that were true; Solo2 has no LNB-out ports......

So????

 

Never heard of a DC blocking T-connector? It can loop through EVERYTHING.


* 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: nimmanager.somethingConnected() broken logic #63 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 7 July 2018 - 08:50

 

 

In that case these users should really use extern loopthrough, issue solved ;)

If only that were true; Solo2 has no LNB-out ports......

 

So????
 
Never heard of a DC blocking T-connector? It can loop through EVERYTHING.

 

Indeed, never heard of.
But now that I have: cant imagine how E2 knows that a looped-through input is being used, with limited use (depending on the actual use of the other tuner).



Re: nimmanager.somethingConnected() broken logic #64 arn354

  • Senior Member
  • 146 posts

+12
Neutral

Posted 7 July 2018 - 09:16

Here:

entry["internally_connectable"] = entry["frontend_device"] - 1

For the 7356 SoC it should be:

entry["internally_connectable"] = entry["frontend_device"] + 1

But that screws the logic behind the compressed tuner names.

 

 

not true. this is vu specific. gb7356 is different and like expected. B (nim1) is internal connectable to A (nim0) and not vice-versa.


Edited by arn354, 7 July 2018 - 09:17.


Re: nimmanager.somethingConnected() broken logic #65 WanWizard

  • PLi® Core member
  • 68,619 posts

+1,739
Excellent

Posted 7 July 2018 - 11:08

I couldn't imagine that this would be a SoC issue, and not a hardware design issue... You can blame Broadcom for a lot of things, but not for being that stupid.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: nimmanager.somethingConnected() broken logic #66 Abu Baniaz

  • PLi® Contributor
  • 2,440 posts

+62
Good

Posted 7 July 2018 - 12:49

This thread was started after a Gigablue user posted that the scanning options were missing. Tuner A was set to what was attached to it. Tuner B was disabled. "loop through" was not desired/set/involved. Pity he did not post the debug log when asked.



Re: nimmanager.somethingConnected() broken logic #67 Huevos

  • PLi® Contributor
  • 4,247 posts

+158
Excellent

Posted 7 July 2018 - 13:24

I couldn't imagine that this would be a SoC issue, and not a hardware design issue... You can blame Broadcom for a lot of things, but not for being that stupid.

So you think it is more likely that at least 3 manufacturers (Gigablue, Technomate, Vu+) made the same error with this SoC?



Re: nimmanager.somethingConnected() broken logic #68 ims

  • PLi® Core member
  • 13,625 posts

+212
Excellent

Posted 7 July 2018 - 13:30

why not ? One steals from the other...


Kdo nic nedělá, nic nezkazí!

Re: nimmanager.somethingConnected() broken logic #69 Huevos

  • PLi® Contributor
  • 4,247 posts

+158
Excellent

Posted 7 July 2018 - 13:33

 

Here:

entry["internally_connectable"] = entry["frontend_device"] - 1

For the 7356 SoC it should be:

entry["internally_connectable"] = entry["frontend_device"] + 1

But that screws the logic behind the compressed tuner names.

 

 

not true. this is vu specific. gb7356 is different and like expected. B (nim1) is internal connectable to A (nim0) and not vice-versa.

 

The somethingConnected() bug showed on a Gigablue. That was the box the bug was first reported on.

 

Are you saying "/proc/stb/frontend/0/rf_switch" does not exist on the Gigablue?



Re: nimmanager.somethingConnected() broken logic #70 littlesat

  • PLi® Core member
  • 56,274 posts

+691
Excellent

Posted 7 July 2018 - 13:37

Yes the first did make the mistake and the others did follow the same mistake.. when they printers a on b and b on a and in the drivers they swap NIM 0 with 1 this whole discussion was not needed... vu was the first and because of silly work a rounds in Some images the other manufacturers might consider to follow the same stupid mistake....

Edited by littlesat, 7 July 2018 - 13:38.

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


Re: nimmanager.somethingConnected() broken logic #71 Huevos

  • PLi® Contributor
  • 4,247 posts

+158
Excellent

Posted 7 July 2018 - 13:56

 

 

 

In that case these users should really use extern loopthrough, issue solved ;)

If only that were true; Solo2 has no LNB-out ports......

 

So????
 
Never heard of a DC blocking T-connector? It can loop through EVERYTHING.

 

Indeed, never heard of.
But now that I have: cant imagine how E2 knows that a looped-through input is being used, with limited use (depending on the actual use of the other tuner).

 

Proper way to do an external loopthrough is a "prioritory switch".



Re: nimmanager.somethingConnected() broken logic #72 Abu Baniaz

  • PLi® Contributor
  • 2,440 posts

+62
Good

Posted 7 July 2018 - 14:19

Am I correct in assuming that "connected" is used in two contexts. If so, maybe they should be split up?

 

Context 1: Internally connected.

Context 2: Signal wire attached and/or tuner configured.



Re: nimmanager.somethingConnected() broken logic #73 Huevos

  • PLi® Contributor
  • 4,247 posts

+158
Excellent

Posted 7 July 2018 - 14:34

The logic in nimmanager is screwed. Look here:

			if "frontend_device" in entry: # check if internally connectable
				if os.path.exists("/proc/stb/frontend/%d/rf_switch" % entry["frontend_device"]) and (not id or entries[id]["name"] == entries[id - 1]["name"]):
					entry["internally_connectable"] = entry["frontend_device"] - 1
				else:
entry["internally_connectable"] = None

Now look at the output from that proc:

root@gbquadplus2:/proc/stb/frontend/0# cat rf_switch
external


Re: nimmanager.somethingConnected() broken logic #74 Huevos

  • PLi® Contributor
  • 4,247 posts

+158
Excellent

Posted 7 July 2018 - 14:36


Double post

Edited by Huevos, 7 July 2018 - 14:37.


Re: nimmanager.somethingConnected() broken logic #75 Huevos

  • PLi® Contributor
  • 4,247 posts

+158
Excellent

Posted 7 July 2018 - 14:39

 

So the proc tells us the tuner is externally connectable. But nimmanager takes the presence of the file to mean the tuner is internally connectable.

 




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users