Opened 16 years ago

Closed 15 years ago

#844 closed enhancement (fixed)

DVB: Support High Layer CI

Reported by: aliz@… Owned by: danielk
Priority: minor Milestone: 0.20
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no


It would be really nice if MythTV would support the High Layer interface of the CI found on some cheaper DVB cards (mine is a Twinhan Cab-Cl).

Apparently vdr has fixed this in their svn ( I don't know if that code is useful in MythTV tough..

Attachments (1)

hlci.patch (10.9 KB) - added by hsjo@… 16 years ago.
High level CI patch

Download all attachments as: .zip

Change History (8)

comment:1 Changed 16 years ago by anonymous


comment:2 Changed 16 years ago by danielk

Resolution: invalid
Status: newclosed

Please read the TicketHowTo. Feature requests do not go in trac.

comment:3 Changed 16 years ago by hsjo@…

Resolution: invalid
Status: closedreopened

I have done a patch to add the use of the high level CI to mythtv. It currently works nice for me. I've tried to follow the low level interface usage the best I could. Since that is imported code, I have followed the coding style of the code in place.

NOTE: In order to use the HLCI code, the ca_info_enq and ca_info ioctl messages needs to be supported by your HLCI driver. The messages are not currently implemented in the dst driver (Twinhan cards) but until they are, the patch to support the messages can be found at If you are using another HLCI driver (are there any other?) make sure that the message are implemented.

Changed 16 years ago by hsjo@…

Attachment: hlci.patch added

High level CI patch

comment:4 Changed 16 years ago by hsjo@…

Owner: changed from Isaac Richards to danielk
Status: reopenednew

Assigned to Daniel as suggested.

comment:5 Changed 16 years ago by danielk

Milestone: 0.20
Version: head

comment:6 Changed 15 years ago by klaas de waal at hccnet dot nl

This patch does actually work with the dvb-ca.c driver patched as documented in 007452.html. I have now MythTV (svn version) working with encrypted cable services.

To get this working I also had to remove a test in mpegstreamdata.cpp in function HandleTSTables; this is the test that gives the following error message: PSIP packet has Adaptation Field Control, not ATSC compiant and then discards the packet. Apparently these packets are needed in my DVB-C signal. N.B. Cable signal is "tvhome" in the Netherlands; the card is the TwinHan? Cab-CI and the conditional access module is Alphacrypt 3.05.

comment:7 Changed 15 years ago by danielk

Resolution: fixed
Status: newclosed

(In [9034]) Closes #844, by applying patch. Adds support for Twinhan Cab-Cl with sync from VDR.

Note: See TracTickets for help on using tickets.