CI+ protocol implementation in minisatip

Support forum for minisatip
solut
Posts:14
Joined:Wed Jan 03, 2018 4:49 pm
Re: CI+ protocol implementation in minisatip

Post by solut » Fri Nov 01, 2019 8:04 pm

Hi Yuri,

I'm using two SatIP server with 4 tuners each, so I followed the minisatip documentation:
-e --enable-adapters list_of_enabled adapters: enable only specified adapters
eg: -e 0-2,5,7 (no spaces between parameters)
keep in mind that the first adapters are the local ones starting with 0 after that are the satip adapters if you have 3 local dvb cards 0-2 will be the local adapters, 3,4, ... will be the satip servers specified with argument -s
But I saw on the logs that u are right, the CIs are set after the SatIP devices...

SoI tried 8 and 9, switching the input of my CI adapter, but I didn't had any success.
Exactly the same bevaviour - the CAM get's initialized (CI+ is OK), but I get one time
found CW: 0
and then only
found CW: -1
What else can I try ?

Thanks, solut.

solut
Posts:14
Joined:Wed Jan 03, 2018 4:49 pm

Re: CI+ protocol implementation in minisatip

Post by solut » Fri Nov 01, 2019 9:07 pm

It's working!
I deleted the bin files + bootid (?) and start minisatip with --ca-pin 8:xxxx (no ca assignment).

Thanks, solut.

sardonis
Posts:20
Joined:Sat Jun 17, 2017 7:10 pm

Re: CI+ protocol implementation in minisatip

Post by sardonis » Wed Feb 12, 2020 9:29 am

I have problems on raspberry pi 4 with raspbian buster. I'm running a TechnoTrend TT-connect CT2-4650 CI USB tuner with default kernel media drivers. FTA channels are not a problem but encrypted channels don't work. Same tuner with same CI+ module is working on rpi3 with raspbian stretch without issues.

[12/02 09:12:32.354 AD0]: found CW: -1 for VIER HD PMT 4, pid 212, master 4, 0 ms ago, parity 1: not found
[12/02 09:12:32.406 AD0]: PID Continuity error (adapter 0): pid: 4201, Expected CC: A, Actual CC: 1, CC Before 9

On other occasions, I see a lot of error 524 in the logs. I'm suspecting a driver issue but I'm not sure. FTA picture is playing perfecly without any blocks or hickups.

[12/02 09:25:47.179 signal]: ad 0 ioctl fd 11 FE_READ_SIGNAL_STRENGTH failed, error 524 (Unknown error 524)
[12/02 09:25:47.179 signal]: ad 0 ioctl fd 11 FE_READ_SNR failed, error 524 (Unknown error 524)
[12/02 09:25:47.483 signal]: ad 0 ioctl fd 11, FE_READ_BER failed, error 524 (Unknown error 524)

Please find logs attached.
minisatip-logs.zip
(57.79KiB)Downloaded 195 times

sardonis
Posts:20
Joined:Sat Jun 17, 2017 7:10 pm

Re: CI+ protocol implementation in minisatip

Post by sardonis » Thu Feb 13, 2020 3:37 pm

I opened an issue on Github with more logs.

https://github.com/catalinii/minisatip/issues/713

sardonis
Posts:20
Joined:Sat Jun 17, 2017 7:10 pm

Re: CI+ protocol implementation in minisatip

Post by sardonis » Tue Mar 17, 2020 6:22 pm

I'm using a system with mixed tuners dvb-c and dvb-s. For the decryption of dvb-c channels, I'm using a CI+ module. For decryption of dvb-s channels, I use a dvbapi connection to local oscam server running a seca card.
For some reason minisatip still tries to send ecm's with default ecmpid 0 to the dvbapi connection when I tune to an encrypted dvb-c channel.

2020/03/17 19:20:01 071B0C98 c (ecm) dvbapi (1801@007711/0000/03ED/4F:00000000000000000000000000000000): rejected caid (0 ms) (invalid caid 0x1801)
2020/03/17 19:20:04 071B0C98 c (dvbapi) Demuxer 0 stopped descrambling for program 03ED (1801@007711:03ED unknown)
2020/03/17 19:20:04 071B0C98 c (dvbapi) Demuxer 0 ecmpid 0 CAID: 1801 ECM_PID: 07D5 PROVID: 000000
2020/03/17 19:20:04 071B0C98 c (dvbapi) Demuxer 0 ecmpid 1 CAID: 1861 ECM_PID: 0839 PROVID: 000000

Is this normal behaviour? It's kind of useless so I was thinking it might come in handy to have a parameter for minisatip that can ignore certain CAID's or ecmpid's for certain adapter numbers/types.

cata
Site Admin
Posts:609
Joined:Tue May 12, 2015 1:01 am

Re: CI+ protocol implementation in minisatip

Post by cata » Sun Apr 05, 2020 10:41 pm

pid 0 should not be the ECMpid as it is a PAT pid.

Can you upload the logs and highlight the time it happens?

Thanks

sardonis
Posts:20
Joined:Sat Jun 17, 2017 7:10 pm

Re: CI+ protocol implementation in minisatip

Post by sardonis » Wed May 06, 2020 9:28 pm

cata wrote:
Sun Apr 05, 2020 10:41 pm
pid 0 should not be the ECMpid as it is a PAT pid.

Can you upload the logs and highlight the time it happens?

Thanks
I have added some logs with parameters http,pmt,dvbapi

Corresponding oscam logs:

2020/05/06 23:33:06 61FB11B3 c (dvbapi) Demuxer 0 ecmpid 0 CAID: 1801 ECM_PID: 07D5 PROVID: 000000
2020/05/06 23:33:06 61FB11B3 c (dvbapi) Demuxer 0 ecmpid 1 CAID: 1861 ECM_PID: 0839 PROVID: 000000
2020/05/06 23:33:06 61FB11B3 c (dvbapi) Demuxer 0 ecmpid 2 CAID: 4AC1 ECM_PID: 089D PROVID: 000000
2020/05/06 23:33:06 61FB11B3 c (dvbapi) Demuxer 0 ecmpid 3 CAID: 0500 ECM_PID: 0901 PROVID: 051C00
2020/05/06 23:33:06 61FB11B3 c (dvbapi) Demuxer 0 ecmpid 4 CAID: 1850 ECM_PID: 0965 PROVID: 000000
2020/05/06 23:33:06 61FB11B3 c (dvbapi) Demuxer 0 found 5 ECM pids and 11 STREAM pids in CA PMT
2020/05/06 23:33:06 61FB11B3 c (dvbapi) Demuxer 0 trying to descramble PID 0 CAID 1801 PROVID 000000 ECMPID 07D5 ANY CHID PMTPID 00CD VPID 0DAD
2020/05/06 23:33:06 61FB11B3 c (ecm) dvbapi (1801@007711/0000/03ED/4F:7675D3DAF5453A923D398C63C6C93F6F): rejected group (3 ms) (no matching reader)
2020/05/06 23:33:07 61FB11B3 c (ecm) dvbapi (1801@007711/0000/03ED/4F:7675D3DAF5453A923D398C63C6C93F6F): rejected group (4 ms) (no matching reader)
2020/05/06 23:33:10 61FB11B3 c (dvbapi) Demuxer 0 stopped descrambling for program 03ED (1801@007711:03ED unknown)
2020/05/06 23:33:11 61FB11B3 c (dvbapi) Demuxer 0 ecmpid 0 CAID: 1801 ECM_PID: 07D5 PROVID: 000000
2020/05/06 23:33:11 61FB11B3 c (dvbapi) Demuxer 0 ecmpid 1 CAID: 1861 ECM_PID: 0839 PROVID: 000000
2020/05/06 23:33:11 61FB11B3 c (dvbapi) Demuxer 0 ecmpid 2 CAID: 4AC1 ECM_PID: 089D PROVID: 000000
2020/05/06 23:33:11 61FB11B3 c (dvbapi) Demuxer 0 ecmpid 3 CAID: 0500 ECM_PID: 0901 PROVID: 051C00
2020/05/06 23:33:11 61FB11B3 c (dvbapi) Demuxer 0 ecmpid 4 CAID: 1850 ECM_PID: 0965 PROVID: 000000
2020/05/06 23:33:11 61FB11B3 c (dvbapi) Demuxer 0 found 5 ECM pids and 11 STREAM pids in CA PMT
2020/05/06 23:33:11 61FB11B3 c (dvbapi) Demuxer 0 trying to descramble PID 0 CAID 1801 PROVID 000000 ECMPID 07D5 ANY CHID PMTPID 00CD VPID 0DAD
minisatip.zip
(20.13KiB)Downloaded 49 times

Post Reply