Edited by Taapat, 21 August 2017 - 21:48.
Multistream tuner conflicts
Re: Multistream tuner conflicts #21
Posted 21 August 2017 - 21:41
Re: Multistream tuner conflicts #22
Re: Multistream tuner conflicts #23
Re: Multistream tuner conflicts #24
Posted 22 August 2017 - 06:00
Adding few eDebug in the isCompatibleWith flow will help most probably to find the problem.
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
Re: Multistream tuner conflicts #25
Posted 22 August 2017 - 06:46
And that python code is crazy... I think we can completely remove some lines there..
The -7 is errNoSourceFound, so problem is on isCompatibleWith.
Adding few eDebug in the isCompatibleWith flow will help most probably to find the problem.
Re: Multistream tuner conflicts #26
Posted 22 August 2017 - 11:14
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
Re: Multistream tuner conflicts #27
Posted 22 August 2017 - 11:16
Merged.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (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: Multistream tuner conflicts #28
Posted 22 August 2017 - 11:50
else: continue
is wrong.
for entry in event[4]: if entry[1] is ConflictTimer: break else: continue
for entry in event[4]: if entry[1] is ConflictTimer: break else: continue
If not find find anything continues first loop (for event in self.nrep_eventlist:).
Now second loop (for entry in event[4]: ) Is unnecessary.
Edited by Taapat, 22 August 2017 - 11:55.
Re: Multistream tuner conflicts #29
Re: Multistream tuner conflicts #30
Posted 22 August 2017 - 11:56
Re: Multistream tuner conflicts #31
Re: Multistream tuner conflicts #32
Posted 22 August 2017 - 12:00
Never knew that. "For loops also have an else clause which most of us are unfamiliar with." Well I'm one of them, which is why I thought it was an indenting error.
Re: Multistream tuner conflicts #33
Posted 22 August 2017 - 12:17
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
Re: Multistream tuner conflicts #34
Posted 22 August 2017 - 12:50
Here is my added debug...
https://github.com/H...cpp#L2598-L2649
And here is the output...
Open multistream service on 5W:
< 30.220> [eDVBFrontend][isCompatibleWith] m_slotid: 0
< 30.220> [eDVBFrontend][isCompatibleWith] preferred: false
< 30.220> [eDVBFrontend][isCompatibleWith] service is multistream: true
< 30.220> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps 1409288191, FE_CAN_MULTISTREAM 67108864
< 30.220> [eDVBFrontend][isCompatibleWith] system 1 is_id 1 pls_code 8 pls_mode 0 tuner is_multistream 1
< 30.220> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps 1409288191, FE_CAN_MULTISTREAM 67108864
< 30.220> [eDVBFrontend][isCompatibleWith] m_slotid: 1
< 30.220> [eDVBFrontend][isCompatibleWith] preferred: false
< 30.220> [eDVBFrontend][isCompatibleWith] service is multistream: true
< 30.220> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps 1409288191, FE_CAN_MULTISTREAM 67108864
< 30.220> [eDVBFrontend][isCompatibleWith] system 1 is_id 1 pls_code 8 pls_mode 0 tuner is_multistream 1
< 30.220> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps 1409288191, FE_CAN_MULTISTREAM 67108864
< 30.220> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps 1409288191, FE_CAN_MULTISTREAM 67108864
< 30.220> [eDVBResourceManager] allocateFrontend, score=9983
< 30.220> [eDVBFrontend][isCompatibleWith] m_slotid: 2
< 30.220> [eDVBFrontend][isCompatibleWith] preferred: false
< 30.220> [eDVBFrontend][isCompatibleWith] (parm.system == eDVBFrontendParametersSatellite::System_DVB_S2 && !can_handle_dvbs2) return 0
< 30.220> [eDVBFrontend] opening frontend 1
Start instant record on 5W:
< 1064.736> [eDVBFrontend][isCompatibleWith] m_slotid: 0
< 1064.736> [eDVBFrontend][isCompatibleWith] preferred: false
< 1064.736> [eDVBFrontend][isCompatibleWith] service is multistream: true
< 1064.736> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps 808464483, FE_CAN_MULTISTREAM 67108864
< 1064.736> [eDVBFrontend][isCompatibleWith] system 1 is_id 1 pls_code 8 pls_mode 0 tuner is_multistream 0
< 1064.736> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps 808464483, FE_CAN_MULTISTREAM 67108864
< 1064.736> [eDVBFrontend][isCompatibleWith] NOT MULTISTREAM TUNER!!!!!
< 1064.737> [eDVBFrontend][isCompatibleWith] (parm.system == eDVBFrontendParametersSatellite::System_DVB_S2 && multistream && !is_multistream()) return 0
< 1064.737> [eDVBFrontend][isCompatibleWith] m_slotid: 1
< 1064.737> [eDVBFrontend][isCompatibleWith] preferred: false
< 1064.737> [eDVBFrontend][isCompatibleWith] service is multistream: true
< 1064.737> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps -1875199171, FE_CAN_MULTISTREAM 67108864
< 1064.737> [eDVBFrontend][isCompatibleWith] system 1 is_id 1 pls_code 8 pls_mode 0 tuner is_multistream 0
< 1064.737> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps -1875199171, FE_CAN_MULTISTREAM 67108864
< 1064.737> [eDVBFrontend][isCompatibleWith] NOT MULTISTREAM TUNER!!!!!
< 1064.737> [eDVBFrontend][isCompatibleWith] (parm.system == eDVBFrontendParametersSatellite::System_DVB_S2 && multistream && !is_multistream()) return 0
< 1064.737> [eDVBFrontend][isCompatibleWith] m_slotid: 2
< 1064.737> [eDVBFrontend][isCompatibleWith] preferred: false
< 1064.737> [eDVBFrontend][isCompatibleWith] (parm.system == eDVBFrontendParametersSatellite::System_DVB_S2 && !can_handle_dvbs2) return 0
< 1064.737> [TimerSanityCheck] possible bug: unknown conflict!
< 1064.737> [Timer] Record RecordTimerEntry(name=L'Aria Che Tira Estate, begin=Tue Aug 22 13:22:07 2017, serviceref=1:0:1:2C7:107:217C:DDE0000:0:0:0:, justplay=False, isAutoTimer=False)
< 1064.737> [RecordTimer] activating state 1
Zap to new service on 28E:
< 1411.231> [eDVBFrontend][isCompatibleWith] m_slotid: 0
< 1411.231> [eDVBFrontend][isCompatibleWith] preferred: false
< 1411.231> [eDVBFrontend][isCompatibleWith] service is multistream: false
< 1411.231> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps 1409288191, FE_CAN_MULTISTREAM 67108864
< 1411.232> [eDVBFrontend][isCompatibleWith] system 1 is_id -1 pls_code 1 pls_mode 0 tuner is_multistream 1
< 1411.232> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps 1409288191, FE_CAN_MULTISTREAM 67108864
< 1411.232> [eDVBFrontend][isCompatibleWith] NON MULTISTREAM CHANNEL!!!!
< 1411.232> [eDVBResourceManager] allocateFrontend, score=15004
< 1411.232> [eDVBFrontend][isCompatibleWith] m_slotid: 1
< 1411.232> [eDVBFrontend][isCompatibleWith] preferred: false
< 1411.232> [eDVBFrontend][isCompatibleWith] service is multistream: false
< 1411.232> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps 1409288191, FE_CAN_MULTISTREAM 67108864
< 1411.232> [eDVBFrontend][isCompatibleWith] system 1 is_id -1 pls_code 1 pls_mode 0 tuner is_multistream 1
< 1411.232> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps 1409288191, FE_CAN_MULTISTREAM 67108864
< 1411.232> [eDVBFrontend][isCompatibleWith] NON MULTISTREAM CHANNEL!!!!
< 1411.232> [eDVBResourceManager] allocateFrontend, score=9982
< 1411.232> [eDVBFrontend][isCompatibleWith] m_slotid: 2
< 1411.232> [eDVBFrontend][isCompatibleWith] preferred: false
< 1411.232> [eDVBFrontend][isCompatibleWith] (parm.system == eDVBFrontendParametersSatellite::System_DVB_S2 && !can_handle_dvbs2) return 0
< 1411.232> [eDVBFrontend] opening frontend 0
< 1411.246> [eDVBFrontend] (0)tune
< 1411.246> [eDVBSatelliteEquipmentControl] [prepare] UnicableTuningWord 0x3e1cd, guard_offset 0
< 1411.246> **** Tuning JESS
< 1411.246> **** frequency_mhz: 10847
< 1411.246> **** lo_mhz: 9750
< 1411.246> **** T: 997
< 1411.246> **** position: 0
< 1411.246> **** ub: 31
< 1411.246> **** mode: 0
< 1411.246> **** JESS: 70 fb e5 00
< 1411.246> [eDVBSatelliteEquipmentControl] RotorCmd ffffffff, lastRotorCmd ffffffff
Try to start instant record on 28E service (which fails):
< 1601.511> [eDVBFrontend][isCompatibleWith] m_slotid: 0
< 1601.511> [eDVBFrontend][isCompatibleWith] preferred: false
< 1601.511> [eDVBFrontend][isCompatibleWith] service is multistream: true
< 1601.511> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps 808464483, FE_CAN_MULTISTREAM 67108864
< 1601.512> [eDVBFrontend][isCompatibleWith] system 1 is_id 1 pls_code 8 pls_mode 0 tuner is_multistream 0
< 1601.512> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps 808464483, FE_CAN_MULTISTREAM 67108864
< 1601.512> [eDVBFrontend][isCompatibleWith] NOT MULTISTREAM TUNER!!!!!
< 1601.512> [eDVBFrontend][isCompatibleWith] (parm.system == eDVBFrontendParametersSatellite::System_DVB_S2 && multistream && !is_multistream()) return 0
< 1601.512> [eDVBFrontend][isCompatibleWith] m_slotid: 1
< 1601.512> [eDVBFrontend][isCompatibleWith] preferred: false
< 1601.512> [eDVBFrontend][isCompatibleWith] service is multistream: true
< 1601.512> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps -1875199171, FE_CAN_MULTISTREAM 67108864
< 1601.512> [eDVBFrontend][isCompatibleWith] system 1 is_id 1 pls_code 8 pls_mode 0 tuner is_multistream 0
< 1601.512> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps -1875199171, FE_CAN_MULTISTREAM 67108864
< 1601.512> [eDVBFrontend][isCompatibleWith] NOT MULTISTREAM TUNER!!!!!
< 1601.512> [eDVBFrontend][isCompatibleWith] (parm.system == eDVBFrontendParametersSatellite::System_DVB_S2 && multistream && !is_multistream()) return 0
< 1601.512> [eDVBFrontend][isCompatibleWith] m_slotid: 2
< 1601.512> [eDVBFrontend][isCompatibleWith] preferred: false
< 1601.512> [eDVBFrontend][isCompatibleWith] (parm.system == eDVBFrontendParametersSatellite::System_DVB_S2 && !can_handle_dvbs2) return 0
< 1601.512> [eDVBFrontend][isCompatibleWith] m_slotid: 0
< 1601.512> [eDVBFrontend][isCompatibleWith] preferred: false
< 1601.512> [eDVBFrontend][isCompatibleWith] service is multistream: false
< 1601.512> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps 808464483, FE_CAN_MULTISTREAM 67108864
< 1601.512> [eDVBFrontend][isCompatibleWith] system 1 is_id -1 pls_code 1 pls_mode 0 tuner is_multistream 0
< 1601.512> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps 808464483, FE_CAN_MULTISTREAM 67108864
< 1601.512> [eDVBResourceManager] allocateFrontend, score=15005
< 1601.512> [eDVBFrontend][isCompatibleWith] m_slotid: 1
< 1601.512> [eDVBFrontend][isCompatibleWith] preferred: false
< 1601.512> [eDVBFrontend][isCompatibleWith] service is multistream: false
< 1601.512> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps -1875199171, FE_CAN_MULTISTREAM 67108864
< 1601.512> [eDVBFrontend][isCompatibleWith] system 1 is_id -1 pls_code 1 pls_mode 0 tuner is_multistream 0
< 1601.512> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps -1875199171, FE_CAN_MULTISTREAM 67108864
< 1601.512> [eDVBResourceManager] allocateFrontend, score=9983
< 1601.512> [eDVBFrontend][isCompatibleWith] m_slotid: 2
< 1601.512> [eDVBFrontend][isCompatibleWith] preferred: false
< 1601.512> [eDVBFrontend][isCompatibleWith] (parm.system == eDVBFrontendParametersSatellite::System_DVB_S2 && !can_handle_dvbs2) return 0
< 1601.512> [eDVBSatelliteEquipmentControl] [prepare] UnicableTuningWord 0x3e1cd, guard_offset 0
< 1601.512> **** Tuning JESS
< 1601.512> **** frequency_mhz: 10847
< 1601.512> **** lo_mhz: 9750
< 1601.512> **** T: 997
< 1601.512> **** position: 0
< 1601.512> **** ub: 31
< 1601.512> **** mode: 0
< 1601.512> **** JESS: 70 fb e5 00
70fbe500(?)
< 1601.513> [TimerSanityCheck] conflict detected!
< 1601.513> [RecordTimer] timer conflict detected!
< 1601.513> [RecordTimerEntry(name=†Bargain Hunt‡, begin=Tue Aug 22 13:31:04 2017, serviceref=1:0:19:1B1D:802:2:11A0000:0:0:0:, justplay=False, isAutoTimer=False), RecordTimerEntry(name=L'Aria Che Tira Estate, begin=Tue Aug 22 13:22:07 2017, serviceref=1:0:1:2C7:107:217C:DDE0000:0:0:0:, justplay=False, isAutoTimer=False)]
< 1601.514> [eDVBFrontend][isCompatibleWith] m_slotid: 0
< 1601.514> [eDVBFrontend][isCompatibleWith] preferred: false
< 1601.514> [eDVBFrontend][isCompatibleWith] service is multistream: true
< 1601.514> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps 808464483, FE_CAN_MULTISTREAM 67108864
< 1601.514> [eDVBFrontend][isCompatibleWith] system 1 is_id 1 pls_code 8 pls_mode 0 tuner is_multistream 0
< 1601.514> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps 808464483, FE_CAN_MULTISTREAM 67108864
< 1601.514> [eDVBFrontend][isCompatibleWith] NOT MULTISTREAM TUNER!!!!!
< 1601.514> [eDVBFrontend][isCompatibleWith] (parm.system == eDVBFrontendParametersSatellite::System_DVB_S2 && multistream && !is_multistream()) return 0
< 1601.514> [eDVBFrontend][isCompatibleWith] m_slotid: 1
< 1601.514> [eDVBFrontend][isCompatibleWith] preferred: false
< 1601.514> [eDVBFrontend][isCompatibleWith] service is multistream: true
< 1601.514> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps -1875199171, FE_CAN_MULTISTREAM 67108864
< 1601.514> [eDVBFrontend][isCompatibleWith] system 1 is_id 1 pls_code 8 pls_mode 0 tuner is_multistream 0
< 1601.514> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps -1875199171, FE_CAN_MULTISTREAM 67108864
< 1601.514> [eDVBFrontend][isCompatibleWith] NOT MULTISTREAM TUNER!!!!!
< 1601.514> [eDVBFrontend][isCompatibleWith] (parm.system == eDVBFrontendParametersSatellite::System_DVB_S2 && multistream && !is_multistream()) return 0
< 1601.514> [eDVBFrontend][isCompatibleWith] m_slotid: 2
< 1601.514> [eDVBFrontend][isCompatibleWith] preferred: false
< 1601.514> [eDVBFrontend][isCompatibleWith] (parm.system == eDVBFrontendParametersSatellite::System_DVB_S2 && !can_handle_dvbs2) return 0
< 1601.514> [eDVBFrontend][isCompatibleWith] m_slotid: 0
< 1601.514> [eDVBFrontend][isCompatibleWith] preferred: false
< 1601.514> [eDVBFrontend][isCompatibleWith] service is multistream: false
< 1601.514> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps 808464483, FE_CAN_MULTISTREAM 67108864
< 1601.514> [eDVBFrontend][isCompatibleWith] system 1 is_id -1 pls_code 1 pls_mode 0 tuner is_multistream 0
< 1601.514> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps 808464483, FE_CAN_MULTISTREAM 67108864
< 1601.514> [eDVBResourceManager] allocateFrontend, score=15005
< 1601.514> [eDVBFrontend][isCompatibleWith] m_slotid: 1
< 1601.514> [eDVBFrontend][isCompatibleWith] preferred: false
< 1601.514> [eDVBFrontend][isCompatibleWith] service is multistream: false
< 1601.514> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps -1875199171, FE_CAN_MULTISTREAM 67108864
< 1601.514> [eDVBFrontend][isCompatibleWith] system 1 is_id -1 pls_code 1 pls_mode 0 tuner is_multistream 0
< 1601.514> [eDVBFrontend][is_multistream] DVB_API_VERSION 5, DVB_API_VERSION_MINOR 10, fe_info.caps -1875199171, FE_CAN_MULTISTREAM 67108864
< 1601.514> [eDVBResourceManager] allocateFrontend, score=9983
< 1601.514> [eDVBFrontend][isCompatibleWith] m_slotid: 2
< 1601.514> [eDVBFrontend][isCompatibleWith] preferred: false
< 1601.514> [eDVBFrontend][isCompatibleWith] (parm.system == eDVBFrontendParametersSatellite::System_DVB_S2 && !can_handle_dvbs2) return 0
< 1601.514> [eDVBSatelliteEquipmentControl] [prepare] UnicableTuningWord 0x3e1cd, guard_offset 0
< 1601.514> **** Tuning JESS
< 1601.514> **** frequency_mhz: 10847
< 1601.514> **** lo_mhz: 9750
< 1601.514> **** T: 997
< 1601.514> **** position: 0
< 1601.514> **** ub: 31
< 1601.514> **** mode: 0
< 1601.514> **** JESS: 70 fb e5 00
70fbe500(?)
< 1601.515> [TimerSanityCheck] conflict detected!
So the problems that I see are as follows:
1) When trying to start an instant recording all tuners are recognised as not mulistream capable.
2) When trying to start an instant recording all services are recognised as multistream.
Re: Multistream tuner conflicts #35
Posted 22 August 2017 - 13:20
Re: Multistream tuner conflicts #36
Re: Multistream tuner conflicts #37
Posted 22 August 2017 - 13:39
return fe_info.caps && FE_CAN_MULTISTREAM;
Re: Multistream tuner conflicts #38
Posted 22 August 2017 - 13:51
It seems to my that there needs && instead of &: https://github.com/O...ntend.cpp#L2849return fe_info.caps && FE_CAN_MULTISTREAM;
No. It is a bitwize test.
Re: Multistream tuner conflicts #39
Re: Multistream tuner conflicts #40
Posted 22 August 2017 - 15:05
No idea what the rest of the bits represent but you can see the multistream bit change.
FE_CAN_MULTISTREAM = 67108864 1409288191 = 1010100000000000000011111111111 808464483 = 0110000001100000011000001100011 67108864 = 0000100000000000000000000000000
Edited by Huevos, 22 August 2017 - 15:06.
4 user(s) are reading this topic
0 members, 4 guests, 0 anonymous users