Jump to content


Photo

Problem with Release 7.2 and Vu+ USB cabletuner.


  • Please log in to reply
51 replies to this topic

Re: Problem with Release 7.2 and Vu+ USB cabletuner. #41 yortiz1979

  • Member
  • 18 posts

0
Neutral

Posted 31 December 2019 - 19:02

ok i will do this next year!!!  ;) for now!!! happy new year to all of you guys, and thank you very much for your support so far!!!



Re: Problem with Release 7.2 and Vu+ USB cabletuner. #42 yortiz1979

  • Member
  • 18 posts

0
Neutral

Posted 3 January 2020 - 02:01

hi guys,

 

as requested i have made the log for both openpli and openvix, please see attached files..

 

i hope this help to find the solutions.

 

i tested with the latest releses 31/12/19 and still has the same issue!!

 

 

Attached Files



Re: Problem with Release 7.2 and Vu+ USB cabletuner. #43 Dimitrij

  • PLi® Core member
  • 10,331 posts

+350
Excellent

Posted 3 January 2020 - 06:46

openpli.txt

last switch playing 1:0:19:7537:426:1:C00000:0:0:0:(DVB-S?)    ---->  playing 1:0:19:278F:65:F020:FFFF0000:0:0:0:(DVB-C)

 

1:0:19:7537:426:1:C00000:0:0:0: ???


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Problem with Release 7.2 and Vu+ USB cabletuner. #44 Dimitrij

  • PLi® Core member
  • 10,331 posts

+350
Excellent

Posted 3 January 2020 - 06:56

openvix

int eDVBFrontend::openFrontend()
{
	if (m_state != stateClosed)
		return -1;  // already opened

	m_state=stateIdle;
	m_tuning=0;

	if (!m_simulate)
	{
		eDebug("[eDVBFrontend%d] opening frontend", m_dvbid);
		if (m_fd < 0)
		{
			m_fd = ::open(m_filename.c_str(), O_RDWR | O_NONBLOCK | O_CLOEXEC);
			if (m_fd < 0)
			{
				eWarning("[eDVBFrontend] opening %s failed: %m", m_filename.c_str());
				return -1;
			}
		}
		else
			eWarning("[eDVBFrontend%d] frontend already opened", m_dvbid);
		if (m_dvbversion == 0)
		{
			m_dvbversion = DVB_VERSION(3, 0);
#if defined DTV_API_VERSION
			struct dtv_property p;
			struct dtv_properties cmdseq;
			cmdseq.props = &p;
			cmdseq.num = 1;
			p.cmd = DTV_API_VERSION;
			if (ioctl(m_fd, FE_GET_PROPERTY, &cmdseq) >= 0)
			{
				m_dvbversion = p.u.data;
				eDebug("[eDVBFrontend%d] frontend %d has DVB API %02x ", m_dvbid, m_dvbid, m_dvbversion);
			}
#endif
		}
		if (m_delsys.empty())
		{
			if (::ioctl(m_fd, FE_GET_INFO, &fe_info) < 0)
			{
				eWarning("[eDVBFrontend] ioctl FE_GET_INFO failed");
				::close(m_fd);
				m_fd = -1;
				return -1;
			}
			strncpy(m_description, fe_info.name, sizeof(m_description));
#if defined DTV_ENUM_DELSYS
			struct dtv_property p[1];
			p[0].cmd = DTV_ENUM_DELSYS;
			struct dtv_properties cmdseq;
			cmdseq.num = 1;
			cmdseq.props = p;
			if (::ioctl(m_fd, FE_GET_PROPERTY, &cmdseq) >= 0)
			{
				m_delsys.clear();
				for (; p[0].u.buffer.len > 0; p[0].u.buffer.len--)
				{
					fe_delivery_system_t delsys = (fe_delivery_system_t)p[0].u.buffer.data[p[0].u.buffer.len - 1];
					m_delsys[delsys] = true;
				}
			}
			else
#else
			/* no DTV_ENUM_DELSYS support */
			if (1)
#endif
			{
				/* old DVB API, fill delsys map with some defaults */
				switch (fe_info.type)
				{
					case FE_QPSK:
					{
						m_delsys[SYS_DVBS] = true;
#if DVB_API_VERSION >= 5
						if (m_dvbversion >= DVB_VERSION(5, 0))
						{
							if (fe_info.caps & FE_CAN_2G_MODULATION) m_delsys[SYS_DVBS2] = true;
						}
#endif
						break;
					}
					case FE_QAM:
					{
#if DVB_API_VERSION > 5 || DVB_API_VERSION == 5 && DVB_API_VERSION_MINOR >= 6
						/* no need for a m_dvbversion check, SYS_DVBC_ANNEX_A replaced SYS_DVBC_ANNEX_AC (same value) */
						m_delsys[SYS_DVBC_ANNEX_A] = true;
#else
						m_delsys[SYS_DVBC_ANNEX_AC] = true;
#endif
						break;
					}
					case FE_OFDM:
					{
						m_delsys[SYS_DVBT] = true;
#if DVB_API_VERSION > 5 || DVB_API_VERSION == 5 && DVB_API_VERSION_MINOR >= 3
						if (m_dvbversion >= DVB_VERSION(5, 3))
						{
							if (fe_info.caps & FE_CAN_2G_MODULATION) m_delsys[SYS_DVBT2] = true;
						}
#endif
						break;
					}
					case FE_ATSC:
					{
						m_delsys[SYS_ATSC] = true;
						break;
					}
				}
			}
		}

		if (m_simulate_fe)
		{
			m_simulate_fe->m_delsys = m_delsys;
		}
		m_sn = eSocketNotifier::create(eApp, m_fd, eSocketNotifier::Read, false);
		CONNECT(m_sn->activated, eDVBFrontend::feEvent);
	}
	else
	{
		fe_info.frequency_min = 900000;
		fe_info.frequency_max = 2200000;

		eDebug("[eDVBFrontend%d] opening frontend", m_dvbid);
		int tmp_fd = ::open(m_filename.c_str(), O_RDONLY | O_NONBLOCK | O_CLOEXEC);
		if (tmp_fd < 0)
		{
			eWarning("[eDVBFrontend] opening %s failed: %m", m_filename.c_str());
		}
		else
		{
			if (::ioctl(tmp_fd, FE_GET_INFO, &fe_info) < 0)
			{
				eWarning("[eDVBFrontend] ioctl FE_GET_INFO on frontend %s failed: %m", m_filename.c_str());
			}
			::close(tmp_fd);
		}
	}

	m_multitype = m_delsys[SYS_DVBS] && (m_delsys[SYS_DVBT] || m_delsys[SYS_DVBC_ANNEX_A]);

	if (!m_multitype)
		m_type = feSatellite;

	setTone(iDVBFrontend::toneOff);
	setVoltage(iDVBFrontend::voltageOff);

	return 0;
}

openpli

int eDVBFrontend::openFrontend()
{
	if (m_state != stateClosed)
		return -1;  // already opened

	m_state=stateIdle;
	m_tuning=0;

	if (!m_simulate)
	{
		eDebug("[eDVBFrontend%d] opening frontend", m_dvbid);
		if (m_fd < 0)
		{
			m_fd = ::open(m_filename.c_str(), O_RDWR | O_NONBLOCK | O_CLOEXEC);
			if (m_fd < 0)
			{
				eWarning("[eDVBFrontend] opening %s failed: %m", m_filename.c_str());
				return -1;
			}
		}
		else
			eWarning("[eDVBFrontend%d] frontend already opened", m_dvbid);
		if (m_dvbversion == 0)
		{
			m_dvbversion = DVB_VERSION(3, 0);
#if defined DTV_API_VERSION
			struct dtv_property p;
			struct dtv_properties cmdseq;
			cmdseq.props = &p;
			cmdseq.num = 1;
			p.cmd = DTV_API_VERSION;
			if (ioctl(m_fd, FE_GET_PROPERTY, &cmdseq) >= 0)
			{
				m_dvbversion = p.u.data;
				eDebug("[eDVBFrontend%d] frontend %d has DVB API %02x ", m_dvbid, m_dvbid, m_dvbversion);
			}
#endif
		}
		if (m_delsys.empty())
		{
			if (::ioctl(m_fd, FE_GET_INFO, &fe_info) < 0)
			{
				eWarning("[eDVBFrontend] ioctl FE_GET_INFO failed");
				::close(m_fd);
				m_fd = -1;
				return -1;
			}
			strncpy(m_description, fe_info.name, sizeof(m_description));
#if defined DTV_ENUM_DELSYS
			struct dtv_property p[1];
			p[0].cmd = DTV_ENUM_DELSYS;
			struct dtv_properties cmdseq;
			cmdseq.num = 1;
			cmdseq.props = p;
			if (::ioctl(m_fd, FE_GET_PROPERTY, &cmdseq) >= 0)
			{
				m_delsys.clear();
				for (; p[0].u.buffer.len > 0; p[0].u.buffer.len--)
				{
					fe_delivery_system_t delsys = (fe_delivery_system_t)p[0].u.buffer.data[p[0].u.buffer.len - 1];
					m_delsys[delsys] = true;
				}
			}
			else
#else
			/* no DTV_ENUM_DELSYS support */
			if (1)
#endif
			{
				/* old DVB API, fill delsys map with some defaults */
				switch (fe_info.type)
				{
					case FE_QPSK:
					{
						m_delsys[SYS_DVBS] = true;
#if DVB_API_VERSION >= 5
						if (m_dvbversion >= DVB_VERSION(5, 0))
						{
							if (fe_info.caps & FE_CAN_2G_MODULATION) m_delsys[SYS_DVBS2] = true;
						}
#endif
						break;
					}
					case FE_QAM:
					{
#if DVB_API_VERSION > 5 || DVB_API_VERSION == 5 && DVB_API_VERSION_MINOR >= 6
						/* no need for a m_dvbversion check, SYS_DVBC_ANNEX_A replaced SYS_DVBC_ANNEX_AC (same value) */
						m_delsys[SYS_DVBC_ANNEX_A] = true;
#else
						m_delsys[SYS_DVBC_ANNEX_AC] = true;
#endif
						break;
					}
					case FE_OFDM:
					{
						m_delsys[SYS_DVBT] = true;
#if DVB_API_VERSION > 5 || DVB_API_VERSION == 5 && DVB_API_VERSION_MINOR >= 3
						if (m_dvbversion >= DVB_VERSION(5, 3))
						{
							if (fe_info.caps & FE_CAN_2G_MODULATION) m_delsys[SYS_DVBT2] = true;
						}
#endif
						break;
					}
					case FE_ATSC:
					{
						m_delsys[SYS_ATSC] = true;
						break;
					}
				}
			}
		}

		if (m_simulate_fe)
		{
			m_simulate_fe->m_delsys = m_delsys;
		}
		m_sn = eSocketNotifier::create(eApp, m_fd, eSocketNotifier::Read, false);
		CONNECT(m_sn->activated, eDVBFrontend::feEvent);
	}
	else
	{
		fe_info.frequency_min = 900000;
		fe_info.frequency_max = 2200000;

		eDebug("[eDVBFrontend%d] opening frontend", m_dvbid);
		int tmp_fd = ::open(m_filename.c_str(), O_RDONLY | O_NONBLOCK | O_CLOEXEC);
		if (tmp_fd < 0)
		{
			eWarning("[eDVBFrontend] opening %s failed: %m", m_filename.c_str());
		}
		else
		{
			if (::ioctl(tmp_fd, FE_GET_INFO, &fe_info) < 0)
			{
				eWarning("[eDVBFrontend] ioctl FE_GET_INFO on frontend %s failed: %m", m_filename.c_str());
			}
			::close(tmp_fd);
		}
	}

	m_multitype = m_delsys[SYS_DVBS] && (m_delsys[SYS_DVBT] || m_delsys[SYS_DVBC_ANNEX_A]);

	if (!m_multitype)
		m_type = feSatellite;

	setTone(iDVBFrontend::toneOff);
	setVoltage(iDVBFrontend::voltageOff);

	return 0;
}

 


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Problem with Release 7.2 and Vu+ USB cabletuner. #45 littlesat

  • PLi® Core member
  • 57,187 posts

+699
Excellent

Posted 3 January 2020 - 07:55

And what is the difference? And when/why was the difference made?

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


Re: Problem with Release 7.2 and Vu+ USB cabletuner. #46 Dimitrij

  • PLi® Core member
  • 10,331 posts

+350
Excellent

Posted 3 January 2020 - 09:04

And what is the difference? And when/why was the difference made?

I'm trying to think out loud.

openFrontend() аbsolutely the same, then the problem is different.

 

openpli log

two different switches to the same cable service.
Once everything is OK, the second time the system(enigma2) freezes.

1)

[ActionMap] Keymap 'ChannelSelectBaseActions' -> Action = 'showFavourites'.
[ActionMap] Keymap 'OkCancelActions' -> Action = 'ok'.
[ActionMap] Keymap 'OkCancelActions' -> Action = 'ok'.
[eDVBServicePlay] timeshift
[eDVBServicePlay] timeshift /media/hdd// statfs failed: No such file or directory
playing 1:0:19:278F:65:F020:FFFF0000:0:0:0:
[eDVBCAService] free slot 0 demux 0 for service 1:0:19:1389:3EA:1:C00000:0:0:0:
[eDVBCAService] free service 1:0:19:1389:3EA:1:C00000:0:0:0:
[eDVBServicePlay] timeshift
[eDVBServicePlay] timeshift /media/hdd// statfs failed: No such file or directory
[eTSMPEGDecoder] decoder state: play, vpid=ffffffff, apid=ffffffff
[eDVBPCR0] DEMUX_STOP ok
[eDVBPCR0] destroy
[eDVBVideo0] DEMUX_STOP  ok
[eDVBVideo0] VIDEO_STOP ok
[eDVBVideo0] destroy
[eDVBAudio0] AUDIO_STOP ok
[eDVBAudio0] DEMUX_STOP ok
[eDVBAudio0] AUDIO_CONTINUE ok
[eDVBAudio0] destroy
cleaning up
TuxTxt cache cleared
[eDVBResourceManager] start release channel timer
[eDVBServicePlay] timeshift
[eDVBServicePlay] timeshift /media/hdd// statfs failed: No such file or directory
not pauseable.
[eDVBServicePlay] timeshift
[eDVBServicePlay] timeshift /media/hdd// statfs failed: No such file or directory
not pauseable.
[eDVBServicePlay] timeshift
[eDVBServicePlay] timeshift /media/hdd// statfs failed: No such file or directory
not pauseable.
[eDVBServicePlay] timeshift
[eDVBServicePlay] timeshift /media/hdd// statfs failed: No such file or directory
new service started! trying to download cuts!
download failed, no cuesheet interface
RemovePopup, id = ZapError
[eDVBLocalTimerHandler] remove channel 0x2792408
[eEPGCache] remove channel 0x2792408
[eDVBResourceManager] allocate channel.. 0065:f020
[eDVBFrontend1] opening frontend
[eDVBFrontend1] tune
[eDVBFrontend1] tuning to 571000 khz, sr 6952000, fec 3, modulation 5, inversion 2

2)

[ActionMap] Keymap 'ChannelSelectBaseActions' -> Action = 'showFavourites'.
enable timeshift
[eDVBServicePlay] timeshift
[eDVBServicePlay] timeshift /media/hdd// statfs failed: No such file or directory
no ts interface
[ActionMap] Keymap 'OkCancelActions' -> Action = 'ok'.
[ActionMap] Keymap 'OkCancelActions' -> Action = 'ok'.
[eDVBServicePlay] timeshift
[eDVBServicePlay] timeshift /media/hdd// statfs failed: No such file or directory
playing 1:0:19:278F:65:F020:FFFF0000:0:0:0:
[eDVBCAService] free slot 0 demux 0 for service 1:0:19:7537:426:1:C00000:0:0:0:
[eDVBCAService] free service 1:0:19:7537:426:1:C00000:0:0:0:
[eDVBServicePlay] timeshift
[eDVBServicePlay] timeshift /media/hdd// statfs failed: No such file or directory
[eTSMPEGDecoder] decoder state: play, vpid=ffffffff, apid=ffffffff
[eDVBPCR0] DEMUX_STOP ok
[eDVBPCR0] destroy
[eDVBVideo0] DEMUX_STOP  ok
[eDVBVideo0] VIDEO_STOP ok
[eDVBVideo0] destroy
[eDVBAudio0] AUDIO_STOP ok
[eDVBAudio0] DEMUX_STOP ok
[eDVBAudio0] AUDIO_CONTINUE ok
[eDVBAudio0] destroy
cleaning up
TuxTxt cache cleared
[eDVBResourceManager] start release channel timer
[eDVBServicePlay] timeshift
[eDVBServicePlay] timeshift /media/hdd// statfs failed: No such file or directory
not pauseable.
[eDVBServicePlay] timeshift
[eDVBServicePlay] timeshift /media/hdd// statfs failed: No such file or directory
not pauseable.
[eDVBServicePlay] timeshift
[eDVBServicePlay] timeshift /media/hdd// statfs failed: No such file or directory
not pauseable.
[eDVBServicePlay] timeshift
[eDVBServicePlay] timeshift /media/hdd// statfs failed: No such file or directory
new service started! trying to download cuts!
download failed, no cuesheet interface
RemovePopup, id = ZapError
[eDVBLocalTimerHandler] remove channel 0x2790c68
[eEPGCache] remove channel 0x2790c68
[eDVBResourceManager] allocate channel.. 0065:f020
[eDVBFrontend1] opening frontend
[gRC] main thread is non-idle! display spinner!

 

 


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Problem with Release 7.2 and Vu+ USB cabletuner. #47 littlesat

  • PLi® Core member
  • 57,187 posts

+699
Excellent

Posted 3 January 2020 - 09:28

[brainstorm]

Somehow it cannot open the frontend? It get to an endless loop...?

We had some changes in March or so regarding the combined tuner stuff... Was it OK before these changes...? 

 

https://github.com/O...07fd4a58743a0d4

 

https://github.com/O...4570deec3be6efa

[/brainstorm]


Edited by littlesat, 3 January 2020 - 09:35.

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


Re: Problem with Release 7.2 and Vu+ USB cabletuner. #48 twol

  • Senior Member
  • 448 posts

+15
Neutral

Posted 3 January 2020 - 10:08

[brainstorm]

Somehow it cannot open the frontend? It get to an endless loop...?

We had some changes in March or so regarding the combined tuner stuff... Was it OK before these changes...? 

 

https://github.com/O...07fd4a58743a0d4

 

https://github.com/O...4570deec3be6efa

[/brainstorm]

Think you will find all those change also in OpenViX


Gigablue Quad 4K & UE 4K, Vu+Uno4KSE, DM900
.........FBC Tuners:
------------------> GT-SAT unicable lnb to 1.5M dish(28.2E)
------------------> Gigablue unicable lnb to 80 cm dish(19.2E)

Octagon sf8008, AX HD61, Edision Osmio 4K+, Zgemma H9Combo using Legacy ports on multiswitches
Zgemma H9twin & Zgemma H9 C/S mode into Giga4K
 


Re: Problem with Release 7.2 and Vu+ USB cabletuner. #49 Dimitrij

  • PLi® Core member
  • 10,331 posts

+350
Excellent

Posted 3 January 2020 - 10:42

Maybe

https://github.com/O...vb/dvb.cpp#L408

https://github.com/O...nfigure.ac#L489


Edited by Dimitrij, 3 January 2020 - 10:42.

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Problem with Release 7.2 and Vu+ USB cabletuner. #50 littlesat

  • PLi® Core member
  • 57,187 posts

+699
Excellent

Posted 3 January 2020 - 12:53

That points just to some code... not to a change in code that might trigger it...

 

FBC tuner I do not think it is related... VTUNER related stuff might be related...


Edited by littlesat, 3 January 2020 - 12:53.

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


Re: Problem with Release 7.2 and Vu+ USB cabletuner. #51 Abu Baniaz

  • PLi® Contributor
  • 2,501 posts

+64
Good

Posted 3 January 2020 - 13:15

Huevos tries to keep the Vix DVB cpp files equal to PLI. I don't think he added the T2MI stuff to Vix yet as no hardware for it.

Could they be the cause?

Sent from my Moto G (5S) using Forum Fiend v1.3.3.

Re: Problem with Release 7.2 and Vu+ USB cabletuner. #52 yortiz1979

  • Member
  • 18 posts

0
Neutral

Posted 11 January 2020 - 19:27

Hi Guys,

 

any advance on this issue?




11 user(s) are reading this topic

0 members, 11 guests, 0 anonymous users