No free card available error after sleep - Windows 10 (1 Viewer)

SDD220

Portal Member
August 24, 2015
5
1
81
Home Country
United States of America United States of America
I just upgraded to Windows 10 (64 bit), and have been trying to get Media Portal working so I can continue using my Ceton Infinitv PC 4 tuner just to to record and view programs from Comcast digital cable on the same computer that has the PC card installed.(Everything worked before with Windows 8.1 and Windows Media Center.)

Media Portal works well for me except that I keep getting a “no free card available” message after the computer recovers from sleep mode. Stopping and restarting the TV server, or using the shell commands “net stop TVservice” followed by “net start TVservice,” gets Media Portal working again. I won’t be able to depend on being able to schedule recordings with this problem. I have tried just about everything I can think of to correct this, with no success.

Any suggestions for what the problem might be and how to correct it would be appreciated. I am attaching the logs.
 

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Hello and welcome :)

    Media Portal works well for me except that I keep getting a “no free card available” message after the computer recovers from sleep mode.
    I see what you're saying, but your log files seem to show that it isn't quite that clear cut.

    For example, the latest cycle...

    Suspend:
    [2015-08-24 10:30:11,735] [Log ] [PowerEventThread] [DEBUG] - TV service PowerEventThread received WM_POWERBROADCAST 4
    [2015-08-24 10:30:11,735] [Log ] [PowerEventThread] [DEBUG] - OnPowerEvent: PowerStatus: Suspend
    [2015-08-24 10:30:11,735] [Log ] [PowerEventThread] [DEBUG] - OnPowerEventHandler: PowerStatus: Suspend
    [2015-08-24 10:30:11,735] [Log ] [PowerEventThread] [INFO ] - TvController.OnSuspend()

    Resume:
    [2015-08-24 10:36:26,896] [Log ] [PowerEventThread] [DEBUG] - TV service PowerEventThread received WM_POWERBROADCAST 7
    [2015-08-24 10:36:38,201] [Log ] [PowerEventThread] [DEBUG] - OnPowerEvent: PowerStatus: ResumeSuspend
    [2015-08-24 10:36:38,201] [Log ] [PowerEventThread] [DEBUG] - OnPowerEventHandler: PowerStatus: ResumeSuspend
    [2015-08-24 10:36:38,419] [Log ] [PowerEventThread] [INFO ] - TvController.OnResume()

    Successful tune attempt:
    [2015-08-24 10:37:41,719] [Log ] [37 ] [INFO ] - Controller: find free card for channel CNN HD
    ...
    [2015-08-24 10:37:54,217] [Log ] [37 ] [INFO ] - card: WaitForFile - video and audio are seen after 0.0392319 seconds

    Successful tune attempt:
    [2015-08-24 10:55:21,694] [Log ] [42 ] [INFO ] - Controller: find free card for channel CNN HD
    ...
    [2015-08-24 10:55:22,649] [Log ] [42 ] [INFO ] - card: WaitForFile - video and audio are seen after 0.0900582 seconds


    It is only after this that you start to see the "no free card" messages:
    [collapse]
    [2015-08-24 11:13:05,220] [Log ] [43 ] [INFO ] - Controller: find free card for channel CNN HD
    [2015-08-24 11:13:05,220] [Log ] [43 ] [INFO ] - Controller: find card for channel CNN HD
    [2015-08-24 11:13:05,221] [Log ] [43 ] [INFO ] - Controller: got 1 tuning details for CNN HD
    [2015-08-24 11:13:05,221] [Log ] [43 ] [INFO ] - Controller: channel #1 ATSC:tv:Cable CNN HD Freq:66000 ONID:16141 TSID:0 SID:2 PMT:0x4D FTA:False LCN:3 phys:3 maj:842 min:0 mod:Mod256Qam
    [2015-08-24 11:13:05,221] [Log ] [43 ] [INFO ] - Controller: card:1 type:RadioWebStream cannot tune to channel
    [2015-08-24 11:13:05,221] [Log ] [43 ] [INFO ] - Controller: card:2 type:DvbIP cannot tune to channel
    [2015-08-24 11:13:05,221] [Log ] [43 ] [INFO ] - Controller: card:7 type:DvbIP cannot tune to channel
    [2015-08-24 11:13:05,222] [Log ] [43 ] [INFO ] - Controller: card:8 type:DvbIP cannot tune to channel
    [2015-08-24 11:13:05,222] [Log ] [43 ] [INFO ] - Controller: card:9 type:DvbIP cannot tune to channel
    [2015-08-24 11:13:05,222] [Log ] [43 ] [ERROR] - card: unable to connect to slave controller at:Tachyon
    [2015-08-24 11:13:05,229] [Log ] [43 ] [ERROR] - card: unable to connect to slave controller at:Tachyon
    [2015-08-24 11:13:05,230] [Log ] [43 ] [ERROR] - card: unable to connect to slave controller at:Tachyon
    [2015-08-24 11:13:05,230] [Log ] [43 ] [ERROR] - card: unable to connect to slave controller at:Tachyon
    [2015-08-24 11:13:05,231] [Log ] [43 ] [INFO ] - Controller: found 0 card(s) for channel
    [2015-08-24 11:13:05,231] [Log ] [43 ] [INFO ] - AdvancedCardAllocation.GetAvailableCardsForChannel took 10 msec
    [2015-08-24 11:13:05,232] [Log ] [43 ] [INFO ] - Controller: found 0 free card(s)[/collapse]

    You see those messages because TV Server has detected that your tuner was removed prior to the tune attempt:
    [collapse][2015-08-24 11:00:31,744] [Log ] [41 ] [INFO ] - UPnP device Ceton InfiniTV PCIe (00-80-54-46) removed
    [2015-08-24 11:00:31,745] [Log ] [41 ] [INFO ] - remove Ceton InfiniTV PCIe (00-80-54-46) Tuner 1 uuid:89333102-EBE5-11D8-AC9A-000008054461
    [2015-08-24 11:00:31,748] [Log ] [41 ] [INFO ] - Controller: remove device Ceton InfiniTV PCIe (00-80-54-46) Tuner 1 uuid:89333102-EBE5-11D8-AC9A-000008054461
    [2015-08-24 11:00:31,750] [Log ] [41 ] [INFO ] - dvb:Decompose
    [2015-08-24 11:00:31,751] [Log ] [41 ] [INFO ] - tvcard:FreeAllSubChannels
    [2015-08-24 11:00:31,752] [Log ] [41 ] [INFO ] - stop
    [2015-08-24 11:00:31,853] [Log ] [41 ] [INFO ] - Disposing ConditionalAccess
    [2015-08-24 11:00:31,855] [Log ] [41 ] [INFO ] - free...
    [2015-08-24 11:00:31,855] [Log ] [41 ] [INFO ] - free pins...
    [2015-08-24 11:00:31,860] [Log ] [41 ] [INFO ] - free graph...
    [2015-08-24 11:00:31,868] [Log ] [41 ] [INFO ] - Remove filter from graph: MediaPortal Ts Analyzer
    [2015-08-24 11:00:31,873] [Log ] [41 ] [INFO ] - Remove filter from graph: DRI Source Filter
    [2015-08-24 11:00:31,874] [Log ] [41 ] [INFO ] - free devices...
    [2015-08-24 11:00:31,875] [Log ] [41 ] [INFO ] - decompose done...
    [2015-08-24 11:00:31,876] [Log ] [41 ] [INFO ] - DRI CC: remove source filter
    [2015-08-24 11:00:32,077] [Log ] [13 ] [DEBUG] - DRI CC: device 3 state variable CurrentConnectionIDs for service schemas-upnp-org:device:MediaServer:1.schemas-upnp-org:service:ConnectionManager:1 changed to
    [2015-08-24 11:00:32,109] [Log ] [41 ] [INFO ] - Info.: UPnPServerController: GENA disabled for IP endpoint '192.168.200.2'
    [2015-08-24 11:00:32,113] [Log ] [41 ] [INFO ] - remove Ceton InfiniTV PCIe (00-80-54-46) Tuner 2 uuid:89333102-EBE5-11D8-AC9A-000008054462
    [2015-08-24 11:00:32,114] [Log ] [41 ] [INFO ] - Controller: remove device Ceton InfiniTV PCIe (00-80-54-46) Tuner 2 uuid:89333102-EBE5-11D8-AC9A-000008054462
    [2015-08-24 11:00:32,114] [Log ] [41 ] [INFO ] - DRI CC: remove source filter
    [2015-08-24 11:00:32,115] [Log ] [41 ] [INFO ] - remove Ceton InfiniTV PCIe (00-80-54-46) Tuner 3 uuid:89333102-EBE5-11D8-AC9A-000008054463
    [2015-08-24 11:00:32,115] [Log ] [41 ] [INFO ] - Controller: remove device Ceton InfiniTV PCIe (00-80-54-46) Tuner 3 uuid:89333102-EBE5-11D8-AC9A-000008054463
    [2015-08-24 11:00:32,115] [Log ] [41 ] [INFO ] - DRI CC: remove source filter
    [2015-08-24 11:00:32,116] [Log ] [41 ] [INFO ] - remove Ceton InfiniTV PCIe (00-80-54-46) Tuner 4 uuid:89333102-EBE5-11D8-AC9A-000008054464
    [2015-08-24 11:00:32,116] [Log ] [41 ] [INFO ] - Controller: remove device Ceton InfiniTV PCIe (00-80-54-46) Tuner 4 uuid:89333102-EBE5-11D8-AC9A-000008054464
    [2015-08-24 11:00:32,116] [Log ] [41 ] [INFO ] - DRI CC: remove source filter[/collapse]


    So, the key question in my mind would be: why would TV Server think your tuner had been removed?

    The only possible answers I can give to this question are:
    1. Your tuner said it was removed.
    2. Your network environment changed. For example, your PC's IP address changed.
     

    SDD220

    Portal Member
    August 24, 2015
    5
    1
    81
    Home Country
    United States of America United States of America
    The Ceton Infinitv tuner card was not removed at any point. I have no idea what created that appearance. The “no free card available error” has existed for weeks, ever since I first tried installing MP. But my many efforts to find a cure included complete reinstalls of MP (so the present logs would not go back very far). Also, yesterday, I installed a set of new Windows 10 drivers that I discovered were on the Dell website, including a new network driver. I thought at first it had cured the problem because it didn’t recur for a brief while afterward, but it eventually did appear, and the logs on 8/24 were from after the problem reappeared.

    Among the many things I tried at different times was changing the settings of the CetonTRIFSvc and CetonInfiniTVSvc services between “manual” and “automatic.” I’m not sure if that could have produced the entry showing the card missing.(Right now I have the "no free card available" error appearing and the two services "running" and on "automatic.")
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    The Ceton Infinitv tuner card was not removed at any point.
    Obviously it wasn't physically removed.

    Your tuner is effectively a network-attached device, even though it comes on a card that you plug into your PC. It can be virtually/logically "removed" (or removed from the perspective of other network devices) in the same way that any other network-attached device can be when [for example] it is power cycled, reconfigured etc. even though the physical network cable might never be unplugged at any point in time.

    This is why I mentioned the second possibility (about network environment change). I mean, if your tuner is a network-attached device, changes to your PC's network configuration (such as IP address) can affect the tuner (...because such changes affect the logical connection between your tuner and PC).

    Among the many things I tried at different times was changing the settings of the CetonTRIFSvc and CetonInfiniTVSvc services between “manual” and “automatic.”
    I don't know enough about Ceton tuners to know what those services are for. About all I can guess is that "TRIF" probably stands for "Tuning Resolver InterFace", and I can't imagine that would ever be relevant for connectivity/detection issues with MediaPortal's TV Server. By CableLabs design, only the tuner communicates directly with the TR/TA; TV Server can't even if it wanted to. So, it's like this:

    TV Server <--> Tuner <--> Tuning Adaptor
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Sorry, another thing too...
    In relation to the tuner "removal": have you considered whether that could be related to [PCIe] power management?
     

    SDD220

    Portal Member
    August 24, 2015
    5
    1
    81
    Home Country
    United States of America United States of America
    Thank you for the clarification. It begins to look like that last suggestion may have solved the problem.

    As for the patch, I had had installed it before collecting the error logs, but have tried it both with and without the patch at various times, without success. The logs I posted were with the patch installed.

    There are no power management options I could find on the panel and icon for the Ceton adapter icon in the Network and Sharing Center, but there are options for the Ceton card when running the Diagnostic tool for managing the card and its drivers. There was a “Windows away mode” option displayed in the panel for the Ceton Diagnostic Tool. It was unchecked, so I checked it and rebooted.

    Thus far, after that, my MP installation has survived about six or seven cycles of being put into sleep mode, and being revived later, and (unlike before) working without the “no card available” error. So it looks very promising that you identified the problem, and the way to solve it.

    I’ll have to test more and I’ll post in a few days whether the problem is totally fixed. But it looks very promising right now.
     

    SDD220

    Portal Member
    August 24, 2015
    5
    1
    81
    Home Country
    United States of America United States of America
    Using awake mode does prevent the problem.

    I actually tried a clean install of Windows 10, without any success fixing it that way. And I also briefly tried the JR Rivers trial version of their software and got similar messages.

    And today I discovered some old postings from 2012 on the web from other people having this problem with the Ceton 4 Pci card, using other media software. So, it appears that the problem has nothing to do with Media Portal or with Windows 10, but is purely something about the Ceton card, and power management is one possible bypass for now, while I check with Ceton support to find out if they just happen to have any firmware or other solution.

    Thanks for your help with this.
     

    Users who are viewing this thread

    Top Bottom