Jump to content


Photo

Softcam manager not working


  • Please log in to reply
47 replies to this topic

#1 mrvanity

  • Member
  • 35 posts

0
Neutral

Posted 8 May 2013 - 10:33

Hello there.
It is more than a month that the softcam manager does not work.
I choose to start or restart a softcam but that does not have any effect.
The same time i am logged in via telnet and running "ps" i can see that nothing changes.
Using the softcam.xxx scripts in init.d and commands start/stop/restart from telnet everything works like a charm.

I have removed and reinstalled the softcam manager plugin but nothing changed.
The scripts are all 755.

 

Anyone has a clue?

Regards.



Re: Softcam manager not working #2 blzr

  • PLi® Core member
  • 2,270 posts

+118
Excellent

Posted 8 May 2013 - 10:50

you mean the Openpli's softcam manager, not some third party plugin?
what I've noticed some time ago, is that the key_green does not work,

but if you confirm with the [OK] button instead, everything works fine here (start / stop / restart)

 

 


True sarcasm doesn't need green font...

Re: Softcam manager not working #3 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,503 posts

+118
Excellent

Posted 8 May 2013 - 11:59

Hello there.
It is more than a month that the softcam manager does not work.
I choose to start or restart a softcam but that does not have any effect.
The same time i am logged in via telnet and running "ps" i can see that nothing changes.
Using the softcam.xxx scripts in init.d and commands start/stop/restart from telnet everything works like a charm.
I have removed and reinstalled the softcam manager plugin but nothing changed.
The scripts are all 755.

Anyone has a clue?
Regards.


Which softcam ?

on the Glassfibre 1GB DVB-C...


Re: Softcam manager not working #4 WanWizard

  • PLi® Core member
  • 70,552 posts

+1,813
Excellent

Posted 8 May 2013 - 12:14

Any. I've noticed this recently as well, but hadn't had time to report it yet.

 

When you do a "restart softcam" from the GUI menu (CCcam in my case), nothing happens, you have to restart manually.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Softcam manager not working #5 dOOds

  • Senior Member
  • 59 posts

0
Neutral

Posted 8 May 2013 - 17:10

Ive notived this for months..Nothing done about it..whether your using cccam or mgcamd and want to stop one and start another it will stay on the one it is on already..You have to reboot the box to get the cam you want...



Re: Softcam manager not working #6 Tom0000

  • Senior Member
  • 39 posts

0
Neutral

Posted 8 May 2013 - 18:08

A sample from me :

 

from starting fil e:

/usr/bin/oscam --config-dir /etc/tuxbox/config/oscam --daemon --pidfile /tmp/oscam.pid --restart 2 --utf8

 

result :

WARNING: Web interface UTF-8 mode enabled. Carefully read documentation as bugs may arise.

 

and in memory :

 1352 root      5044 S    /usr/bin/oscam --config-dir /etc/tuxbox/config/oscam --daemon --p
 1353 root      6548 S    /usr/bin/oscam --config-dir /etc/tuxbox/config/oscam --daemon --p
 

When try to run it manual :

oscam&
ERROR: Cannot open file "/var/tuxbox/config/oscam.conf" (errno=2 No such file or directory)
 

Updated minutes agoafter ~ month break.



Re: Softcam manager not working #7 mrvanity

  • Member
  • 35 posts

0
Neutral

Posted 8 May 2013 - 19:33

Forgot to say that i am using the last 2.1 version on a DM500HD

Hello there.
It is more than a month that the softcam manager does not work.
I choose to start or restart a softcam but that does not have any effect.
The same time i am logged in via telnet and running "ps" i can see that nothing changes.
Using the softcam.xxx scripts in init.d and commands start/stop/restart from telnet everything works like a charm.
I have removed and reinstalled the softcam manager plugin but nothing changed.
The scripts are all 755.

Anyone has a clue?
Regards.


Which softcam ?

 

Any softcam.

you mean the Openpli's softcam manager, not some third party plugin?
what I've noticed some time ago, is that the key_green does not work,

but if you confirm with the [OK] button instead, everything works fine here (start / stop / restart)

I am using the openpli's softcam manager.Neither OK or green button works.



Re: Softcam manager not working #8 blzr

  • PLi® Core member
  • 2,270 posts

+118
Excellent

Posted 8 May 2013 - 19:52

small update

had to test it (I use softcam manager about once in half a year ;))
I use CCcam only
1. switching softcam from 'CCcam' to 'none' (and vice versa) > confirm with green > softcam restarts (stops/starts)
2. choosing 'restart softcam' > confirm with OK > softcam restarts
so everything more or less works here (only this green button at the 'restart softcam' option is a little confusing...)


True sarcasm doesn't need green font...

Re: Softcam manager not working #9 dOOds

  • Senior Member
  • 59 posts

0
Neutral

Posted 8 May 2013 - 20:21

By the way for some reason it doesnt do it all the time.But there is a problem there with softcam manager.



Re: Softcam manager not working #10 hwads

  • Senior Member
  • 197 posts

0
Neutral

Posted 8 May 2013 - 21:59

I have used it 3/4 times a month, and I've had no problems!
DM 8000 using Latest PLI.

Re: Softcam manager not working #11 dOOds

  • Senior Member
  • 59 posts

0
Neutral

Posted 9 May 2013 - 12:26

There must be a problem as many people have reported it..If your using just one cam then you wont get to see the problem.Its switching from one to another.



Re: Softcam manager not working #12 mrvanity

  • Member
  • 35 posts

0
Neutral

Posted 9 May 2013 - 20:02

Can we debug somehow the actions of softcam manager in order to find out what the problem is?



Re: Softcam manager not working #13 Tom0000

  • Senior Member
  • 39 posts

0
Neutral

Posted 10 May 2013 - 17:18

The solution is in creating own start scripts in /init.d . If all strange options we will remove, starting only binaries will work.



Re: Softcam manager not working #14 mrvanity

  • Member
  • 35 posts

0
Neutral

Posted 10 May 2013 - 19:24

The solution is in creating own start scripts in /init.d . If all strange options we will remove, starting only binaries will work.


What strange options?
Have you altered your scripts and the softcam manager works?

Can you post a sample?

 

Regards



Re: Softcam manager not working #15 DRAGO.NET

  • Senior Member
  • 76 posts

-9
Neutral

Posted 30 May 2013 - 13:00

no solution for this problemi?



Re: Softcam manager not working #16 MiLo

  • PLi® Core member
  • 14,055 posts

+298
Excellent

Posted 30 May 2013 - 13:18

The softcam manager just sends a start/stop or restart to the softcam script. The softcam script is responsible for correctly handling those events. If they don't work (e.g. a softcam doesn't stop when asked to), it's the softcam or its script that needs adjusting.
Real musicians never die - they just decompose

Re: Softcam manager not working #17 Pr2

  • PLi® Contributor
  • 6,182 posts

+261
Excellent

Posted 30 May 2013 - 13:37

Hi,

 

The way the different softcam script are written for each Softcam can lead to error.

 

Can I propose that each softcam launch script use this new script.

It use variables for the executable name and for the parameters, with this way of working there is no error possible in the script.

 

 

#!/bin/sh
# Define parameters here
# start-exe = executable to launch
# softcam_param = full command line parameters to pass to executable
softcam_exe="/usr/bin/oscam"
softcam_param="-b -r 2 -c /etc/tuxbox/config/oscam"
softcam_info="oscam"
 
remove_tmp ()
{
 [ -e /tmp/ecm.info ] && rm -rf /tmp/ecm.info
 [ -e /tmp/.oscam ] && rm -rf /tmp/.oscam
 [ -e /tmp/.console ] && rm -rf /tmp/.console
 [ -e /tmp/camd.socket ] && rm -rf /tmp/camd.socket
 }
 
 
 case "$1" in
start)
exec start-stop-daemon -S -x $softcam_exe -- $softcam_param
;;
stop)
exec start-stop-daemon -K -R 2 -x $softcam_exe &
sleep 3
ps | grep $softcam_exe | grep -v grep > /dev/null
if [ $? -eq 0 ]
then
killall -9 $softcam_exe 2>/dev/null
fi
sleep 2
remove_tmp
;;
 restart|reload)
$0 stop
sleep 4
$0 start
;;
 version)
$softcam_exe -V | head -n 1 | awk '{print $2}'
;;
 info)
  echo $softcam_info
  ;;
 values)
echo "Command line started:" 
echo $softcam_exe $softcam_param
;;
 *)
echo "Usage: $0 start|stop|restart|version|info|values"
exit 1
;;
esac
exit 0

Edited by Pr2, 30 May 2013 - 13:38.

NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Softcam manager not working #18 Pr2

  • PLi® Contributor
  • 6,182 posts

+261
Excellent

Posted 30 May 2013 - 13:48

Hi,

 

Be also carefull that on OpenPli image the following package needs to be installed for Softcam menu to work!

Menu is on the GUI but is doing nothing until you install it:

 

opkg install softcam-support

 

So if you download a softcam that has no depency set to softcam-support it won't start.

 

You can test if you already have it with this command:

 

opkg list-installed | grep softcam-support

 

Pr2


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Softcam manager not working #19 DRAGO.NET

  • Senior Member
  • 76 posts

-9
Neutral

Posted 30 May 2013 - 19:01

I solved by changing the script with that of Pr2:

http://openpli.org/forums/topic/28828-softcam-manager-not-working/?view=findpost&p=353503
Thank you!



Re: Softcam manager not working #20 thanatoscy

  • Member
  • 22 posts

0
Neutral

Posted 31 May 2013 - 11:33

DRAGO.NET can u please walk me through how you did it? thanks


3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users