MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Help on Development » Quality Assurance (Bugreports) » Archive » Bug Reports » 0.2.0.0 Final and SVN Builds


0.2.0.0 Final and SVN Builds Post bugs you have found in 0.2.0.0 final or any SVN-Snapshot here.

Reply
 
Thread Tools Display Modes
Old 2006-10-30, 14:56   #1 (permalink)
Portal Developer
 
ziphnor's Avatar
 
Join Date: Aug 2005
Location: Copenhagen
Age: 29
Posts: 725
Thanks: 0
Thanked 9 Times in 6 Posts

Country:

My System

Default CAM 'gone' after resume from standby (until MP restarted)

MediaPortal Version: SVN 30/10
Windows Version: Windows XP SP2
CPU Type: Athlon 64 3000+
HDD: Samsung Spinpoint 250GB
Memory: 1GB DDR400
Motherboard: Asus A8N-E
Motherboard Chipset: Nforce 4
Video Card: ATi X550
Video Card Driver: Cat 6.9
Sound Card: Onboard
1. TV Card: Twinhan Cab CI (2031)
1. TV Card Type: DVB-C
1. TV Card Driver: 1.2.3.8
2. TV Card: Twinhan Cab CI (2031)
2. TV Card Type: DVB-C
2. TV Card Driver: 1.2.3.8
Satelite/CableTV Provider: TDC
HTPC Case: Noname
Cooling: Thermal Take Sonic Tower
Power Supply: Noname 350+ modded with 92mm Silenx Fan
Remote: MCE 2005
TV: Sony 50" rear pro KDF-E50A11E
TV - HTPC Connection: DVI->HDMI

Problem:
A while ago me (and others) had the problem that sometimes when MP came out of standby it would not be able to show pay TV, ie the CAM was not detected or similar. This was not an issue with the CAM as simpy restarting MP(*NOT* rebooting the HTPC) fixed the problem. This issue seems to have returned. I have included the necessary log files and i give my take on them below:

Before standby the CI+CAM is working, as can be seen in the logs by me succesfully tuning the pay channel 2Film. In the logs i find the following:

Quote:
Originally Posted by Before standby
2006-10-30 13:21:45.218750 [Info.][6]: Twinhan: check for twinhan driver
2006-10-30 13:21:45.218750 [Info.][6]: twinhan card detected
2006-10-30 13:21:45.281250 [Info.][6]: twinhan:CI State:1 MMI State:0
2006-10-30 13:21:45.281250 [Info.][6]: twinhan: CAM inserted
2006-10-30 13:21:45.328125 [Info.][6]: twinhan:CI State:1 MMI State:0
After resuming from standby the CAM is not detected as can be seen below, and when i try to tune the pay channel TV3 all i get is a black screen. Switching to the unencrypted channel TV2 works fine.

Quote:
Originally Posted by After standby
006-10-30 14:28:54.906250 [Info.][6]: Twinhan: check for twinhan driver
2006-10-30 14:28:54.937500 [Info.][6]: twinhan card detected
2006-10-30 14:28:54.984375 [Info.][6]: twinhan:CI State:0 MMI State:0
2006-10-30 14:28:55.031250 [Info.][6]: twinhan:CI State:0 MMI State:0
I then tried closing down MP(not the computer) and restarting it, and now it works again.

Im thinking there might be a timing issue involved here, when resuming the CI on the Twinhan card might need a second or two to (re)-init the CAM and until that time simply says no CAM is inserted.

I hope now that we have a nice log file giving the details we can get to the bottom of this issue. If more tests are needed just give the word

UPDATE: Looking at the code, the above log entries are printed by C:\mpsource\Core\DShowNET\Helper\cards\Twinhan.cs .

It seems that IsCamPresent() when called will only check the CI state if it hasnt been checked before. If the CAM is not ready when MP resumes it is therefore plausible that the CAM is recorded as not being present, and all subsequent calls to IsCamPresent() return false.

Last edited by ziphnor; 2006-10-30 at 15:13.
ziphnor is offline   Reply With Quote
Old 2006-11-10, 23:55   #2 (permalink)
Portal Developer
 
ziphnor's Avatar
 
Join Date: Aug 2005
Location: Copenhagen
Age: 29
Posts: 725
Thanks: 0
Thanked 9 Times in 6 Posts

Country:

My System

Default

Just want to say that i still suffer from this issue. Did anyone take a look at the code i indicated above?
ziphnor is offline   Reply With Quote
Reply

Bookmarks

Tags
cam, restarted, resume, standby

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Resume from standby with remote pjam001 General Support 12 2008-03-25 06:10
Run a command (a batch) after resume from standby or hibernate regeszter Improvement Suggestions 0 2006-09-24 21:17
Tuner does not resume after standby girgises The old Bugreport Forum 23 2006-08-04 15:00
[DVB] MP Standby -> Resume -> No encrypted channels? ziphnor General Support 0 2006-06-14 21:18
Automatic resume from standby for tv recording does not work rjongen Installation, configuration support 4 2006-04-30 18:09


All times are GMT +1. The time now is 02:26.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden