Unknown error occurd (1 Viewer)

C

CypherMK

Guest
MediaPortal Version: 1.20 RC
MediaPortal Skin: Black Glass Nova
Windows Version: Windows 7 + SP1
CPU Type: Intel I3 2100
HDD: SSD OCZ Agility 60 GB + WD 1.5 TB (Green)
Memory: 4GB DDR3
Motherboard: Asus P8H67 EVO
Video Card: Sapphire 6570 (Passive)
Video Card Driver: 11.8
Sound Card:
Sound Card AC3:
Sound Card Driver: Latest
1. TV Card: Floppy DTV
1. TV Card Type: DVB-C
1. TV Card Driver: Latest
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: SAF 6
MPEG2 Audio Codec: SAF 6
h.264 Video Codec: SAF 6
Satelite/CableTV Provider:
HTPC Case: Antec Fusion Remote
Cooling: Scythe
Power Supply:
Remote: Gyration remote
TV: Samsung Plasma 50"
TV - HTPC Connection: HDMI + HDMI Detective

Hi all,

I got this problem this morning: unknown error occurd.

This happend, when I turned on my HTPC from sleep mode. Tuning through the TV guide didn't work and restarting Mediaportal didn't work either. When I did a fresh restart everything worked again. Logs attached.

P.s.: I also got more weird errors. Like: TV channel not found (but when I try again it works.) or: start timeshifting doesn't work (resolves when I try again). All errors occur randomly. Like when I have watched a movie. Or when my PC is turned on all day. But I don't have logs for these yet.

:D
 

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Hi again CyberMK

    It looks to me like a problem with your CAM, or perhaps your FloppyDTV - likely related to standby+resume cycles. When it woke from standby it first did not recognise the CAM:
    [COLLAPSE]2011-09-01 07:28:29.995543 [PowerEventThread(9)]: FireDTV:GetCAMStatus() failed 0x80070002

    2011-09-01 07:28:29.995543 [PowerEventThread(9)]: FireDTV:GetCAMStatus() finished

    2011-09-01 07:28:29.995543 [PowerEventThread(9)]: FireDTV cam detected : False

    2011-09-01 07:28:29.996543 [PowerEventThread(9)]: FireDTV driver version: 5.0 (6070-3000)

    2011-09-01 07:28:29.996543 [PowerEventThread(9)]: FireDTV:GetFirmwareVersion() failed 0x80070002

    2011-09-01 07:28:29.996543 [PowerEventThread(9)]: FireDTV board version :

    2011-09-01 07:28:29.996543 [PowerEventThread(9)]: Digital Everywhere card detected

    2011-09-01 07:28:29.997543 [PowerEventThread(9)]: FireDTV:GetCAMStatus() failed 0x80070002[/COLLAPSE]

    After that, it would not tune to anything, giving this error:
    dvb: RunGraph returns: 0x8007001F

    TV Server tried to automatically reset the CAM:
    [COLLAPSE]2011-09-01 07:28:40.761158 [(7)]: FireDTV:GetCAMStatus() failed 0x8007001F

    2011-09-01 07:28:40.762159 [(7)]: FireDTV:ResetCAM()

    2011-09-01 07:28:40.762159 [(7)]: FireDTV:ResetCAM() failed 0x8007001F

    2011-09-01 07:28:40.763159 [(7)]: FireDTV:GetCAMStatus() finished

    2011-09-01 07:28:40.763159 [(7)]: CiMenuSupported card FireDTV BDA Tuner DVBC supported: True

    2011-09-01 07:28:40.763159 [(7)]: FireDTV:GetCAMStatus() failed 0x8007001F

    2011-09-01 07:28:40.763159 [(7)]: FireDTV:ResetCAM()

    2011-09-01 07:28:40.764159 [(7)]: FireDTV:ResetCAM() failed 0x8007001F[/COLLAPSE]

    ...but that also failed.

    Occasionally I see:
    [FireDTV CiMenuHandler(16)]: FireDTV: error reading CI state.

    So the tuner driver might be needing more time to reinitialise, or it needs to be reset using devcon or similar. Possibly your CAM needed to be reinserted, or the smartcard needed to go in the STB for awhile (not sure if the FloppyDTV handles the card updates). If it were me, I would write a script to reset the tuner driver with devcon commands each time the PC resumes from sleep. It might take longer to resume, but at least you would probably avoid these problems.

    mm
     
    C

    CypherMK

    Guest
    Hi again CyberMK

    It looks to me like a problem with your CAM, or perhaps your FloppyDTV - likely related to standby+resume cycles. When it woke from standby it first did not recognise the CAM:
    [COLLAPSE]2011-09-01 07:28:29.995543 [PowerEventThread(9)]: FireDTV:GetCAMStatus() failed 0x80070002

    2011-09-01 07:28:29.995543 [PowerEventThread(9)]: FireDTV:GetCAMStatus() finished

    2011-09-01 07:28:29.995543 [PowerEventThread(9)]: FireDTV cam detected : False

    2011-09-01 07:28:29.996543 [PowerEventThread(9)]: FireDTV driver version: 5.0 (6070-3000)

    2011-09-01 07:28:29.996543 [PowerEventThread(9)]: FireDTV:GetFirmwareVersion() failed 0x80070002

    2011-09-01 07:28:29.996543 [PowerEventThread(9)]: FireDTV board version :

    2011-09-01 07:28:29.996543 [PowerEventThread(9)]: Digital Everywhere card detected

    2011-09-01 07:28:29.997543 [PowerEventThread(9)]: FireDTV:GetCAMStatus() failed 0x80070002[/COLLAPSE]

    After that, it would not tune to anything, giving this error:
    dvb: RunGraph returns: 0x8007001F

    TV Server tried to automatically reset the CAM:
    [COLLAPSE]2011-09-01 07:28:40.761158 [(7)]: FireDTV:GetCAMStatus() failed 0x8007001F

    2011-09-01 07:28:40.762159 [(7)]: FireDTV:ResetCAM()

    2011-09-01 07:28:40.762159 [(7)]: FireDTV:ResetCAM() failed 0x8007001F

    2011-09-01 07:28:40.763159 [(7)]: FireDTV:GetCAMStatus() finished

    2011-09-01 07:28:40.763159 [(7)]: CiMenuSupported card FireDTV BDA Tuner DVBC supported: True

    2011-09-01 07:28:40.763159 [(7)]: FireDTV:GetCAMStatus() failed 0x8007001F

    2011-09-01 07:28:40.763159 [(7)]: FireDTV:ResetCAM()

    2011-09-01 07:28:40.764159 [(7)]: FireDTV:ResetCAM() failed 0x8007001F[/COLLAPSE]

    ...but that also failed.

    Occasionally I see:
    [FireDTV CiMenuHandler(16)]: FireDTV: error reading CI state.

    So the tuner driver might be needing more time to reinitialise, or it needs to be reset using devcon or similar. Possibly your CAM needed to be reinserted, or the smartcard needed to go in the STB for awhile (not sure if the FloppyDTV handles the card updates). If it were me, I would write a script to reset the tuner driver with devcon commands each time the PC resumes from sleep. It might take longer to resume, but at least you would probably avoid these problems.

    mm



    Sent from my GT-I9000 using Tapatalk

    Thx for the reply.

    I never heard of devcon commands. Could you write it for me? :)

    :D
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Hi again

    No, I can't write it for you as I don't know the device path of your tuner. It is not hard to do - the download and documentation are -->here<--.

    mm
     
    C

    CypherMK

    Guest
    Hi again

    No, I can't write it for you as I don't know the device path of your tuner. It is not hard to do - the download and documentation are -->here<--.

    mm

    According to your link, devcon isn't supported by windows 7, but I will try anyway
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    The two available there are for 32 bit and Itanium systems. If you're running 7 64 bit then you need the one that is attached.

    [Edit: I see what they say. The page is just out of date. :)]
     

    Attachments

    • devcon[64bit].zip
      24.4 KB
    C

    CypherMK

    Guest
    Hi again,

    Before I tried to mess with devcon, I got the same error this morning.

    Now I manually restarted the TV service. Then my TV works again!

    Seems a bit strange to me. Because I checked the power scheduler option : reinitialise service on wakeup (also reinitialises tuner)

    So is this a mediaportal bug?

    :D

    Sent from my GT-I9000 using Tapatalk
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Hi again

    No I don't think it is a bug. I can see from your earlier logs that TV Server was shut down before standby and restarted after resume.

    I go back to what I said earlier. There are two potential problems:
    1. Tuner driver can't handle lots of standby-resume cycles well.
    2. Tuner driver needs more time to initialise after resuming.

    The solutions are different:
    1. devcon.
    2. Increase the delay before TV Server detects cards (wiki - "delay in seconds before TV Server detects cards").

    My suspicion based on other FloppyDTV threads I've seen was that you were seeing problem 1, but it is entirely possible that you have problem 2. In that case, apply the solution for problem 2 and see if it works.

    mm
    PS: the fact that you have turned on preloading for the FloppyDTV is possibly a factor. This forces the tuner driver to initialise very fast - maybe before it is ready.
     
    C

    CypherMK

    Guest
    Hi again

    No I don't think it is a bug. I can see from your earlier logs that TV Server was shut down before standby and restarted after resume.

    I go back to what I said earlier. There are two potential problems:
    1. Tuner driver can't handle lots of standby-resume cycles well.
    2. Tuner driver needs more time to initialise after resuming.

    The solutions are different:
    1. devcon.
    2. Increase the delay before TV Server detects cards (wiki - "delay in seconds before TV Server detects cards").

    My suspicion based on other FloppyDTV threads I've seen was that you were seeing problem 1, but it is entirely possible that you have problem 2. In that case, apply the solution for problem 2 and see if it works.

    mm
    PS: the fact that you have turned on preloading for the FloppyDTV is possibly a factor. This forces the tuner driver to initialise very fast - maybe before it is ready.

    :D for the support! I will try when I get home from work.

    Sent from my GT-I9000 using Tapatalk
     
    C

    CypherMK

    Guest
    Hi,

    I went for option 2 yesterday. Until now, I don't have any errors yet. Fingers crossed, it stays that way!

    Sent from my GT-I9000 using Tapatalk
     

    Users who are viewing this thread

    Top Bottom