Jump to content


Photo

OpenPLi 8.0 and mgcamd


  • Please log in to reply
105 replies to this topic

Re: OpenPLi 8.0 and mgcamd #81 WanWizard

  • PLi® Core member
  • 68,625 posts

+1,739
Excellent

Posted 23 May 2021 - 21:20

No, it is on purpose that I made that change, as @foxbob reported that the binary doesn't start if it has a different name from "mgcamd".

 

opkg keeps track of installed files, so it can be removed if you uninstall. If you installed if before my change, it will try to remove mgcamd135a, which no longer exists.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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: OpenPLi 8.0 and mgcamd #82 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 23 May 2021 - 21:30

binary starts perfectly regardless the name, I tested this ;-)

the other way around to fix this multiple mgcamd versions issue would be to eventually hardcode camname in camstart / camstop scripts to "mgcamd" in mgcamd-softcam.inc

CAMSTART ?= "exec start-stop-daemon -S -b -x /usr/bin/${CAMNAME}"
CAMSTOP  ?= "exec start-stop-daemon -K -o -R 2 -x /usr/bin/${CAMNAME}"

but I like my 'fix' better somehow...

 


True sarcasm doesn't need green font...

Re: OpenPLi 8.0 and mgcamd #83 WanWizard

  • PLi® Core member
  • 68,625 posts

+1,739
Excellent

Posted 23 May 2021 - 21:39

Your "fix" just reverts my change of a few days ago. Which @foxbox reported didn't start.

 

So he has a different problem and the original recipes were ok?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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: OpenPLi 8.0 and mgcamd #84 WanWizard

  • PLi® Core member
  • 68,625 posts

+1,739
Excellent

Posted 23 May 2021 - 21:43

Better revert this one then, and everything should be back to how it was: https://github.com/O...575e1d79085d301


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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: OpenPLi 8.0 and mgcamd #85 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 24 May 2021 - 08:23

Rebuilt with the proposed change @blzr.I installed it using the new image the plugin was installed without errors.I added my settings - it worked.I deleted the plugin without errors,but there was still data in the cache,because after the restart of Gui there was still a picture.After a full reboot everything is normal.



Re: OpenPLi 8.0 and mgcamd #86 WanWizard

  • PLi® Core member
  • 68,625 posts

+1,739
Excellent

Posted 24 May 2021 - 19:17

I still don't understand what exactly is the working version.

 

@bzlr says everything worked fine, but if I start /usr/bin/mgcamd135a on the commandline, I get a "file not found" error, which does not appear if I rename it to /usr/bin/mgcamd ? Which is what @foxbob reported too.

 

So, @bzlr, you say the different mgcamd versions work fine in 8.0-release (which is the same as develop was a week ago)?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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: OpenPLi 8.0 and mgcamd #87 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 24 May 2021 - 19:36

well, after lates changes you have in startup script:

CAMSTART ?= "exec start-stop-daemon -S -b -x /usr/bin/${CAMNAME}"

and you have hardcoded binary name to mgcamd:

install -m 0755 ${S}/mgcamd.${TARGET_ARCH} ${D}${bindir}/mgcamd

and for mgcamd 1.35a:

CAMNAME = "mgcamd${MGCAMVER}"
MGCAMVER = "135a"

so it's rather not surprising that /expected/ binary is not found by startup script (?)

 

I'm not sure what the actual problem was that caused this change to hardcoded binary name?


Edited by blzr, 24 May 2021 - 19:38.

True sarcasm doesn't need green font...

Re: OpenPLi 8.0 and mgcamd #88 WanWizard

  • PLi® Core member
  • 68,625 posts

+1,739
Excellent

Posted 24 May 2021 - 20:15

The report of @foxbox was from BEFORE that change, I understand that it now doesn't start, but I don't want want to keep changing.

 

So, either it works fine if the binary is called ${CAMNAME}, in which case I revert my commit and @foxbob has a different problem, or I keep the commit and fix the typo you mentioned.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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: OpenPLi 8.0 and mgcamd #89 HPPli

  • Senior Member
  • 1,882 posts

+36
Good

Posted 25 May 2021 - 02:23

Still this message with OpenPli Develop;

 

mgcamd135a: /usr/lib/libcrypto.so.1.0.0: version `OPENSSL_1.0.0' not found (required by mgcamd135a)

 

libcrypto.so.1.0.0 will be into /usr/lib/ what wil be the meanining of version `OPENSSL_1.0.0' not found ?



Re: OpenPLi 8.0 and mgcamd #90 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 25 May 2021 - 07:09

The report of @foxbox was from BEFORE that change, I understand that it now doesn't start, but I don't want want to keep changing.

 

So, either it works fine if the binary is called ${CAMNAME}, in which case I revert my commit and @foxbob has a different problem, or I keep the commit and fix the typo you mentioned.

no idea why @foxbob reported problems, for me mgcamd135a started fine after you included older ssl libraries in libcrypto-compat, either with generic softcam start script, or later with tweaked mgcamd startup script...

 

Still this message with OpenPli Develop;

 

mgcamd135a: /usr/lib/libcrypto.so.1.0.0: version `OPENSSL_1.0.0' not found (required by mgcamd135a)

 

libcrypto.so.1.0.0 will be into /usr/lib/ what wil be the meanining of version `OPENSSL_1.0.0' not found ?

definitely should not be the case in current develop, is your image up-to-date?

do you have librypto.so.1.0.0 binary or symlink to libcrypto 1.1 in /usr/lib?

what libcrypto-compat package version is installed?

[cope]opkg info libcrypto-compat[/code]

 

 

 

 


True sarcasm doesn't need green font...

Re: OpenPLi 8.0 and mgcamd #91 HPPli

  • Senior Member
  • 1,882 posts

+36
Good

Posted 25 May 2021 - 11:53

We use latest nigtly-Develop and the inf of "libcrypto-compat" will show;

 

root@gbue4k:~# opkg info libcrypto-compat
Package: libcrypto-compat
Version: 1.0.2r-r0.0
Depends: libc6 (>= 2.30)
Provides: libcrypto-compat
Status: unknown ok not-installed
Section: libs/network
Architecture: cortexa15hf-neon-vfpv4
Maintainer: OE-Core Developers <openembedded-core@lists.openembedded.org>
MD5Sum: 0830e0ec7594002669fef2ddea9267bd
Size: 564102
Filename: libcrypto-compat_1.0.2r-r0.0_cortexa15hf-neon-vfpv4.ipk
Source: libcrypto-compat.bb
Description: Secure Socket Layer - Backward Compatibility package

Package: libcrypto-compat
Version: 1.1-r0.8
Depends: libcrypto1.1, libssl1.1, libxcrypt-compat
Provides: libcrypto0.9.7, libcrypto0.9.8, libcrypto1.0.0, libssl0.9.7, libssl0.9.8, libssl1.0.0
Replaces: libcrypto0.9.7, libcrypto0.9.8, libcrypto1.0.0, libssl0.9.7, libssl0.9.8, libssl1.0.0
Conflicts: libcrypto0.9.7, libcrypto0.9.8, libcrypto1.0.0, libssl0.9.7, libssl0.9.8, libssl1.0.0
Status: install ok installed
Architecture: cortexa15hf-neon-vfpv4
Installed-Time: 1620741454



Re: OpenPLi 8.0 and mgcamd #92 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 25 May 2021 - 12:53

hmm, looks that you have older (but higher) version installed that incudes only symlinks, version 1.0.2 is the latest and includes older binaries...

probably opkg upgrade refuses to "downgrade" the package (?)

 

maybe try:

opkg install --force-reinstall libcrypto-compat

True sarcasm doesn't need green font...

Re: OpenPLi 8.0 and mgcamd #93 WanWizard

  • PLi® Core member
  • 68,625 posts

+1,739
Excellent

Posted 25 May 2021 - 13:03

If you have an old(er) develop then yes, you need to do this (or remove / reinstall ).

 

I always flash instead of update, so I never see issues like this (also, have no use for mgcamd, so I can't test it myself).

 

I have now reverted some of the changes, and only kept the init script that @foxbob posted earlier, which does some mgcamd specific things (different start parameters, delete ecm files, etc).


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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: OpenPLi 8.0 and mgcamd #94 kamaxx

  • Senior Member
  • 77 posts

+3
Neutral

Posted 13 June 2021 - 16:17

Hi all;

 

I flashed developer image on vuduo 4k and Mgcamd does not work

I need to mgcamd1.46 emu like @foxbob.

 

All oscam,cccam and wicardd works well but mgcamd is off.

 

PS:I have just read all on this thread and I applied libcrypto.so.1.0.2 and libssl.1.0.2 

Attached Files

  • Attached File  usr.rar   966.51KB   25 downloads

Edited by kamaxx, 13 June 2021 - 16:18.


Re: OpenPLi 8.0 and mgcamd #95 WanWizard

  • PLi® Core member
  • 68,625 posts

+1,739
Excellent

Posted 13 June 2021 - 16:23

mgcamd in develop has been setup according to Foxbobs script.

 

I have noticed that if the binary isn't called "mgcamd" it refuses the start, but other uses have contradicted that, so maybe that is your problem too?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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: OpenPLi 8.0 and mgcamd #96 kamaxx

  • Senior Member
  • 77 posts

+3
Neutral

Posted 17 June 2021 - 18:11

@WanWizard;

 

 

You were right and I did not realize that clue :)

 

Mgcamd last build v1.46-r3 version works now and I think It needs right priority parameters to speed up.

 

 

Attached Files


Edited by kamaxx, 17 June 2021 - 18:12.


Re: OpenPLi 8.0 and mgcamd #97 WanWizard

  • PLi® Core member
  • 68,625 posts

+1,739
Excellent

Posted 17 June 2021 - 18:41

So you are confirming my observation that the binary needs to be called mgcamd,  and not something else?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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: OpenPLi 8.0 and mgcamd #98 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 17 June 2021 - 18:52

binary can be named anything you want, the point is, its name must match exactly the name in given softcam startup startup script (and vice versa)

that was my observation ;-)


Edited by blzr, 17 June 2021 - 18:56.

True sarcasm doesn't need green font...

Re: OpenPLi 8.0 and mgcamd #99 WanWizard

  • PLi® Core member
  • 68,625 posts

+1,739
Excellent

Posted 18 June 2021 - 12:14

That seems obvious. ;)

 

My problem is that if I rename the binary from "mgcamd" to something else (doesn't matter what), and than manually start it on the commandline, it crashes with "file or directory not found", like it wants to open itself for decompression or so.

 

If I rename it back, it starts without problems.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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: OpenPLi 8.0 and mgcamd #100 kamaxx

  • Senior Member
  • 77 posts

+3
Neutral

Posted 18 June 2021 - 13:11

So you are confirming my observation that the binary needs to be called mgcamd,  and not something else?

Yes,Indeed !

 

I only had changed and updated libcrypt abd libssl files under /usr/libs

 

I maybe wrong but I suppose This emu can only work with  "mgcamd" key word which builded by owners.So I found "mgcamd" into binary file.

 

Most of channels can not decode but Right values under priorities are fast. I hope I can rearrange priority magic.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users