It is currently 09 Sep 2010, 22:49

All times are UTC + 1 hour




Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Again: CI Support working?
PostPosted: 15 Jun 2009, 02:58 
Offline

Joined: 26 Apr 2009, 10:17
Posts: 3
Hi

I Was wondering if anyone was able to watch encrypted channels (with proper CAM). I Am using floppydtv s2 on Kernel 2.6.29.1 and latest mythtv but can not get a Lock (cryproworks Module).

Log:
Code:
2009-06-15 03:24:21.940 DTVSM(0) Error: Wrong PMT; pmt->pn(13011) desired(13012)
2009-06-15 03:24:22.873 PIDInfo(0): Failed to open demux device /dev/dvb/adapter0/demux0 for filter on pid 0x4b0
2009-06-15 03:24:23.055 DTVSM(0) Error: Wrong PMT; pmt->pn(13200) desired(13012)
2009-06-15 03:24:24.003 PIDInfo(0): Failed to open demux device /dev/dvb/adapter0/demux0 for filter on pid 0x4ba
2009-06-15 03:24:24.123 PID 0x1fa status: Encrypted
2009-06-15 03:24:24.158 DTVSM(0) Error: Wrong PMT; pmt->pn(13210) desired(13012)
2009-06-15 03:24:24.528 PID 0x1fb status: Encrypted


Any Ideas?

Update: Installed kaffeine and voila: Decrypting worked (so its obviously a mythtv problem), BUT: It worked only for some seconds. Since then the card is not detected after reboot and the right light is blinking (on the back near the cam slot). Power Problem?


Top
 Profile  
 
 Post subject: Re: Again: CI Support working?
PostPosted: 22 Jul 2009, 10:29 
Offline
User avatar

Joined: 23 May 2008, 17:44
Posts: 45
Location: Linkoping, Sweden
Hi,

The CA support under Linux is existing and works for a couple of setups. I am using it live myself in a DVB-T system with Viaccess encryption.

However, there are a couple of known issues with the CA parts which are not yet solved. Since there are a lot of combination with delivery systems and CA systems the drivers will need more testing and debugging. I have so far not heard of any success with DVB-C + Conax. I am looking into it but so far with no success.

Some setups will not work with MythTV without a workaround since there are issues with getting the correct ca_system_id from the CAM which is used by MythTV to see if it shall even try to decrypt. I will try to publish a patch for this this week.

_________________
Check out my latest firedtv patches at http://firedtv.kurelid.se.


Top
 Profile  
 
 Post subject: Re: Again: CI Support working?
PostPosted: 01 Aug 2009, 23:48 
Offline

Joined: 01 Aug 2009, 23:34
Posts: 6
Hello,

Just to say that I am not able to watch encrypted channels too. I have FloppyDTV-S2 + Astoncam 2.18 + Mediaguard3 smartcard

I am using mythtv-0.21-fixes from svn and kernel 2.6.30.2 with all rmst latest patches applied.

I tried Mythtv 0.22 beta too but I had the same luck.

Thank you.

-- eli


Top
 Profile  
 
 Post subject: Re: Again: CI Support working?
PostPosted: 02 Aug 2009, 13:40 
Offline
User avatar

Joined: 23 May 2008, 17:44
Posts: 45
Location: Linkoping, Sweden
If you produce MythTV and kernel logs from when you try to make a recording in MythTV, I can take a look at them for you. Please remember to enable the driver debug logging with
# echo -1 > /sys/modules/firedtv/parameters/debug

_________________
Check out my latest firedtv patches at http://firedtv.kurelid.se.


Top
 Profile  
 
 Post subject: Re: Again: CI Support working?
PostPosted: 03 Aug 2009, 17:33 
Offline

Joined: 01 Aug 2009, 23:34
Posts: 6
Hello,

I paste you an extract of the logs:

Kernel log
Code:
FCP -> 80 00 e4 00 00 13 80 00 e5 00 00 13 80 00 fa 00
FCP -> 00 13 80 02 00 00 00 13 80 1f fe 00 00 00 00 00
FCP <- su=5.0 l=48: ACCEPTED - DirectSelectData
FCP <- 09 28 cb 00 d2 20 00 00 06 13 80 07 d4 00 00 13
FCP <- 80 00 e4 00 00 13 80 00 e5 00 00 13 80 00 fa 00
FCP <- 00 13 80 02 00 00 00 13 80 1f fe 00 00 00 00 00
FCP -> su=5.0 l=40: CONTROL  - DirectSelectData
FCP -> 00 28 cb 00 d2 20 00 00 05 13 80 07 d4 00 00 13
FCP -> 80 00 e5 00 00 13 80 00 fa 00 00 13 80 02 00 00
FCP -> 00 13 80 1f fe 00 00 00
FCP <- su=5.0 l=40: ACCEPTED - DirectSelectData
FCP <- 09 28 cb 00 d2 20 00 00 05 13 80 07 d4 00 00 13
FCP <- 80 00 e5 00 00 13 80 00 fa 00 00 13 80 02 00 00
FCP <- 00 13 80 1f fe 00 00 00
FCP -> su=5.0 l=36: CONTROL  - DirectSelectData
FCP -> 00 28 cb 00 d2 20 00 00 04 13 80 07 d4 00 00 13
FCP -> 80 00 fa 00 00 13 80 02 00 00 00 13 80 1f fe 00
FCP -> 00 00 00 00
FCP <- su=5.0 l=36: ACCEPTED - DirectSelectData
FCP <- 09 28 cb 00 d2 20 00 00 04 13 80 07 d4 00 00 13
FCP <- 80 00 fa 00 00 13 80 02 00 00 00 13 80 1f fe 00
FCP <- 00 00 00 00
FCP -> su=5.0 l=28: CONTROL  - DirectSelectData
FCP -> 00 28 cb 00 d2 20 00 00 03 13 80 07 d4 00 00 13
FCP -> 80 02 00 00 00 13 80 1f fe 00 00 00
FCP <- su=5.0 l=28: ACCEPTED - DirectSelectData
FCP <- 09 28 cb 00 d2 20 00 00 03 13 80 07 d4 00 00 13
FCP <- 80 02 00 00 00 13 80 1f fe 00 00 00
FCP -> su=5.0 l=24: CONTROL  - DirectSelectData
FCP -> 00 28 cb 00 d2 20 00 00 02 13 80 07 d4 00 00 13
FCP -> 80 1f fe 00 00 00 00 00
FCP <- su=5.0 l=24: ACCEPTED - DirectSelectData
FCP <- 09 28 cb 00 d2 20 00 00 02 13 80 07 d4 00 00 13
FCP <- 80 1f fe 00 00 00 00 00


MythTV Backend Log:
Code:
2009-08-03 18:01:13.420 Using runtime prefix = /usr/local
2009-08-03 18:01:13.423 Empty LocalHostName.
2009-08-03 18:01:13.423 Using localhost value of lince
2009-08-03 18:01:13.429 New DB connection, total: 1
2009-08-03 18:01:13.434 Connected to database 'mythconverg' at host: localhost
2009-08-03 18:01:13.435 Closing DB connection named 'DBManager0'
2009-08-03 18:01:13.435 Connected to database 'mythconverg' at host: localhost
2009-08-03 18:01:13.437 New DB connection, total: 2
2009-08-03 18:01:13.437 Connected to database 'mythconverg' at host: localhost
2009-08-03 18:01:13.438 Current Schema Version: 1214
Starting up as the master server.
2009-08-03 18:01:13.455 New DB connection, total: 3
2009-08-03 18:01:13.456 Connected to database 'mythconverg' at host: localhost
2009-08-03 18:01:13.457 New DB connection, total: 4
2009-08-03 18:01:13.458 Connected to database 'mythconverg' at host: localhost
New High level CI handler
2009-08-03 18:01:14.099 DVB#0 CA: CI handler thread running
2009-08-03 18:01:14.099 DVB#0 CA: CI handler successfully initialized!
Sending message=[9f 80 30 ]
Sending message=[9f 80 31 ]
Debug: 159 128 49 2 1 0 16 180 109 126 223 181 144 4 128 179 0 0 128 179
2009-08-03 18:01:14.633 DVBChan(2:0) Warning: Your frequency setting (12344000) is out of range. (min/max:950000/2150000)
2009-08-03 18:01:14.635 New DB scheduler connection
2009-08-03 18:01:14.635 Connected to database 'mythconverg' at host: localhost
2009-08-03 18:01:15.867 Main::Registering HttpStatus Extension
2009-08-03 18:01:15.868 mythbackend version: 0.21.20080304-1 www.mythtv.org
2009-08-03 18:01:15.868 Enabled verbose msgs:  important general dvbcam
2009-08-03 18:01:15.869 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
2009-08-03 18:01:17.642 Reschedule requested for id -1.
2009-08-03 18:01:17.660 Scheduled 1 items in 0.0 = 0.01 match + 0.01 place
2009-08-03 18:01:17.662 Seem to be woken up by USER
2009-08-03 18:01:24.646 UPnpMedia: BuildMediaMap - no VideoStartupDir set,  skipping scan.
2009-08-03 18:01:28.753 MainServer::HandleAnnounce Monitor
2009-08-03 18:01:28.753 adding: lince as a client (events: 0)
2009-08-03 18:01:28.754 MainServer::HandleAnnounce Monitor
2009-08-03 18:01:28.755 adding: lince as a client (events: 1)
2009-08-03 18:01:28.758 MainServer::HandleAnnounce Playback
2009-08-03 18:01:28.759 adding: lince as a client (events: 0)
2009-08-03 18:01:28.760 TVRec(1): Changing from None to WatchingLiveTV
2009-08-03 18:01:28.764 TVRec(1): HW Tuner: 1->1
2009-08-03 18:01:29.829 DVBSM(0), Warning: Can not count Uncorrected Blocks
         eno: Operation not supported (95)
2009-08-03 18:01:29.833 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 15 min
2009-08-03 18:01:30.377 DVB#0 CA: CiHandler needs CA_PMT
2009-08-03 18:01:30.378 DVB#0 CA: Creating CA_PMT, ServiceID = 2004
2009-08-03 18:01:30.379 Adding elementary stream: video-mpeg2, pid(0x200)
2009-08-03 18:01:30.379 Adding CA descriptor: CASID(0x100), ECM PID(0x643)
2009-08-03 18:01:30.380 Adding CA descriptor: CASID(0x100), ECM PID(0x70b)
2009-08-03 18:01:30.380 Adding elementary stream: audio-mp2-layer[1,2,3] (dut), pid(0x50)
2009-08-03 18:01:30.380 Adding CA descriptor: CASID(0x100), ECM PID(0x643)
2009-08-03 18:01:30.381 Adding CA descriptor: CASID(0x100), ECM PID(0x70b)
2009-08-03 18:01:30.381 Adding elementary stream: private-data, pid(0x20)
2009-08-03 18:01:30.382 Adding elementary stream: unknown, pid(0xd0)
2009-08-03 18:01:30.382 Adding elementary stream: unknown, pid(0xfa)
2009-08-03 18:01:30.383 Adding elementary stream: unknown, pid(0xe0)
2009-08-03 18:01:30.383 Adding elementary stream: unknown, pid(0xe2)
2009-08-03 18:01:30.384 Adding elementary stream: unknown, pid(0xe3)
2009-08-03 18:01:30.384 Adding elementary stream: unknown, pid(0xe4)
2009-08-03 18:01:30.385 Adding elementary stream: unknown, pid(0xe5)
2009-08-03 18:01:30.385 DVB#0 CA: Sending CA_PMT with CPLM_ONLY to CI slot #0
Setting CA PMT.
Sending message=[9f 80 32 ]
2009-08-03 18:01:35.902 PID 0x50 status: Encrypted
2009-08-03 18:01:37.941 TVRec(1): PauseRecorder() called with no recorder
2009-08-03 18:01:37.948 TVRec(1): HW Tuner: 1->1
2009-08-03 18:01:39.790 Finished recording Unknown: channel 3004
2009-08-03 18:01:39.832 DVBSM(0), Warning: Can not count Uncorrected Blocks
         eno: Operation not supported (95)
2009-08-03 18:01:39.837 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 15 min
2009-08-03 18:01:39.901 Using runtime prefix = /usr/local
2009-08-03 18:01:39.902 Empty LocalHostName.
2009-08-03 18:01:39.903 Using localhost value of lince
2009-08-03 18:01:39.910 New DB connection, total: 1
2009-08-03 18:01:39.915 Connected to database 'mythconverg' at host: localhost
2009-08-03 18:01:39.916 Closing DB connection named 'DBManager0'
2009-08-03 18:01:39.917 Connected to database 'mythconverg' at host: localhost
2009-08-03 18:01:39.918 New DB connection, total: 2
2009-08-03 18:01:39.919 Connected to database 'mythconverg' at host: localhost
2009-08-03 18:01:39.921 Current Schema Version: 1214
2009-08-03 18:01:39.928 Preview Error: Previewer file '/root/mythtv/3004_20090803180128.mpg' is not valid.
2009-08-03 18:01:39.929 Preview Error: Run() file not local: '/root/mythtv/3004_20090803180128.mpg'
2009-08-03 18:01:39.950 Preview Error: Preview process not ok.
         fileinfo(/root/mythtv/3004_20090803180128.mpg.png) exists: 0 readable: 0 size: 0
2009-08-03 18:02:34.684 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 15 min
2009-08-03 18:02:34.686 Expiring 0 MBytes for 13771 @ Mon Aug 3 17:57:29 2009 => Unknown
2009-08-03 18:02:34.687 Expiring 0 MBytes for 13775 @ Mon Aug 3 17:55:00 2009 => Test (Manual Record) "Mon Aug 3 17:55:00 2009"
2009-08-03 18:02:45.542 TVRec(1): Changing from WatchingLiveTV to None


I hope those logs could be interesting for you.

Thanks in advance,

- Eli


Top
 Profile  
 
 Post subject: Re: Again: CI Support working?
PostPosted: 04 Aug 2009, 21:19 
Offline
User avatar

Joined: 23 May 2008, 17:44
Posts: 45
Location: Linkoping, Sweden
Could you make the entire kernel log (for when the recording is done) available somewhere for me to look at? I need at least the APP PMT and Host2CA entries, but would really want to see everything (except READ DESCRIPTOR).

Actually, it would be better if the log was created with
# echo 0xFFFE > /sys/module/firedtv/parameters/debug
to remove the READ DESCRIPTORS

_________________
Check out my latest firedtv patches at http://firedtv.kurelid.se.


Top
 Profile  
 
 Post subject: Re: Again: CI Support working?
PostPosted: 06 Aug 2009, 06:33 
Offline

Joined: 01 Aug 2009, 23:34
Posts: 6
Hello,

I tried to catch all the firedtv messages like you said me. Here is the kernel log, obtained with dmesg:

http://pastebin.com/f335654a3

And here the respective mythtv log:

http://pastebin.com/fbc1962b

This evening I will try to catch the complete kernel log. I think I can´t get all only with dmesg. (I can´t see any Host2CA entries)

Thank you very much for your help rmst

Best regards,

- eli


Top
 Profile  
 
 Post subject: Re: Again: CI Support working?
PostPosted: 07 Aug 2009, 19:14 
Offline
User avatar

Joined: 23 May 2008, 17:44
Posts: 45
Location: Linkoping, Sweden
It seems you have an invalid length of the CA_PMT so the firedtv module makes an oops trying to dump the message.
The log at http://pastebin.com/f335654a3 seems to miss the first lines of kernel logging. Are all the APP PMT lines present or are some of them missing?

_________________
Check out my latest firedtv patches at http://firedtv.kurelid.se.


Top
 Profile  
 
 Post subject: Re: Again: CI Support working?
PostPosted: 07 Aug 2009, 20:14 
Offline

Joined: 01 Aug 2009, 23:34
Posts: 6
Hello,

I think that some messages are missing. I dump the kernel logs with dmesg, but I think this only shows a fixed number of lines. I will try this night to obtain the full log.

Thank you very much.

Regards,

eli


Top
 Profile  
 
 Post subject: Re: Again: CI Support working?
PostPosted: 10 Aug 2009, 17:54 
Offline

Joined: 01 Aug 2009, 23:34
Posts: 6
Hello,

Finally I could get all the kernel log.

http://pastebin.com/f113580c1

I hope this may be interesting for you.

Thank you very much.

Regards,

-- eli


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2007 phpBB Group
xand 2 for phpBB3 by Thomas Hoornstra and Shadow_One