[linux-dvb] Possible patch for CAM/CI issues

Andreas U. Trottmann andreas.trottmann at werft22.com
Mon Nov 14 14:09:06 CET 2005


On Mon, Nov 07, 2005 at 10:26:46AM +0000, Andrew de Quincey wrote:

> Hi, this is a first attempt at fixing the remaining CI driver issues. 
> 
> I'm not sure where the problems Macro + Andreas reported are coming from - 
> they could either be from the application or from the driver, but I included 
> you in the CC in case this patch helps...

Thank you very much!

> Main features of this patch: slight restructuring in order to remove locking 
> completely - simplifies code and also should increase speed since there is no 
> locking necessary now. Also decreases the amount of work done in IRQ context.

The patch seems to work insofar as a patched driver still
"works". It's possible to descramble the CA channels I have
access to, and I haven't experienced any hard crashes.

The "issue" I've seen, which is that descrambling stops working
after a certain time is unchanged. As Manu Abraham suggested,
this is probably a "feature", i.e. it is not a fault in any
driver, but the card just needs to be "re-told" to descramble
every so often.

There's still a slight problem left in that regard, as even when
I'm going down to re-send the CA commands every thirty seconds,
it sometimes decides that this is not enough. I will try to find
a good way to determine a "good" interval.

-- 
Andreas Trottmann
Werft22 AG
Tel    +41 (0)56 210 91 37
Fax    +41 (0)56 210 91 34
Mobile +41 (0)79 229 88 55



More information about the linux-dvb mailing list