Frontends cannot be opened in RW mode

Support forum for minisatip
marian34
Posts: 24
Joined: Sat Oct 22, 2016 9:34 am

Re: Frontends cannot be opened in RW mode

Post by marian34 »

Otherwise on SH4 enigma is quite a problem. Drivers work, but it is not foolproof. E.g. logic tuner is there some inoperable.Frontend1 tune is really a problem.
It can in fact spend a lot of time without a successful outcome.


Otherwise, this technology really like. But for others it may be dangerous, e.g. manufacturers of DVB cards.
Last edited by marian34 on Tue Nov 01, 2016 7:33 pm, edited 2 times in total.
cata
Site Admin
Posts: 770
Joined: Tue May 12, 2015 1:01 am

Re: Frontends cannot be opened in RW mode

Post by cata »

How is it with minisatip for clear channels?

Does it work or there are issues?

Btw use --dmx-source 0:0 --dmx-source 1:1
marian34
Posts: 24
Joined: Sat Oct 22, 2016 9:34 am

Re: Frontends cannot be opened in RW mode

Post by marian34 »

Hi cata,

fta channels they are alright, It may not be used -o switch.
cata
Site Admin
Posts: 770
Joined: Tue May 12, 2015 1:01 am

Re: Frontends cannot be opened in RW mode

Post by cata »

Thanks

btw, see this discussion about dvbcsa speed

https://github.com/perexg/satip-axe/issues/17

I hope to get enigma on my receiver too and then I can test more...
cata
Site Admin
Posts: 770
Joined: Tue May 12, 2015 1:01 am

Re: Frontends cannot be opened in RW mode

Post by cata »

Try the last minisatip and the oscam from: http://shivanet.ro/tmp/oscam-1.20-unsta ... -gnu-stapi

Might work just a encrypted channel from one adapter...
marian34
Posts: 24
Joined: Sat Oct 22, 2016 9:34 am

Re: Frontends cannot be opened in RW mode

Post by marian34 »

Hi cata,

thanks.

Support stapi(oscam) not necessary. It's reader support. But I use those for which the link.

Last minisatip work, but not reliably. Especially when switch to another transponder (only in terms of coded channels).
A DVB-S(23,5-12070H) transponder can not open at all. Neither uncoded channel on this transponder.
Oscam.log:

Code: Select all

2016/11/08 22:35:58 56412757 c (client) plain dvbapi-client granted (local, au=auto (2 reader))
2016/11/08 22:35:58 56412757 c (dvbapi) dvbapi channelcache loaded from /usr/keys/oscam.ccache
2016/11/08 22:35:58 56412757 c (dvbapi) Detected /dev/dvb/adapter0/demux0 Api: 0, userconfig boxtype: 0 maximum amount of possible filters is 32 (oscam limit is 32)
2016/11/08 22:36:10 56412757 c (dvbapi) Client connected: 'minisatip/0.5.64' (protocol version = 2)
2016/11/08 22:36:22 56412757 c (dvbapi) Demuxer 0 ecmpid 0 CAID: 0D96 ECM_PID: 0925 PROVID: 000000
2016/11/08 22:36:22 56412757 c (dvbapi) Demuxer 0 ecmpid 1 CAID: 0624 ECM_PID: 0924 PROVID: 000000
2016/11/08 22:36:22 56412757 c (dvbapi) Demuxer 0 ecmpid 2 CAID: 0500 ECM_PID: 0926 PROVID: 051910
2016/11/08 22:36:22 56412757 c (dvbapi) Demuxer 0 found 3 ECMpids and 1 STREAMpids in caPMT
2016/11/08 22:36:22 56412757 c (dvbapi) Demuxer 0 trying to descramble PID 0 CAID 0D96 PROVID 000000 ECMPID 0925 ANY CHID PMTPID 0000 VPID 0000
2016/11/08 22:36:22 56412757 c (dvbapi) Demuxer 0 found 3 ECMpids and 6 STREAMpids in PMT
2016/11/08 22:36:22 56412757 c (dvbapi) ERROR: Could not close PMT fd (errno=9 Bad file descriptor)
2016/11/08 22:36:22 56412757 c (dvbapi) Demuxer 0 stop descrambling program number 3354 (0D96@000000:3354 unknown)
2016/11/08 22:36:23 56412757 c (dvbapi) Client connected: 'minisatip/0.5.64' (protocol version = 2)
2016/11/08 22:36:31 56412757 c (dvbapi) ERROR: Can't open device /dev/dvb/adapter0/demux0 (errno=24 Too many open files)
2016/11/08 22:36:31 56412757 c (dvbapi) Demuxer 0 ecmpid 0 CAID: 0D96 ECM_PID: 0605 PROVID: 000000
2016/11/08 22:36:31 56412757 c (dvbapi) Demuxer 0 ecmpid 1 CAID: 0624 ECM_PID: 0604 PROVID: 000000
2016/11/08 22:36:31 56412757 c (dvbapi) Demuxer 0 ecmpid 2 CAID: 0500 ECM_PID: 0606 PROVID: 051910
2016/11/08 22:36:31 56412757 c (dvbapi) Demuxer 0 found 3 ECMpids and 1 STREAMpids in caPMT
2016/11/08 22:36:31 56412757 c (dvbapi) ERROR: Can't open device /dev/dvb/adapter0/demux0 (errno=24 Too many open files)
2016/11/08 22:36:31 56412757 c (dvbapi) Demuxer 0 found channel in cache and matching prio -> start descrambling ecmpid 0
2016/11/08 22:36:31 56412757 c (dvbapi) Demuxer 0 trying to descramble PID 0 CAID 0D96 PROVID 000000 ECMPID 0605 ANY CHID PMTPID 0000 VPID 0000
2016/11/08 22:36:31 56412757 c (dvbapi) ERROR: Can't open device /dev/dvb/adapter0/demux0 (errno=24 Too many open files)
2016/11/08 22:36:31 56412757 c (dvbapi) Demuxer 0 restarting decodingrequests after 1 ms with 1 enabled and 2 disabled ecmpids!
2016/11/08 22:36:31 56412757 c (dvbapi) Demuxer 0 trying to descramble PID 0 CAID 0D96 PROVID 000000 ECMPID 0605 ANY CHID PMTPID 0000 VPID 0000
2016/11/08 22:36:31 56412757 c (dvbapi) ERROR: Can't open device /dev/dvb/adapter0/demux0 (errno=24 Too many open files)
2016/11/08 22:36:31 56412757 c (dvbapi) Demuxer 0 restarting decodingrequests after 1 ms with 1 enabled and 2 disabled ecmpids!
2016/11/08 22:36:31 56412757 c (dvbapi) Demuxer 0 trying to descramble PID 0 CAID 0D96 PROVID 000000 ECMPID 0605 ANY CHID PMTPID 0000 VPID 0000
2016/11/08 22:36:32 56412757 c (dvbapi) Demuxer 0 PMT update for decoding of SRVID 334C!
2016/11/08 22:36:32 56412757 c (dvbapi) Demuxer 0 continue decoding of SRVID 334C
2016/11/08 22:36:32 56412757 c (dvbapi) Demuxer 0 found 3 ECMpids and 1 STREAMpids in caPMT
2016/11/08 22:36:32 56412757 c (dvbapi) Demuxer 0 stop descrambling program number 334C (0D96@000000:334C unknown)
2016/11/08 22:36:32 56412757 c (dvbapi) Client connected: 'minisatip/0.5.64' (protocol version = 2)
minisatip.log:
Attachments
minisatip.zip
(16.02 KiB) Downloaded 399 times
cata
Site Admin
Posts: 770
Joined: Tue May 12, 2015 1:01 am

Re: Frontends cannot be opened in RW mode

Post by cata »

I see the same issue in minisatip as I see in the oscam logs: Too many open files.

You might want to try before starting minisatip:
ulimit -n 1024

Also check this link:
https://easyengine.io/tutorials/linux/i ... les-limit/

Just for the reference I have disabled enigma from /usr/bin/enigma2.sh by adding the following lines after datarootdir=....

Code: Select all

if [ -f /home/root/no_enigma ]; then
if [ `ps ax|grep minisatip|grep -v grep|wc -l |awk '{print $1;}'` -gt 0 ]; then
exit
fi
if [ `ps ax|grep oscam|grep -v grep|wc -l |awk '{print $1;}'` -eq 0 ]; then
oscam -c /usr/keys/oscam_emu_modern/
fi

killall enigma2
killall minisatip;sleep 2
>/tmp/minisatip.log
cd /home/root
./minisatip -l -l -l --dmx-source 0:0 -o /tmp/camd.socket
exit
fi
and then
touch /home/root/no_enigma

My dvbapi configuration:

Code: Select all

[dvbapi]
enabled                       = 1
au                            = 1
pmt_mode                      = 3
user                          = spark
boxtype                       = dreambox
Thanks
marian34
Posts: 24
Joined: Sat Oct 22, 2016 9:34 am

Re: Frontends cannot be opened in RW mode

Post by marian34 »

The problem persists.If minisat started with the -o, DVB-S(23,5-12070H) transponder can not open at all. Neither uncoded channel on this transponder:
minisatip.zip
minisatip_not_open
(9.51 KiB) Downloaded 410 times
If minisat started without the -o, uncoded channels opens immediately.

Other transponders quite ok. The program always opens up for the second time(when switching to a different transponder):
minisatip.zip
minisat_second_open
(29.48 KiB) Downloaded 431 times
cata
Site Admin
Posts: 770
Joined: Tue May 12, 2015 1:01 am

Re: Frontends cannot be opened in RW mode

Post by cata »

Hi,

the problem with 12070 is that you have alot of PMT pids, and after 27 pids opened it fails.
This makes me think there is a limitation of 32 pids somewhere.

By trying a clear transponder where there are alot of radio channels (12363) I can see the same issue.

I saw that I could add multiple filters without opening the file multiple times, but I need to test if this works on non-enigma DVB cards.

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

Re: Frontends cannot be opened in RW mode

Post by cata »

Check the latest commit, it limits the number of open pids on SH4 platform to 20.

For me, once I was getting the error, I could not use minisatip fully until restart (I was not receiving data on some filters).
Post Reply