[TV] Automatic Detection of Hybrid Cards (1 Viewer)

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    looks good mm
    Yep :)

    can you tell me what you have changed? :p
    Sure. :)
    After talking with the driver engineer I added code to detect the TunerInstanceID based on the information here:
    https://forum.team-mediaportal.com/...on-of-hybrid-cards.120314/page-4#post-1015599

    The driver engineer corrected my understanding of the tuner ID in their scheme.
    Previously I thought if you had a Cine CT with a DuoFlex CT module connected then the IDs would be:
    Cine DVB-C tuner 1 = 30
    Cine DVB-T tuner 1 = 40
    Cine DVB-C tuner 2 = 31
    Cine DVB-T tuner 1 = 41
    DuoFlex DVB-C tuner 1 = 30
    DuoFlex DVB-T tuner 1 = 40
    DuoFlex DVB-C tuner 2 = 31
    DuoFlex DVB-T tuner 1 = 41

    This would not have allowed us to detect the tuner links properly.
    Actually it is like this:
    Cine DVB-C tuner 1 = 30
    Cine DVB-T tuner 1 = 40
    Cine DVB-C tuner 2 = 31
    Cine DVB-T tuner 1 = 41
    DuoFlex DVB-C tuner 1 = 32
    DuoFlex DVB-T tuner 1 = 42
    DuoFlex DVB-C tuner 2 = 33
    DuoFlex DVB-T tuner 1 = 43
    So basically: you were right! (y)
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    h mm, seems don't working ! :(
    The debug doesn't look right - it is like you are still running an older version of the patch. I've attached a new version here with the same detection code and patch version logged just to make sure...



    PS : i have also error in setupTV i can't acces to "manual control"
    I have no idea about this. I only put debug in the log file. :(
     

    Attachments

    • MP 1.4 TVLibrary [hybrid detection v4].zip
      161.7 KB

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    That looks better! :)
    [2013-08-03 02:32:13,380] [Log ] [TVService] [INFO ] - ----------------------------------------------------------
    [2013-08-03 02:32:13,380] [Log ] [TVService] [INFO ] - -- mm1352000 hybrid group detection debug v4 --
    [2013-08-03 02:32:13,380] [Log ] [TVService] [INFO ] - root device 4&2b17f62e&0
    [2013-08-03 02:32:13,380] [Log ] [TVService] [INFO ] - device -1
    [2013-08-03 02:32:13,380] [Log ] [TVService] [INFO ] - NOT hybrid
    [2013-08-03 02:32:13,380] [Log ] [TVService] [INFO ] - name = TechnoTrend BDA/DVB-S Tuner, device path = @device:pnp:\\?\pci#ven_1131&dev_7146&subsys_101913c2&rev_01#4&2b17f62e&0&4080#{71985f48-1ca1-11d3-9cc8-00c04f7971e0}\{42bfcbad-2c66-4039-973e-be278ab24200}
    [2013-08-03 02:32:13,380] [Log ] [TVService] [INFO ] - root device 5&165be9ba&1
    [2013-08-03 02:32:13,380] [Log ] [TVService] [INFO ] - device 10
    [2013-08-03 02:32:13,384] [Log ] [TVService] [INFO ] - !!!hybrid!!! 2 sub-devices
    [2013-08-03 02:32:13,384] [Log ] [TVService] [INFO ] - name = Hauppauge WinTV 88x DVB-T Tuner/Demod, device path = @device:pnp:\\?\stream#hcw88bda2.m94xx#5&165be9ba&1&2#{71985f48-1ca1-11d3-9cc8-00c04f7971e0}\{91b0cc87-9905-4d65-a0d1-00a0c9f21fc7}
    [2013-08-03 02:32:13,384] [Log ] [TVService] [INFO ] - name = Hauppauge WinTV 88x Tuner, device path = @device:pnp:\\?\stream#hcw88tun.hcwpnp#5&165be9ba&1&1#{a799a800-a46d-11d0-a18c-00a02401dcd4}\global
    [2013-08-03 02:32:13,384] [Log ] [TVService] [INFO ] - ----------------------------------------------------------
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Maybe i can merge a branch into my fork for testing ?
    Enjoy your night :)
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Maybe i can merge a branch into my fork for testing ?
    No, sorry - it is still a private branch... but the merge would be really really hard. The file containing the code changes is TvCardCollection.cs. That file was replaced with DeviceDetector.cs in MP 1.5. But don't worry, I will find some time to do this... :)

    Enjoy your night :)
    Enjoy your day! :p
     

    Users who are viewing this thread

    Top Bottom