←  [NL] Gebruikersondersteuning

Forums

»

Crash in tuner setup

rhinoceros's Photo rhinoceros 28 Feb 2022

Ik heb wel op een verkeerde knop van de AB gedrukt. Nu dan een crash in the Setup/Tuners&Scanning/Tuner Conficuration. Release -8.1 met actuele updates. Zie crash log. De box is ET10000 met 4 DVB-S en 1 virtuele tuner (Nova-T usb). De box en tuners werken verder prima. Alle 5 tuners zijn te zien in infobar en werken alle 5 perfect.

Attached Files

Quote

Dimitrij's Photo Dimitrij 1 Mar 2022

			current = self["nimlist"].getCurrent()
			nim = current and len(current) > 2 and hasattr(current, 'slot')
			if nim:

 

Quote

Dimitrij's Photo Dimitrij 1 Mar 2022

rhinoceros

please answer

cat /proc/bus/nim_sockets

 

Quote

rhinoceros's Photo rhinoceros 1 Mar 2022

NIM Socket 0:
        Type: DVB-S2
        Name: AVL6211
        Has_Outputs: yes
        Frontend_Device: 0
        I2C_Device: 2
NIM Socket 1:
        Type: DVB-S2
        Name: AVL6211
        Has_Outputs: yes
        Frontend_Device: 1
        I2C_Device: 3
NIM Socket 2:
        Type: DVB-S2
        Name: AVL6211
        Has_Outputs: yes
        Frontend_Device: 2
        I2C_Device: 4
NIM Socket 3:
        Type: DVB-S2
        Name: AVL6211
        Has_Outputs: yes
        Frontend_Device: 3
        I2C_Device: 4
NIM Socket 4:
        Type: DVB-T
        Name: Nova-T Stick
        Has_Outputs: no
        Frontend_Device: 4
        I2C_Device: -1

Quote

rhinoceros's Photo rhinoceros 1 Mar 2022

I have the impression that there is nothing wrong with the code here, but that the enigma2 application is very sensitive to RC interrupts while still busy processing a previous RC interrupt. I have seen such issues before. You can cause crashes just by rapidly pressing the buttons on the remote control. The crash cannot be reproduced by pressing the same keys slowly while waiting until the previous interrupt has been fully processed.

Quote

rhinoceros's Photo rhinoceros 1 Mar 2022

What seems strange to me is the sequence of I2C device numbers ?

Quote

Dimitrij's Photo Dimitrij 1 Mar 2022

What seems strange to me is the sequence of I2C device numbers ?

I don't think that's the problem.
 

Quote

Dimitrij's Photo Dimitrij 1 Mar 2022

Maybe test this code:
 

			current = self["nimlist"].getCurrent()
			nim = current and len(current) > 2 and hasattr(current[3], 'slot')
			if nim:

 

Quote

rhinoceros's Photo rhinoceros 1 Mar 2022

I do not know exactly which buttons I pressed to produce this crash. It was dark and I was using the RC by feeling. This patch will most likely avoid the crash, but the reason for the crash lies elsewhere.

Quote

mimisiku's Photo mimisiku 1 Mar 2022

Nim 2 and 3 both use I2C bus 4 seems incorrect….

Quote

WanWizard's Photo WanWizard 1 Mar 2022

Merged.

Quote

WanWizard's Photo WanWizard 1 Mar 2022

Nim 2 and 3 both use I2C bus 4 seems incorrect….

 

Dat was mij ook al opgevallen.

 

Ik heb mijn ET10000 even uit het vet gehaald, die heeft ook 4 DVB-S2 tuners, en

root@et10000:~# cat /proc/bus/nim_sockets
NIM Socket 0:
	Type: DVB-S2
	Name: AVL6211
	Has_Outputs: yes
	Frontend_Device: 0
	I2C_Device: 2
NIM Socket 1:
	Type: DVB-S2
	Name: AVL6211
	Has_Outputs: yes
	Frontend_Device: 1
	I2C_Device: 3
NIM Socket 2:
	Type: DVB-S2
	Name: AVL6211
	Has_Outputs: yes
	Frontend_Device: 2
	I2C_Device: 4
NIM Socket 3:
	Type: DVB-S2
	Name: AVL6211
	Has_Outputs: yes
	Frontend_Device: 3
	I2C_Device: 4

wellicht gerelateerd aan het design probleem dat er ook de oorzaak van is dat je geen DVB-C in slot 4 kunt steken?

Quote

Tech's Photo Tech 1 Mar 2022

Je kon, voor zover ik me kan herinneren, in het derde en vierde slot niet dezelfde type tuners plaatsen, de detectie niet goed en dat is op zich wel verklaarbaar :)

Quote

littlesat's Photo littlesat 2 Mar 2022

Klopt! Het 4e slot is een ‘pseudo’ slot…. Daar kan niet zomaar alles in.!er wordt hardware gedeeld met slot 3.! Dat moet een ander type zijn dan in slot 3.
Edited by littlesat, 2 March 2022 - 08:19.
Quote

stro11's Photo stro11 2 Mar 2022

Klopt! Het 4e slot is een ‘pseudo’ slot…. Daar kan niet zomaar alles in.!er wordt hardware gedeeld met slot 3.! Dat moet een ander type zijn dan in slot 3.

 

Dit probleem doet zich alleen voor als er 4 DVB-C tuners in de ET10000 worden gebruikt, nn mijn geval zijn tuner 1 en 2 DVB-S2 tuners en tuner 3 en 4 zijn DVB-C/T2 tuners (worden als DVB-C gebruikt) en dit werkt prima.

De informatie over het "DVB-C" probleem kun je lezen op de onderzijde van de verpakking van een DVB-C of DVB-C/T2 tuner, ik heb het doosje even opengevouwen en in gescand.

 

groet

srto11

Attached Files


Edited by stro11, 2 March 2022 - 22:47.
Quote

WanWizard's Photo WanWizard 2 Mar 2022

We dwalen af, hier gaat het topic niet over, dit is het gevolg van het feit dat beide sloten hetzelde I2C device nummer delen.

Quote

littlesat's Photo littlesat 3 Mar 2022

Het begint over een 5e tuner via usb waar het niet goed gaat…

Quote

rhinoceros's Photo rhinoceros 4 Mar 2022

Het begint over een 5e tuner via usb waar het niet goed gaat…

 

....   De box en tuners werken verder prima. Alle 5 tuners zijn te zien in infobar en werken alle 5 perfect.
Quote