Technotrend cards (e.g. TT S2-3200) don't work after standby/hibernate (1 Viewer)

MPUserFromGER

MP Donator
  • Premium Supporter
  • July 31, 2006
    403
    3
    Germany
    Home Country
    Germany Germany
    Hi guys,

    unfortunately, I was a little bit too quick with my statement yesterday, when I said "it works". It worked exactly one and now it doesn't work anymore.

    scoop: I need your help because I think I am back to the following problem that I have seen earlier already:

    After standby, the TT card is now properly initialized. However, when selecting "MyTV" in MP, it takes very long and then MP shows "no video/auio detected". In the log you can see

    27.03.2007 07:45:49 subch:0 wait for pmt 64

    very often.

    If I then just close MP and open the TV server setup console, go to "manual control" and start timeshift, the timeshift works. I stop the timeshift, close the TV server setup and reopen MP again and now MyTV works. So the manual timeshiftativation in the TV server seems to fix the issue...

    So there seems to be one last glitch, where the TV server seems to miss something...

    Could you please have a look at the attached trcaes?

    Other than that: Great work!!!
     

    MPUserFromGER

    MP Donator
  • Premium Supporter
  • July 31, 2006
    403
    3
    Germany
    Home Country
    Germany Germany
    Hi,

    this problem is turning really nasty :confused:

    I did some further tests and what I have found is that it works occasionally. That means every other time it does not work...

    If it does not work, there are two different scenarios:
    1. When activating MyTV in MediaPortal after some times a popup shows "unknown error occured"
    2. When activating MyTV in MediaPortal after some times a popup shows "no audio/video detected".

    Case #1:
    In the tv server error log you see:
    27.03.2007 20:43:47 Exception :confused:ystem.InvalidCastException: Das COM-Objekt des Typs "MpTsAnalyzer" kann nicht in den Schnittstellentyp "TvLibrary.Interfaces.Analyzer.ITsFilter" umgewandelt werden. Dieser Vorgang konnte nicht durchgeführt werden, da der QueryInterface-Aufruf an die COM-Komponente für die Schnittstelle mit der IID "{5EB9F392-E7FD-4071-8E44-3590E5E767BA}" aufgrund des folgenden Fehlers nicht durchgeführt werden konnte: Schnittstelle nicht unterstützt (Ausnahme von HRESULT: 0x80004002 (E_NOINTERFACE)).
    bei TvLibrary.Implementations.DVB.TvDvbChannel..ctor(IFilterGraph2 graphBuilder, ConditionalAccess& ca, IBaseFilter mdapiFilter, IBaseFilter tif, IBaseFilter tsWriter, Int32 subChannelId)
    bei TvLibrary.Implementations.DVB.TvCardDvbBase.GetNewSubChannel(IChannel channel)
    bei TvLibrary.Implementations.DVB.TvCardDvbBase.SubmitTuneRequest(Int32 subChannelId, IChannel channel, ITuneRequest tuneRequest)
    bei TvLibrary.Implementations.DVB.TvCardDVBS.Tune(Int32 subChannelId, IChannel channel)
    bei TvService.TvCard.Tune(User& user, IChannel channel, Int32 idChannel)
    27.03.2007 20:43:47 Exception :Das COM-Objekt des Typs "MpTsAnalyzer" kann nicht in den Schnittstellentyp "TvLibrary.Interfaces.Analyzer.ITsFilter" umgewandelt werden. Dieser Vorgang konnte nicht durchgeführt werden, da der QueryInterface-Aufruf an die COM-Komponente für die Schnittstelle mit der IID "{5EB9F392-E7FD-4071-8E44-3590E5E767BA}" aufgrund des folgenden Fehlers nicht durchgeführt werden konnte: Schnittstelle nicht unterstützt (Ausnahme von HRESULT: 0x80004002 (E_NOINTERFACE)).
    27.03.2007 20:43:47 site :Void .ctor(DirectShowLib.IFilterGraph2, TvLibrary.Implementations.DVB.ConditionalAccess ByRef, DirectShowLib.IBaseFilter, DirectShowLib.IBaseFilter, DirectShowLib.IBaseFilter, Int32)
    27.03.2007 20:43:47 source :TVLibrary
    27.03.2007 20:43:47 stacktrace: bei TvLibrary.Implementations.DVB.TvDvbChannel..ctor(IFilterGraph2 graphBuilder, ConditionalAccess& ca, IBaseFilter mdapiFilter, IBaseFilter tif, IBaseFilter tsWriter, Int32 subChannelId)
    bei TvLibrary.Implementations.DVB.TvCardDvbBase.GetNewSubChannel(IChannel channel)
    bei TvLibrary.Implementations.DVB.TvCardDvbBase.SubmitTuneRequest(Int32 subChannelId, IChannel channel, ITuneRequest tuneRequest)
    bei TvLibrary.Implementations.DVB.TvCardDVBS.Tune(Int32 subChannelId, IChannel channel)
    bei TvService.TvCard.Tune(User& user, IChannel channel, Int32 idChannel)

    Any idea what that could mean?
    If this problem occurs, the TV server cannot be stopped any more and therefore, the PC has to be restarted.


    In case #2, I have recognized the following:
    27.03.2007 19:31:07 Controller: StartTimeShifting ProSieben 604
    27.03.2007 19:31:07 Controller: find free card for channel ProSieben
    27.03.2007 19:31:07 Controller: got 1 tuning details for ProSieben
    27.03.2007 19:31:07 Controller: card:8 type:DvbS is available priority:1 #users:0 same transponder:False
    27.03.2007 19:31:07 card: CardTune 8 ProSieben htpc:8:-1
    27.03.2007 19:31:07 card:Tune 8 to ProSieben
    27.03.2007 19:31:07 card:user:htpc:8:-1 tune DVBS:tv:proSiebenSat.1 ProSieben Freq:12480000 ONID:133 TSID:33 SID:898 PMT:64 FTA:True LCN:10000 SymbolRate:27500 Modulation:ModNotSet Polarisation:LinearV InnerFecRate:RateNotSet DisEqc:confused:impleA band:Universal
    27.03.2007 19:31:07 dvbs: Tune:DVBS:tv:proSiebenSat.1 ProSieben Freq:12480000 ONID:133 TSID:33 SID:898 PMT:64 FTA:True LCN:10000 SymbolRate:27500 Modulation:ModNotSet Polarisation:LinearV InnerFecRate:RateNotSet DisEqc:confused:impleA band:Universal
    27.03.2007 19:31:07 LNB low:9750 hi:10600 switch:11700
    27.03.2007 19:31:07 Technotrend: already tuned to diseqc:confused:impleA, frequency:12480000, polarisation:LinearV
    27.03.2007 19:31:08 dvb:GetNewSubChannel:0 #0
    27.03.2007 19:31:08 dvb:confused:ubmit tunerequest size:1 new:0
    27.03.2007 19:31:08 subch:0 OnBeforeTune
    27.03.2007 19:31:08 subch:0 RunGraph: already running
    27.03.2007 19:31:08 subch:0 SetupPmtGrabber:pid 64 sid:382
    27.03.2007 19:31:08 subch:0 set pmt grabber pmt:64 sid:382
    27.03.2007 19:31:08 subch:0 wait for pmt 64
    27.03.2007 19:31:08 subch:0 wait for pmt 64
    27.03.2007 19:31:08 subch:0 wait for pmt 64
    27.03.2007 19:31:08 subch:0 wait for pmt 64
    27.03.2007 19:31:08 subch:0 wait for pmt 64
    27.03.2007 19:31:08 subch:0 wait for pmt 64
    27.03.2007 19:31:08 subch:0 wait for pmt 64

    If case #2 happens, opening the TV server and activating manual time shift fixes the problem!

    If you compare the good case versus the bad case for case #2, you will see the the "-1" value in the line
    27.03.2007 19:31:07 card:user:htpc:8:-1 tune DVBS:tv:proSiebenSat.1 ProSieben Freq:12480000 ONID:133 TSID:33 SID:898 PMT:64 FTA:True LCN:10000 SymbolRate:27500 Modulation:ModNotSet Polarisation:LinearV InnerFecRate:RateNotSet DisEqc:confused:impleA band:Universal

    is a "0" in the good case.

    Any ideas what that could mean?
     

    MPUserFromGER

    MP Donator
  • Premium Supporter
  • July 31, 2006
    403
    3
    Germany
    Home Country
    Germany Germany
    Is there nobody from the developers that can explain, why the dvb-s card is sometimes tuned to a "-1" instead of a "0" as mentioned above?

    Are there any other users experiencing this issue?

    Are there any user, who have the TVE3 with Technotrend cards and PowerScheduler up and running without issues?
     

    probus

    Portal Member
    February 25, 2007
    6
    0
    Home Country
    Finland Finland
    Well, I finally got the time to install new tv-engine, but I'm not too happy with the results. First of all the mediaplayer ui is somewhat screwed up, I get graphics errors on all the buttons. The tv-server seems to use a lot more memory than the old one used to, so my system is running out of memory, and mediaportal takes ages to start up. I probably could reduce the amount of memory used elsewhere and even buy some more though, if all else would work.
    The system hangs when waking up from standby, I wont even get a picture on the screen. This happens even when mediaportal is not running, as long as the tv-server is. Do I have to configure something in the tv-server for this to work on tt-cards? I'm using a technotrend c-1500 card without a cam.
    At least it found all the channels and I'm getting a picture.. I must not have done all wrong.
     

    probus

    Portal Member
    February 25, 2007
    6
    0
    Home Country
    Finland Finland
    I did some more testing today and I'm just about to go back to old tv engine and stable release..
    I don't know where to report problems with the svn-versions, but the version I have is really unusable in general.
    The tv-server hangs the whole system after wake up and even after hibernate, with no tv-server running everything works. At least with tve2 it didn't hang the whole system. I'm not sure what logs to post since I can't find anything about wake-up in any of them, and I seriously think there is too many log files around. It's just confusing..
    The batch-file I found here doesn't seem to get executed, so I'm not sure if I understood what to do with it. Is there any way to check this?
     

    MPUserFromGER

    MP Donator
  • Premium Supporter
  • July 31, 2006
    403
    3
    Germany
    Home Country
    Germany Germany
    All,

    I am still facing the "unknown error" after the PC comes out of standby/hibernate. I am using todays SVN and TVE3 with the Technotrend S2-3200.

    scoop:
    If you look into the attached logs, you can see the following strange behaviour:

    From "tv.log"
    05.04.2007 23:01:50 PowerScheduler: System has resumed automatically from standby
    05.04.2007 23:02:16 PowerScheduler.SetStandbyAllowed: True PowerSchedulerClientPlugin
    05.04.2007 23:02:16 PowerScheduler.SetNextWakeupTime: 31.12.9999 23:59:59 PowerSchedulerClientPlugin
    05.04.2007 23:02:20 Controller: epg start
    05.04.2007 23:02:20 PowerScheduler: System has resumed from standby
    05.04.2007 23:02:20 Starting external command: C:\Programme\Tools\Hibernate Trigger\TT-driver.bat wakeup
    05.04.2007 23:02:22 Controller: StartTimeShifting ProSieben 169

    Why does the PowerScheduler detects that the PC has resumed from standby twice (23:01:50 and 23:02:20)?

    This causes the very late execution of the external batch file (32 seconds after resume from hibernate) and therefore might interfere with the "start timeshift" command trigger by selecting MyTV in MP.

    If I look into the windows event manager console after the "unknown error" occured, I can see the following error entry:
    PowerEvent wurde nicht verarbeitet. Aufgetretener Fehler: System.ObjectDisposedException: Auf das verworfene Objekt kann nicht zugegriffen werden.
    Objektname: Timer.
    bei System.Timers.Timer.set_Enabled(Boolean value)
    bei TvEngine.PowerScheduler.PowerScheduler.ResetAndEnableTimer()
    bei TvEngine.PowerScheduler.PowerScheduler.OnPowerEvent(PowerBroadcastStatus powerStatus)
    bei TvService.Service1.OnPowerEvent(PowerBroadcastStatus powerStatus)
    bei System.ServiceProcess.ServiceBase.DeferredPowerEvent(Int32 eventType, IntPtr eventData)

    Weitere Informationen über die Hilfe- und Supportdienste erhalten Sie unter http://go.microsoft.com/fwlink/events.asp.

    It looks like that the TVserver kind of restarts...

    Please help.
     

    MPUserFromGER

    MP Donator
  • Premium Supporter
  • July 31, 2006
    403
    3
    Germany
    Home Country
    Germany Germany
    Hi Scoop,

    please read my last thread first.
    However, I think I have figured out what the problem is.

    At 23:02:20, when the TV server detects the second time that the PC has resumed from standby, I can see the following in the MediaPortal log file:
    2007-04-05 23:02:20.906250 [Info.][.NET SystemEvents]: ExternalDisplay: Resume from Suspend or Hibernation detected, starting plugin
    2007-04-05 23:02:20.906250 [Info.][.NET SystemEvents]: ExternalDisplay plugin starting...
    2007-04-05 23:02:20.937500 [Info.][MPMain]: Main: WM_POWERBROADCAST: 7
    2007-04-05 23:02:20.937500 [Info.][MPMain]: Main: Windows has resumed from hibernate mode

    I think I have pressed the MyTV button exactly that time and it was the first button press in MP after the PC has resumed.

    Assumption:
    The first button press, or is it the update of the exernal display?, seems to trigger a new power event. The TV server then executes the TV card reinit, what t should have done already when it detected the resume the first time.

    I am reall looking forward to your answer and I hope that we can nail that issue finally down.
     

    Muldini

    Retired Team Member
  • Premium Supporter
  • February 11, 2007
    206
    0
    Home Country
    Germany Germany
    TechnoTrend Beta Driver

    Hey guys,

    i just received an unofficial beta driver from technotrend and wanted to ask if those that sent a support ticket to them received it aswell?

    I tested it and it doesn't solve the issue for me, before sending them an answer I wanted to know if u got anything working if you got it aswell.

    Before asking me to send it to you, im not allowed to forward it and i wont do it, its nice enough of them to send beta drivers to test. (Even though ofc there shouldnt be the need and they should provide decent drivers for the public :) )


    Kind Regards,
    Muldini
     

    mrmojo666

    MP Donator
  • Premium Supporter
  • January 24, 2006
    603
    182
    Turin
    Home Country
    Italy Italy
    Hey Muldini, i'm happy to read technotrend answer to your ticket :)

    good luck for your work, hope that's the right way to get TT working after stanby.

    :)
     

    MPUserFromGER

    MP Donator
  • Premium Supporter
  • July 31, 2006
    403
    3
    Germany
    Home Country
    Germany Germany
    Hi Muldini,

    I did not receive anything from TT :-(
    However, if it didn't help you I think it does not help me either...
     

    Users who are viewing this thread

    Top Bottom