braice / MuMuDVB

A DVB IPTV streaming software
http://mumudvb.braice.net/
GNU General Public License v2.0
216 stars 133 forks source link

unable to descramble stream with mumudvb+cam module #269

Open verb5 opened 3 years ago

verb5 commented 3 years ago

Hello everyone, I tried to descramble 1 dvbs channel using Digital Devices Octopus CI S2 Pro Advanced.Tried different configuration option with no success to descramble (also tried autoconfiguration=full and got same result).Card has 2dvbs tunners and 2ci slots, sat is connected to adapter0 and cam module is inserted in adapter2 My config:

Ubuntu 20.04.1 LTS

ls -l /dev/dvb/adapter0/ total 0 crw-rw----+ 1 root video 212, 0 мар 15 09:20 demux0 crw-rw----+ 1 root video 212, 1 мар 15 09:20 dvr0 crw-rw----+ 1 root video 212, 3 мар 15 09:20 frontend0 crw-rw----+ 1 root video 212, 2 мар 15 09:20 net0

ls -l /dev/dvb/adapter1/ total 0 crw-rw----+ 1 root video 212, 4 мар 15 09:20 demux0 crw-rw----+ 1 root video 212, 5 мар 15 09:20 dvr0 crw-rw----+ 1 root video 212, 7 мар 15 09:20 frontend0 crw-rw----+ 1 root video 212, 6 мар 15 09:20 net0

ls -l /dev/dvb/adapter2 total 0 crw-rw----+ 1 root video 212, 8 мар 15 09:20 ca0 crw-rw----+ 1 root video 212, 9 мар 15 09:20 ci0

ls -l /dev/dvb/adapter3 total 0 crw-rw----+ 1 root video 212, 10 мар 15 09:20 ca0 crw-rw----+ 1 root video 212, 11 мар 15 09:20 ci0

modprobe ddbridge adapter_alloc=3

ls -l /dev/dvb/adapter0/

total 0 crw-rw----+ 1 root video 212, 8 мар 15 08:32 ca0 crw-rw----+ 1 root video 212, 10 мар 15 08:32 ca1 crw-rw----+ 1 root video 212, 9 мар 15 08:32 ci0 crw-rw----+ 1 root video 212, 11 мар 15 08:32 ci1 crw-rw----+ 1 root video 212, 0 мар 15 08:32 demux0 crw-rw----+ 1 root video 212, 4 мар 15 08:32 demux1 crw-rw----+ 1 root video 212, 1 мар 15 08:32 dvr0 crw-rw----+ 1 root video 212, 5 мар 15 08:32 dvr1 crw-rw----+ 1 root video 212, 3 мар 15 08:32 frontend0 crw-rw----+ 1 root video 212, 7 мар 15 08:32 frontend1 crw-rw----+ 1 root video 212, 2 мар 15 08:32 net0 crw-rw----+ 1 root video 212, 6 мар 15 08:32 net1

MuMuDVB Version 2.1.0_20181020_mumudvb2 --- Build information --- Built with CAM support. Built with SCAM support. Built with ATSC support. Built with ATSC long channel names support. Built with support for DVB API Version 5.11. Built with support for DVB-T2.

Originally based on dvbstream 0.6 by (C) Dave Chapman 2001-2004 Released under the GPL. Latest version available from http://mumudvb.net/ Project from the cr@ns (http://www.crans.org) by Brice DUBOST (mumudvb@braice.net)

Deb2: Main: ==== Configuration file ==== Deb2: Main: 001 card=0 Deb2: Main: 002 tuner=0 Deb2: Main: 003 delivery_system=DVBS2 Deb2: Main: 004 modulation=8PSK Deb2: Main: 005 #coderate=auto Deb2: Main: 006 #unicast=0 Deb2: Main: 007 freq=12322.00 Deb2: Main: 008 pol=v Deb2: Main: 009 srate=30000 Deb2: Main: 010 autoconfiguration=0 Deb2: Main: 011 cam_support=1 Deb2: Main: 012 cam_number=0 Deb2: Main: 013 Deb2: Main: 014 #rtp_header=1 Deb2: Main: 015 scam_support=0 Deb2: Main: 016 Deb2: Main: 017 #rewrite_pat=0 Deb2: Main: 018 #rewrite_sdt=0 Deb2: Main: 019 #sort_eit=1 Deb2: Main: 020 unicast=1 Deb2: Main: 021 ip_http=192.168.98.197 Deb2: Main: 022 port_http=4545 Deb2: Main: 023 multicast_ipv4=0 Deb2: Main: 024 #multicast_iface4=lo Deb2: Main: 025 #multicast_ipv4=1 Deb2: Main: 026 #multicast_ttl=2 Deb2: Main: 027 #multicast_auto_join=1 Deb2: Main: 028 #common_port=1234 Deb2: Main: 029 #ip_http=192.168.98.197 Deb2: Main: 030 #port_http=4545 Deb2: Main: 031 sap=0 Deb2: Main: 032 Deb2: Main: 033 autoconf_scrambled=1 Deb2: Main: 034 Deb2: Main: 035 Deb2: Main: 036 new_channel Deb2: Main: 037 name=Planeta HD Deb2: Main: 038 service_id=224 Deb2: Main: 039 pmt_pid=1122 Deb2: Main: 040 pids=1120 1121 Deb2: Main: 041 cam_ask=1 Deb2: Main: 042 Deb2: Main: 043 Deb2: Main: ============ done =========== Info: Tune: You will use DVB API version 5 for tuning your card. Info: CAM: You have enabled the support for conditional access modules (scrambled channels). Info: Main: New channel, current number 0 Info: Main: ========== End of configuration, MuMuDVB version 2.1.0_20181020_mumudvb2 is starting ========== Info: Main: Streaming. Freq 12322000.000000 Info: Tune: Using DVB card "STV0910" tuner 0 Info: Tune: Tuning DVB-S to Freq: 1722000 kHz, Transp frequency: 12322000.000000 , LO frequency 10600000 kHz Pol:V Srate=30000000, LNB number: 0 Info: Tune: LNB voltage 13V Deb0: Tune: Diseqc message e0 10 38 fd 00 00 len 4 Info: Tune: Sending DISEQC Info: Tune: DISEQC: Setting Tone OFF Info: Tune: DISEQC: Setting Voltage and wait 15 ms Info: Tune: DISEQC: Send CMD and wait 15 ms Info: Tune: DISEQC: Send BURST and wait 15 ms Info: Tune: DISEQC: Set TONE back and wait 15 ms Info: Tune: DISEQC SETTING SUCCEEDED - Frequency: 1722000 Info: Tune: Tuning With DVB-API version 5. delivery system : 6 Deb0: Tune: polling.... Info: Tune: FE_STATUS: Info: Tune: FE_HAS_SIGNAL : found something above the noise level Info: Tune: FE_HAS_CARRIER : found a DVB signal Info: Tune: FE_HAS_VITERBI : FEC is stable Info: Tune: FE_HAS_SYNC : found sync bytes Info: Tune: FE_HAS_LOCK : everything's working... Info: Tune: Event: Frequency: 12322000 (or 8878000) Info: Tune: SymbolRate: 29998977 Info: Tune: FEC_inner: 2 Info: Tune: Bit error rate: 0 Info: Tune: Signal strength: 7073 Info: Tune: SNR: 143 Info: Main: Card 0, tuner 0 tuned main 0x7ffc30268790 Deb1: CAM: CAM Initialization Deb1: CAM: CONF cam_reask_interval=0 Deb1: CAM: CONF cam_reset_interval=30 Deb1: CAM: CONF cam_number=0 Deb1: CAM: CONF cam_delay_pmt_send=0 Deb1: CAM: CONF cam_interval_pmt_send=3 Deb0: CAM: CAM type : low level interface Info: Common chan: Looking through all services to update their filters Deb0: Common chan: pid 1120 added Deb0: Common chan: pid 1121 added Deb0: Common chan: pid 1122 added Deb1: CAM: CAM Thread started Deb0: Common chan: Open the new filters Deb1: DVB: Setting filter for PID 0 Deb1: DVB: Setting filter for PID 1 Deb1: DVB: Setting filter for PID 16 Deb1: DVB: Setting filter for PID 17 Deb1: DVB: Setting filter for PID 18 Deb1: DVB: Setting filter for PID 20 Deb1: DVB: Setting filter for PID 1120 Deb1: DVB: Setting filter for PID 1121 Deb1: DVB: Setting filter for PID 1122 Info: Unicast: We open the Master http socket for address 192.168.98.197:4545 Deb1: Unicast : unicast : unicast_vars->pfdsnum : 1 Info: Main: Diffusion 1 channel Info: Main: Channel number : 0, service id 224 name : "Planeta HD" Info: Main: Unicast : Channel accessible via the master connection, 192.168.98.197:4545 Deb0: Main: pids : 1120 (Unknown ), 1121 (Unknown ), 1122 (PMT ), Deb1: Common chan: PMT Need update. stored version : 0, new: 4 Deb1: Common chan: We update the PMT for channel 0 sid 224 Deb2: TS: General information PID 1122 adaptation_field_control 1 payload_unit_start_indicator 1 continuity_counter 10 Deb2: TS: Starting a packet PID 1122 cc 10 len 98 expected len 98 Deb2: TS: First bytes 0x02 0xb0 0x5f 0x00 0xe0 0xc9 0x00 0x00 Deb2: TS: Struct data table_id 0x02 section_syntax_indicator 0x01 section_length 0x5f transport_stream_id 0xe0 version_number 0x04 current_next_indicator 0x01 last_section_number 0x00 Deb2: TS: New full packet len 98. There's now 1 full packet Deb2: TS: Calling recursively, data left 85 Deb2: TS: Stuffing bytes found data left 85 Deb1: Common chan: We update the PMT for channel 0 sid 224 Deb2: TS: Full packet left: 1, we copy length 98 Deb2: TS: General information PID 1122 adaptation_field_control 1 payload_unit_start_indicator 1 continuity_counter 11 Deb2: TS: Starting a packet PID 1122 cc 11 len 98 expected len 98 Deb2: TS: First bytes 0x02 0xb0 0x5f 0x00 0xe0 0xc9 0x00 0x00 Deb2: TS: Struct data table_id 0x02 section_syntax_indicator 0x01 section_length 0x5f transport_stream_id 0xe0 version_number 0x04 current_next_indicator 0x01 last_section_number 0x00 Deb2: TS: New full packet len 98. There's now 1 full packet Deb2: TS: Calling recursively, data left 85 Deb2: TS: Stuffing bytes found data left 85 Deb1: CAM: Status change from EN50221_STDCAM_CAM_NONE to EN50221_STDCAM_CAM_INRESET. Info: Main: Channel "Planeta HD" is now highly scrambled (99% of scrambled packets). Card 0 Deb1: CAM: Status change from EN50221_STDCAM_CAM_INRESET to EN50221_STDCAM_CAM_OK. Deb2: Unicast : New client Deb2: Unicast : New connection from 192.168.98.197:54976 to 192.168.98.197:49425 Deb2: Unicast : We create a client associated with the socket 17 Deb2: Unicast : first client Deb2: Unicast : Actual SO_SNDBUF size : 2626560 Deb2: Unicast : Number of clients : 1 Deb2: Unicast : New message for socket 17 Deb2: Unicast : beginning of buffer GET /b Deb2: Unicast : beginning of buffer 71 69 84 32 47 98 Deb2: Unicast : We received 100, buffer len 100 new buffer pos 100 Deb2: Unicast : New message for socket 17 Deb2: Unicast : We received 48, buffer len 200 new buffer pos 148 Deb2: Unicast : End of HTTP request, we parse it Deb1: Unicast : Channel by service id, service_id 224 number 1 Info: Unicast : We add the client 192.168.98.197:54976 to the channel "Planeta HD" Deb1: CAM: CAM Application_Info_Callback Info: CAM: CAM Application type: 01 Info: CAM: CAM Application manufacturer: 0b00 Info: CAM: CAM Manufacturer code: 8001 Info: CAM: CAM Menu string: CONAX CAS7 CAM Deb1: CAM: CA_Info_Callback: 1 CA systems supported Deb0: CAM: CAM supports the following ca system ids: Deb0: CAM: Ca system id 0x0b00 : Norwegian Telekom Deb1: TS: GOOD service_id for PMT 1122 and channel "Planeta HD" Info: CAM: Received new PMT - sending to CAM... Info: CAM: CA PMT (ADDED) sent for channel 0 : "Planeta HD"