[mythtv] problem watching encrypted channels

Johan johan.vanderkolk at dommel.be
Wed Jan 23 22:48:33 UTC 2008

On Wed, 2008-01-16 at 14:34 +0100, Johan wrote:
> On Wed, 2008-01-16 at 11:18 +0100, Johan wrote: 
> > Hello devs,
> > 
> > I'm falling back on the experts, since I have a problem which no-one can
> > help me with yet, and searching google and the asking on the user list
> > could not help me either.
> > 
> > I am running mythtv 
> > (2008-01-16 09:44:37.952 mythbackend version: 0.20.20070821-1
> > www.mythtv.org)
> > 
> > 
> > on mythbuntu:
> > 
> > Linux version 2.6.22-14-generic (buildd at terranova) (gcc version 4.1.3
> > 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Tue Dec 18
> > 08:02:57 UTC 2007 (Ubuntu 2.6.22-14.47-generic)
> > 
> > 
> > My hardware is a Hauppauge Nexus-S card with a Dual CI interface. I'm
> > using a cam and the official smartcard.
> > 
> > I cannot watch encrypted DVB-S channels using mythtv. As a sanity check
> > I verified that my hardware is ok using WinXP and the
> > hauppauge/technotrend TV viewer.
> > 
> > 
> > I can also watch encrypted channels using Kaffeine. Additionally I
> > installed "vdr" and also with this program I can watch my encrypted
> > programs.
> > 
> > So in this case it is only Mythtv which is giving me a problem watching
> > encrypted DVB-S channels. (but I like to use mythtv :) )
> > 
I guess no one was able to answer here, but I did some research. I
compared the ci.h from vdr with the dvbci.h from mythtv, and the ci.c
with the dvbci.c from myth. It seems that, at least looking at the
dates, the code included in myth is about 7 years old. (the vdr code is
about 1 year old) Also looking at the code (or for me at least looking
at the comments in the code) it seems that the vdr CI code has made
several improvements to deal with the more advanced CAMS, and perhaps
also with some later discovered features/bugs/funny behaviours of CAMS
and smartcards. 
I can make a safe assumption that programming at the "hardware level" is
a skill which is first of all very difficult, and most likely the
interface with CI requires even more very specific knowledge. My skills
in programming so close to the hardware date from over 20 years ago,
with a small intermezzo in writing ALU exercise routines in octal code
on a HP1000 RTE system in the early 90's. So I understand the
complexity, but can't be of any help. 
I hope there is someone who is able to port the improved CI handling
routines from vdr 1.4.7 to MythTV, and I'll be happy to test if


More information about the mythtv-dev mailing list