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:
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.
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.
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:
Before standby said: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.
After standby said: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.