KNC ONE TV-Station CI/CAM not recognized (1 Viewer)

misterd

Retired Team Member
  • Premium Supporter
  • April 4, 2006
    1,597
    314
    Home Country
    Germany Germany
    :D for the logs.

    Unfortunately I have no clue why it is still failing. I don't have any ideas what we could change to get it working atm. :sorry:

    MisterD
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    I've two KNC 1 DVB-C Cards now i want to buy now two cineview modules + two alphacrypt light. BUt as i read the thread here this will not work :-( So i've to change my DVB-C cards? :-( which ones do work?
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    at the moment nobody seems to work on this... i've also no skills in CI programming so i can't... we need somebody with a KNC DVB-C Card and C# / C++ skills
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    I will take a look on the KNC CI stuff. Lately I made modifications for the technotrend part, so maybe I can also do here something to get it working...

    I will post a modified TsWriter with more debugging logs...
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Some first points I see:

    It seems, that the CI callback functions are never executed. Maybe it's correctly this way, maybe not. With the TT api these functions are called i.e. when the slot state changes. I did never see any log entries in TsWriter.log like "OnKncCiState...".

    Or are there other ways to query CI slot states, that are defined in kncbdaci.h (like KNC_BDA_CI_STATE_INITIALIZING)?

    As I don't have a KNC1 card, can someone test the appended TsWriter.ax and post log files here?

    Test 1:
    - Refactored the library release part
    - Added some more logging on init
    - Added logging of Pointer structure to see if they are set
    - Added GetName function (just a test...)

    Test 2:
    - Modified the Callback structure; functions where already pointers, so I remove & operator. Hopefully callbacks are now working

    Test 3:
    - Fix logging of IsReady/Available (where pointers instead of value, thank you misterd!)
    - Logging of CI IsReady after sending PMT
    - Added Sleep calls to SendPMT function (just for testing...)

    Test 4:
    - replaced kncdba dll with a (newer?) one from "another dvb prog"
    - after PMT is sent to CAM, the function sleeps for 2 seconds, 100ms steps

    Edit 2009/01/07:
    - added modified sources and KNC api dll from test 4

    Test 5: (2009/01/24)
    - added modified version; detects card properly and also CAM changes (put in, pull out)...

    Edit 2009/01/25:
    - added patch for handling multiple KNC cards
    - CAM Handling improved. If slot is present but no CAM inserted, there was an error. Even with FTA channels, for the SendPMT all retries failed and "cannot build graph" error occured.
    - source and binary attached

    Edit 2009/01/31:
    - CI handling now works partitially :)
    - used handling of twinhan cards, as both require a CA_PMT

    Edit 2009/02/01:
    - no code changes
    - added some files, maybe latest public svn didn't include the latest knc api dll?
    - removed older test files

    Edit 2009/02/13:
    - removed old single patches as they are included in svn starting with this build:
    https://forum.team-mediaportal.com/...t-02-10-2009-15-53h-revision-21688-rar-54592/

    Morpheus_xx
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    I've a KNC but no CAM at the moment. So i hope misterd or MyPVR or somebody else will test it. Thanks that you try it.
     

    Toddi

    MP Donator
  • Premium Supporter
  • December 29, 2008
    54
    18
    Kiel
    Home Country
    Germany Germany
    I've a KNC DVB-C with CI and Alphacrypt light 3.16
    Here are two logs, they start with showing a free channel, than a crypted channel and at the end a free channel.
    I hope, it will help you and maybe you can find a solution.
    :D
     

    misterd

    Retired Team Member
  • Premium Supporter
  • April 4, 2006
    1,597
    314
    Home Country
    Germany Germany
    Some weeks I did some more tests with KayDiefenthal as I also don't have a KNC card. According to a dev from TvCentral it seems that it is a timing issue, but unfortunately we don't know which timing is wrong.

    MisterD.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    ok, timing could be a problem.

    could it also be some issue with the dll call?
    Code:
    29-12-2008 21:27:18.00 KNCBDA_CI_SendPMTCommand PMTLength:82, result:1
    29-12-2008 21:27:18.00 KNCBDA_CI_IsAvailable [B]85649660[/B]
    29-12-2008 21:27:18.00 KNCBDA_CI_IsReady [B]85649660[/B]
    29-12-2008 21:27:18.00 KNCBDA_CI_IsReady [B]85649660[/B]

    this strange numbers as function result I've seen in different logs. There should be only 0 or 1 for IsAvailable / IsReady.

    so could be there a memory problem?
     

    Users who are viewing this thread

    Top Bottom