Normal
I own Technotrend C-1500 with CI and also have problems with resuming from stnadby. I have tryed proposed code and I have found that MediaPortal perform closing CI before standby and re-opening it after resume. Here is a part of MediaPortal.log[CODE]2007-03-22 13:11:03.656250 [Info.][MPMain]: Recorder: stop2007-03-22 13:11:03.828125 [Info.][6]: Recorder:Stop all tuners2007-03-22 13:11:03.828125 [Info.][6]: Recorder:Stop card:Hauppauge Nova-C2007-03-22 13:11:03.828125 [Info.][6]: TVCapture.Stop() Card:12007-03-22 13:11:03.828125 [Info.][6]: TVCapture.Stop() cardproperties.Dispose()2007-03-22 13:11:03.828125 [Info.][6]: Technotrend: closing2007-03-22 13:11:03.937500 [Info.][6]: Technotrend: close CI2007-03-22 13:11:03.937500 [Info.][6]: Technotrend: closed2007-03-22 13:11:03.937500 [Info.][6]: TVCapture.DeleteGraph() Card:12007-03-22 13:11:03.953125 [Info.][6]: DVBGraphBDA:DeleteGraph(). ac3=false2007-03-22 13:11:03.953125 [Info.][6]: DVBGraphBDA:DeleteGraph()2007-03-22 13:11:03.953125 [Info.][6]: DVBDemuxer: audio:0 video:0 teletext:0 pmt:0 subtitle:0 program:-12007-03-22 13:11:03.953125 [Info.][6]: vmr9:Dispose2007-03-22 13:11:03.953125 [Info.][6]: DVBGraphBDA:ReleaseComObject(m_StreamBufferSink):-12007-03-22 13:11:04.062500 [Info.][6]: Commandprocessor stopped2007-03-22 13:11:04.156250 [Info.][MPMain]: Main: Stopping AutoPlay2007-03-22 13:11:04.156250 [Info.][MPMain]: Main: OnSuspend - Done2007-03-22 13:11:04.359375 [Debug][MPMain]: PowerScheduler.WndProc: WM_POWERBROADCAST: 02007-03-22 13:11:04.359375 [Debug][MPMain]: PowerScheduler.WndProc: OnSuspend->StopTimer2007-03-22 13:11:04.406250 [Info.][MPMain]: Main: WM_POWERBROADCAST: 42007-03-22 13:11:04.406250 [Info.][MPMain]: Main: Windows is suspending2007-03-22 13:11:04.406250 [Debug][MPMain]: PowerScheduler.WndProc: WM_POWERBROADCAST: 42007-03-22 13:11:04.406250 [Debug][MPMain]: PowerScheduler.WndProc: OnSuspend->StopTimer[/CODE]Only difference: in your code bdaapiOpen function is used but in MediaPortal bdaapiOpenHWIdx. Now i'm waiting for Technotrend SDK, and after receiving it I will continue my experiments.
I own Technotrend C-1500 with CI and also have problems with resuming from stnadby. I have tryed proposed code and I have found that MediaPortal perform closing CI before standby and re-opening it after resume. Here is a part of MediaPortal.log[CODE]2007-03-22 13:11:03.656250 [Info.][MPMain]: Recorder: stop
2007-03-22 13:11:03.828125 [Info.][6]: Recorder:Stop all tuners
2007-03-22 13:11:03.828125 [Info.][6]: Recorder:Stop card:Hauppauge Nova-C
2007-03-22 13:11:03.828125 [Info.][6]: TVCapture.Stop() Card:1
2007-03-22 13:11:03.828125 [Info.][6]: TVCapture.Stop() cardproperties.Dispose()
2007-03-22 13:11:03.828125 [Info.][6]: Technotrend: closing
2007-03-22 13:11:03.937500 [Info.][6]: Technotrend: close CI
2007-03-22 13:11:03.937500 [Info.][6]: Technotrend: closed
2007-03-22 13:11:03.937500 [Info.][6]: TVCapture.DeleteGraph() Card:1
2007-03-22 13:11:03.953125 [Info.][6]: DVBGraphBDA:DeleteGraph(). ac3=false
2007-03-22 13:11:03.953125 [Info.][6]: DVBGraphBDA:DeleteGraph()
2007-03-22 13:11:03.953125 [Info.][6]: DVBDemuxer: audio:0 video:0 teletext:0 pmt:0 subtitle:0 program:-1
2007-03-22 13:11:03.953125 [Info.][6]: vmr9:Dispose
2007-03-22 13:11:03.953125 [Info.][6]: DVBGraphBDA:ReleaseComObject(m_StreamBufferSink):-1
2007-03-22 13:11:04.062500 [Info.][6]: Commandprocessor stopped
2007-03-22 13:11:04.156250 [Info.][MPMain]: Main: Stopping AutoPlay
2007-03-22 13:11:04.156250 [Info.][MPMain]: Main: OnSuspend - Done
2007-03-22 13:11:04.359375 [Debug][MPMain]: PowerScheduler.WndProc: WM_POWERBROADCAST: 0
2007-03-22 13:11:04.359375 [Debug][MPMain]: PowerScheduler.WndProc: OnSuspend->StopTimer
2007-03-22 13:11:04.406250 [Info.][MPMain]: Main: WM_POWERBROADCAST: 4
2007-03-22 13:11:04.406250 [Info.][MPMain]: Main: Windows is suspending
2007-03-22 13:11:04.406250 [Debug][MPMain]: PowerScheduler.WndProc: WM_POWERBROADCAST: 4
2007-03-22 13:11:04.406250 [Debug][MPMain]: PowerScheduler.WndProc: OnSuspend->StopTimer[/CODE]Only difference: in your code bdaapiOpen function is used but in MediaPortal bdaapiOpenHWIdx. Now i'm waiting for Technotrend SDK, and after receiving it I will continue my experiments.