Re: High level CI support in MythTV

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Henrik & Manu,

This is to report a success!!
I have MythTV working with the Twinhan Cab-CI card for DVB-C with the Alphacrypt 3.05 CA module (as sold by satshop.nl) and a conditional access smartcard from "tvhome" in the Netherlands (www.tvhome.nl).
I have done the following:
In the DST driver (hg version date 2 februari 2006):
- applied patch "linux-dvb/2006-January/007452.html" as referred to in MythTV ticket #844 I did this manually as patch does not seem to understand the line-wrapped html format. - edited the ".type_flags" definition of the DCT-CI device to DST_TYPE_HAS_NEWTUNE | DST_TYPE_HAS_FW_2. This is described by Manu somewhere. Patchfile dst.patch is attached.
In MythTV (svn version 8843 date 2 february 2006):
- applied patch in file "hcli.patch" as described in MythTV ticked #844.
- in file mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp modified the code to check if a TS packet has Adaptation Field Control. According to the error message this is a check for ATSC compliancy, but if these packets are discarded it does not work. Patch file mpegstreamdata.patch is attached.

Status:
I can now view all encrypted channels to which I am entitled (about 30 of them). Scheduled recordings on MythTV backend are OK. EIT update of MythTV database is also OK. Remaining problem: timeout in MythTV frontend when selecting "Watch TV" the first time. Restarting MythTV frontend fixes this; after this it works OK until the PC is rebooted. I might fix this timeout if I can find it.

If you put the DVB fixes in the hg version I can of course test it again.

Thanks a lot,
Klaas.

--- v4l-dvb-20060202-orig/linux/drivers/media/dvb/bt8xx/dst.c	2006-02-02 20:59:56.000000000 +0100
+++ v4l-dvb-20060202/linux/drivers/media/dvb/bt8xx/dst.c	2006-02-02 21:30:50.000000000 +0100
@@ -673,8 +673,7 @@
 		.device_id = "DCT-CI",
 		.offset = 1,
 		.dst_type = DST_TYPE_IS_CABLE,
-		.type_flags = DST_TYPE_HAS_TS204 | DST_TYPE_HAS_NEWTUNE | DST_TYPE_HAS_FW_1
-							| DST_TYPE_HAS_FW_2,
+		.type_flags = DST_TYPE_HAS_NEWTUNE | DST_TYPE_HAS_FW_2,
 		.dst_feature = DST_TYPE_HAS_CA
 	},
 
--- mythtv-8843/libs/libmythtv/mpeg/mpegstreamdata.cpp	2006-02-02 20:42:18.000000000 +0100
+++ mythtv-8843-fix/libs/libmythtv/mpeg/mpegstreamdata.cpp	2006-02-02 22:34:17.000000000 +0100
@@ -499,7 +499,7 @@
     { // payload only, ATSC req.
         VERBOSE(VB_RECORD,
                 "PSIP packet has Adaptation Field Control, not ATSC compiant");
-        DONE_WITH_PES_PACKET();
+//      DONE_WITH_PES_PACKET();
     }
 
     if (tspacket->ScramplingControl())
_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux