Modify

Ticket #8251 (assigned Patch - Bug Fix)

Opened 3 years ago

Last modified 4 months ago

EIT Scanner disregards input groups, causes undefined behavior

Reported by: robertm Owned by: stuarta
Priority: minor Milestone: 0.26.1
Component: MythTV - EIT Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Hybrid tuners analog and digital sides share a tuner, and thus are properly configured as members of the same input group. The EIT scanner disregards input groups and will kick off when the analog side is in use, putting the hardware in an undefined state and causing tuning failures and other potential Bad Things (tm), which will vary by driver.

The EIT scanner should account for the other members of the input group.

Attachments

8251-v1.patch (1.4 KB) - added by danielk 15 months ago.
Possible fix.
8251-v2.diff (1.6 KB) - added by lomion@… 4 months ago.
Patch based on 0.25-fixes

Change History

comment:1 Changed 3 years ago by stuarta

  • Milestone changed from unknown to 0.24

comment:2 Changed 3 years ago by robertm

  • Status changed from new to assigned

comment:3 Changed 3 years ago by stuartm

  • Priority changed from minor to critical
  • Milestone changed from 0.24 to 0.25

I'm bumping the priority but moving this to 0.25 since no-one with an interest in this area of the code has the time to work on a fix for 0.24. This is clearly a serious bug all the same.

comment:4 Changed 2 years ago by herbert@…

I think my installation runs into this problem each day - I will take a closer look the next days.

Changed 15 months ago by danielk

Possible fix.

comment:5 Changed 15 months ago by danielk

  • Priority changed from critical to minor
  • Type changed from defect to Patch - Bug Fix
  • Milestone changed from 0.25 to 0.26

I've downgraded this from critical to minor. It doesn't affect many people and the workaround is simply not to enable eit scanning on any dtv recorder also used for it's analog side.

I've attached a patch which should automatically disable active EIT scanning when an input is shared with an analog recorder. It is untested, but should provide a good start for anyone working on this. The main concern is that it has a bad effect on a DVB-S card with DiSEqC inputs. Since this does need a testing both for function and for no ill-effect on DiSEqC setups I'm moving the milestone to 0.26, but if this receives sufficient testing there is no reason it can't be put in for 0.25.

comment:6 Changed 8 months ago by kenni

  • Milestone changed from 0.26 to 0.26.1

comment:7 Changed 4 months ago by lomion@…

I have two virtual encoders configured for my DVB-S2 card and see the same behaviour.

I have attached a modified patch which delays the EIT-Scan for 60 seconds if another card in the same input group is busy. It works for me!

Changed 4 months ago by lomion@…

Patch based on 0.25-fixes

View

Add a comment

Modify Ticket

Action
as assigned
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.