Hello I spend several days fixing errors in Manu's ca_zap and finally made it to work. Now it is generating CA message which is looking just fine: ./ca_zap -c channels.conf -n "Eurosport" -t sat ... en50221_encode_streams: Stream type=[02], ES PID=[140], ES Info length=[00] en50221_encode_streams: Stream type=[04], ES PID=[190], ES Info length=[00] debug_message: CA MESSAGE=[ 9f 80 32 33 03 27 d9 09 00 23 01 09 0f 05 00 07 d1 10 01 00 13 01 20 14 03 02 07 00 09 0f 05 00 17 71 10 01 00 13 01 20 14 03 02 07 10 02 01 40 00 00 04 01 90 00 00 ] (can anybody check it? maybe I am missing something?) But when I send it to the card nothing happens. The stream remain encoded. Debug: Jul 13 02:42:57 localhost kernel: dst_ca_open:Device opened [c8f2e980] Jul 13 02:42:57 localhost kernel: dst_ca_ioctl: Sending message Jul 13 02:42:57 localhost kernel: ca_send_message Jul 13 02:42:57 localhost kernel: ca_send_message:Command=[0x9f8032] Jul 13 02:42:57 localhost kernel: Command = SEND_CA_PMT Jul 13 02:42:57 localhost kernel: asn_1_decode: Length field=[33] Jul 13 02:42:57 localhost kernel: asn_1_decode: Length=[33] Jul 13 02:42:57 localhost kernel: ca_set_pmt: CA Message length=[51] Jul 13 02:42:57 localhost kernel: ca_set_pmt: ASN.1 String=[ 03 27 d9 09 00 23 01 09 0f 05 00 07 d1 10 01 00 13 01 20 14 03 02 07 00 09 0f 05 00 17 71 10 01 00 13 01 20 14 03 02 07 10 02 01 40 00 00 04 01 90 00 00 ] Jul 13 02:42:57 localhost kernel: copy_string: Copying [ 03 27 d9 09 00 23 01 09 0f 05 00 07 d1 10 01 00 13 01 20 14 03 02 07 00 09 0f 05 00 17 71 10 01 00 13 01 20 14 03 02 07 10 02 01 40 00 00 04 01 90 00 00] Jul 13 02:42:57 localhost kernel: dst_comm_init: Initializing DST.. Jul 13 02:42:57 localhost kernel: dst_gpio_outb: mask=[ffffffff], enbb=[0001], outhigh=[0000] Jul 13 02:42:57 localhost kernel: rdc_reset_state: Resetting state machine Jul 13 02:42:57 localhost kernel: dst_gpio_outb: mask=[0002], enbb=[0002], outhigh=[0000] Jul 13 02:42:57 localhost kernel: dst_gpio_outb: mask=[0002], enbb=[0002], outhigh=[0002] Jul 13 02:42:57 localhost kernel: dst_put_ci: Put Command Jul 13 02:42:57 localhost kernel: dst_comm_init: Initializing DST.. Jul 13 02:42:57 localhost kernel: dst_gpio_outb: mask=[ffffffff], enbb=[0001], outhigh=[0000] Jul 13 02:42:57 localhost kernel: rdc_reset_state: Resetting state machine Jul 13 02:42:57 localhost kernel: dst_gpio_outb: mask=[0002], enbb=[0002], outhigh=[0000] Jul 13 02:42:57 localhost kernel: dst_gpio_outb: mask=[0002], enbb=[0002], outhigh=[0002] Jul 13 02:42:57 localhost kernel: write_dst writing [ 3a 40 03 00 03 33 00 03 27 d9 09 00 23 01 09 0f 05 00 07 d1 10 01 00 13 01 20 14 03 02 07 00 09 0f 05 00 17 71 10 01 00 13 01 20 14 03 02 07 10 02 01 40 00 00 04 01 90 00 00 ] Jul 13 02:42:57 localhost kernel: dst_gpio_outb: mask=[ffffffff], enbb=[0000], outhigh=[0000] Jul 13 02:42:57 localhost kernel: read_dst: read_dst error (err == -5, len == 0x01, b0 == 0xc0) Jul 13 02:42:57 localhost kernel: dst_error_recovery: Trying to return from previous errors... Jul 13 02:42:57 localhost kernel: dst_gpio_outb: mask=[ffffffff], enbb=[0000], outhigh=[0000] Jul 13 02:42:57 localhost kernel: dst_gpio_outb: mask=[ffffffff], enbb=[0001], outhigh=[0000] Jul 13 02:42:57 localhost kernel: read_dst reply is 0x0 Jul 13 02:42:57 localhost kernel: write_to_8820: DST-CI Command succes. Jul 13 02:42:57 localhost kernel: ca_send_message: -->CA_PMT Success ! Jul 13 02:42:57 localhost kernel: dst_ca_release:Device closed. Manu !!! Anybody ?!! Help !!!!! Any ideas what is wrong now are welcome? Regards, Paul