Jump to content


Photo

Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit


  • Please log in to reply
2047 replies to this topic

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1481 momi133

  • Senior Member
  • 73 posts

0
Neutral

Posted 21 February 2019 - 07:18

 

I notice that the dvbapi module of oscam began to fall off and is not restored, although the server responds quickly.
The connection is restored when switching to an other channel or restarting oscam. In what version it happened is not clear.
Therefore I switched oscam to https://github.com/o...u/oscam-patched. Maybe oscam will be better to work? Check it please.

 

Hi @1455

 

I buy new pc system and  e2pc is installed successfuly and everything is ok except oscam!

 

for descrambling a tv with BISS code, show this error:

 

==================================================================================================================

2018/10/02 21:11:15 6360F513 c   (dvbapi) Demuxer 0 ecmpid 0 CAID: 2600 ECM_PID: 0A28 PROVID: 000000
2018/10/02 21:11:15 6360F513 c   (dvbapi) Demuxer 0 ecmpid 1 CAID: 2600 ECM_PID: 1FFF PROVID: 000000
2018/10/02 21:11:15 6360F513 c   (dvbapi) Demuxer 0 found 2 ECMpids and 3 STREAMpids in caPMT
2018/10/02 21:11:15 6360F513 c   (dvbapi) Demuxer 0 found channel in cache and matching prio -> start descrambling ecmpid 0
2018/10/02 21:11:15 6360F513 c   (dvbapi) Demuxer 0 trying to descramble PID 0 CAID 2600 PROVID 000000 ECMPID 0A28 ANY CHID PMTPID 0067 VPID 0406
2018/10/02 21:11:15 0EE0180B p  (constcw) Searching CW for CAID 2600 PROVID 000000 SRVID 0067 ECMPID 0A28 PMTPID 0067 VPID 0406
2018/10/02 21:11:15 0EE0180B p  (constcw) Entry found: 2600@000000:0067:0067:0A28:0000:11 11 11 33 11 11 11 33 11 11 11 33 11 11 11 33 ===> *********
2018/10/02 21:11:15 6360F513 c   (dvbapi) ERROR: Can't open device /dev/dvb/adapter0/ca0 (errno=16 Device or resource busy)

=================================================================================================================

ERROR LOG: https://paste.ubuntu.com/p/dJyM3KVs7S/

 

7_build_oscam.sh :https://paste.ubuntu.com/p/v2cYpFsC2f/

 

****************KEY IS FOUND AND INFOBAR ALSO SHOWS THAT OSCAM WORK PERFECT BUT  DON'T SHOW CHANNEL VIDEO

 

PLEASE HELP ME!

 

 

The error message suggests you have two cams running?

 

 

you have two oscam instances running

 

By the way, most likely. But we are not psychics. It can't be that the work of the emulator depended on PC hardware.

 

 

we discussed about my problem in previous year.  I install enigma2pc (openpli image) in Ubuntu 18 on my laptop and oscam works perfect and encrypted channels are open.

 
I buy a new desktop pc and I install enigma2pc (openpli image) in Ubuntu 18 , but oscam doesn't work perfect and show error.
 
"(dvbapi) ERROR: Can't open device /dev/dvb/adapter0/ca0 (errno=16 Device or resource busy)"
 

I remove HDD of laptop and install it on desktop pc and system boot from  Ubuntu 18 that  previously  installed by my laptop and I used same enigma2pc as before in laptop  but show same error.(same HDD with same ubuntu and enigma2pc )

 

what's your tips for solving this problem?

 

thanks a lot.

 

previous discussion: https://forums.openp...-32-bit/page-71


Edited by momi133, 21 February 2019 - 07:19.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1482 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 21 February 2019 - 08:15

What does Google say about (dvbapi) ERROR: Can't open device /dev/dvb/adapter0/ca0 (errno=16 Device or resource busy)?

Maybe someting wrong in the settings of your provider?


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1483 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 21 February 2019 - 09:10

lsof +D /dev/dvb/adapter0
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
oscam   9249 root   43u   CHR  212,0      0t0  598 /dev/dvb/adapter0/demux0

?

 

 


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1484 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 21 February 2019 - 09:19

http://www.sat-unive...hp?p=2036937409


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1485 momi133

  • Senior Member
  • 73 posts

0
Neutral

Posted 21 February 2019 - 12:02

What does Google say about (dvbapi) ERROR: Can't open device /dev/dvb/adapter0/ca0 (errno=16 Device or resource busy)?

Maybe someting wrong in the settings of your provider?

 

channel provider? I tested all channels with different providers!

 

 

lsof +D /dev/dvb/adapter0
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
oscam   9249 root   43u   CHR  212,0      0t0  598 /dev/dvb/adapter0/demux0

?

 

 I will answer this later

 

 

this topic started by me.

 

thanks for replying.


Edited by momi133, 21 February 2019 - 12:03.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1486 momi133

  • Senior Member
  • 73 posts

0
Neutral

Posted 22 February 2019 - 04:57

lsof +D /dev/dvb/adapter0
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
oscam   9249 root   43u   CHR  212,0      0t0  598 /dev/dvb/adapter0/demux0

?

 

For my laptop, command show same result as you but for my newpc shows following results:

 

>>>>>>if Enigma is not started(but oscam is started. )

 

root@mamad-Asus:/usr/src# softcam restart
 * Stopping OScam...                                                                                                                                                                                 [ OK ] 
 * Starting OScam...                                                                                                                                                                                 [ OK ] 
root@mamad-Asus:/usr/src# lsof +D /dev/dvb/adapter0
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
 
 

>>>>>>if Enigma is started:

 

root@mamad-Asus:/usr/src# lsof +D /dev/dvb/adapter0

lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
oscam   2618 root   19u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   40u   CHR  212,3      0t0  588 /dev/dvb/adapter0/frontend0
enigma2 4289 root   42u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   43u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   44u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   45u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   51u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   52u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   54u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   55u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   57u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   58u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   61u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   62u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   65u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   66u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   67u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   68u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   69u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   70r   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   76u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   78u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1487 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 22 February 2019 - 10:19

Hi,

Is there a working picture-in-picture plugin?I tried extended virtual zap but it didn't work.

I just don't know what to answer. Nobody promised that all the plugins will work. The original enigma2 uses libsdl:
https://en.wikipedia...rectMedia_Layer
And for PC everything is rewritten to libxine, because it can use hardware acceleration of the video card.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1488 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 22 February 2019 - 11:54

mom133, try to create group oscam and add user root and other oscam's users to this group...

???


Edited by 1455, 22 February 2019 - 11:56.

GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1489 roxette

  • Senior Member
  • 161 posts

+1
Neutral

Posted 22 February 2019 - 13:58

1455, Thanks for replying, Please let me know if there is any updates on this issue


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1490 juankrlos

  • New Member
  • 3 posts

0
Neutral

Posted 2 March 2019 - 15:51

 

OK I discovered enigma2pc-6.2

 

But I fail on ./3_build_libxine.sh

libtool: install: (cd /home/ubuntu/enigma2pc-6.2/xine-lib-1.2-1.2.9+hg-e2pc/src/input; /bin/sh "/home/ubuntu/enigma2pc-6.2/xine-lib-1.2-1.2.9+hg-e2pc/libtool"  --silent --tag CC --mode=relink x86_64-linux-gnu-gcc -O3 -fexpensive-optimizations -ffast-math -fvisibility=hidden -pipe -Wall -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Werror-implicit-function-declaration -Wstrict-aliasing=2 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wpointer-arith -g -Wall -Wchar-subscripts -Wnested-externs -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wmissing-format-attribute -Wno-pointer-sign -Wformat=2 -Wno-format-zero-length -Wformat-security -Wstrict-aliasing=2 -Werror=implicit-function-declaration -Wl,-z,defs -Wl,--gc-sections -avoid-version -module -Wl,-Bsymbolic -g -o xineplug_inp_bluray.la -rpath /usr/lib/xine/plugins/2.7 xineplug_inp_bluray_la-input_bluray.lo ../../src/xine-engine/libxine.la -lbluray -pthread media_helper.la input_helper.la -inst-prefix-dir /home/ubuntu/enigma2pc-6.2/xine-lib-1.2-1.2.9+hg-e2pc/debian/tmp)
.libs/xineplug_inp_bluray_la-input_bluray.o: In function `bluray_plugin_open':
/home/ubuntu/enigma2pc-6.2/xine-lib-1.2-1.2.9+hg-e2pc/src/input/input_bluray.c:1718: undefined reference to `bd_register_argb_overlay_proc'
.libs/xineplug_inp_bluray_la-input_bluray.o: In function `bluray_plugin_dispose':
/home/ubuntu/enigma2pc-6.2/xine-lib-1.2-1.2.9+hg-e2pc/src/input/input_bluray.c:1419: undefined reference to `bd_register_argb_overlay_proc'
collect2: error: ld returned 1 exit status
libtool:   error: error: relink 'xineplug_inp_bluray.la' with the above command before installing it

hi Pablocool.

 

how to resolve this problem?

 

in my ubuntu 18.04 get this error in "/3_build_libxine.sh"  

:

 

"

sudo dpkg-buildpackage -d -uc -us
 

... output omited ...

er_argb_overlay_proc'
collect2: error: ld returned 1 exit status
libtool:   error: error: relink 'xineplug_inp_bluray.la' with the above command before installing it
Makefile:1028: recipe for target 'install-xineplugLTLIBRARIES' failed
make[5]: *** [install-xineplugLTLIBRARIES] Error 1
make[5]: Leaving directory '/home/juancarlos/Descargas/enigma2pc-6.2/xine-lib-1.2-1.2.9+hg-e2pc/src/input'
Makefile:1566: recipe for target 'install-am' failed
make[4]: *** [install-am] Error 2
make[4]: Leaving directory '/home/juancarlos/Descargas/enigma2pc-6.2/xine-lib-1.2-1.2.9+hg-e2pc/src/input'
Makefile:1405: recipe for target 'install-recursive' failed
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory '/home/juancarlos/Descargas/enigma2pc-6.2/xine-lib-1.2-1.2.9+hg-e2pc/src/input'
Makefile:623: recipe for target 'install-recursive' failed
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory '/home/juancarlos/Descargas/enigma2pc-6.2/xine-lib-1.2-1.2.9+hg-e2pc/src'
Makefile:712: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/juancarlos/Descargas/enigma2pc-6.2/xine-lib-1.2-1.2.9+hg-e2pc'
debian/rules:130: recipe for target 'install' failed
make: *** [install] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

"

 

i delete all libxine2 from my pc

 

4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

 



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1491 juankrlos

  • New Member
  • 3 posts

0
Neutral

Posted 2 March 2019 - 17:26

now i try manually

 

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:        18.04
Codename:       bionic

 

 

sudo dpkg -s libesd0 | grep "Status"            
Status: install ok installed

 

 

Download xine-lib-1.2 :

 

hg clone -r 13868 <link omited> xine-lib-1.2-1.2.9+hg-e2pc

 

 

copy patch in xine-lib-1.2-1.2.9+hg-e2pc directory

 

sudo cp patches/xine-lib-1.2-r13868.patch xine-lib-1.2-1.2.9+hg-e2pc/

 

 

My GPU INTEL:

lspci 2>/dev/null | grep -E "VGA|3D" | grep -Eiwo "NVIDIA|INTEL|ATI"

Intel
NVIDIA

 

Copy patch vaapi in Xine-lib directory

 

sudo cp patches/vaapi.patch xine-lib-1.2-1.2.9+hg-e2pc/

 

Patch Xine-Lib

 

cd xine-lib-1.2-1.2.9+hg-e2pc/

juancarlos@juancarlos:~/Documentos/enigma2pc-6.2/xine-lib-1.2-1.2.9+hg-e2pc$ sudo patch -p1 < xine-lib-1.2*.patch 

patching file debian/changelog
patching file debian/rules
patching file include/xine/osd.h
patching file include/xine/video_out.h
patching file include/xine/xineintl.h
patching file include/xine.h
patching file src/demuxers/demux_ts.c
patching file src/input/combined_enigma.c
patching file src/input/combined_enigma.h
patching file src/input/input_enigma.c
patching file src/input/Makefile.am
patching file src/input/post_enigma_audio.c
patching file src/input/post_enigma_video.c
patching file src/video_out/video_out_opengl.c
patching file src/video_out/video_out_vdpau.c
patching file src/xine-engine/osd.c
patching file src/xine-engine/video_out.c
patching file src/xine-engine/xine_interface.c

 

Patch Vaapi
juancarlos@juancarlos:~/Documentos/enigma2pc-6.2/xine-lib-1.2-1.2.9+hg-e2pc$ sudo patch -p1 < vaapi.patch 

patching file src/video_out/video_out_vaapi.c

 

 

Build package:

sudo dpkg-buildpackage -d -uc -us
 

< FULL OUTPUT ATTACH FILE>

/home/juancarlos/Documentos/enigma2pc-6.2/xine-lib-1.2-1.2.9+hg-e2pc/src/input/input_bluray.c:1718: undefined reference to `bd_regis
ter_argb_overlay_proc'
.libs/xineplug_inp_bluray_la-input_bluray.o: In function `bluray_plugin_dispose':
/home/juancarlos/Documentos/enigma2pc-6.2/xine-lib-1.2-1.2.9+hg-e2pc/src/input/input_bluray.c:1419: undefined reference to `bd_regis
ter_argb_overlay_proc'
collect2: error: ld returned 1 exit status
libtool:   error: error: relink 'xineplug_inp_bluray.la' with the above command before installing it
Makefile:1028: recipe for target 'install-xineplugLTLIBRARIES' failed
make[5]: *** [install-xineplugLTLIBRARIES] Error 1
make[5]: Leaving directory '/home/juancarlos/Documentos/enigma2pc-6.2/xine-lib-1.2-1.2.9+hg-e2pc/src/input'
Makefile:1566: recipe for target 'install-am' failed
make[4]: *** [install-am] Error 2
make[4]: Leaving directory '/home/juancarlos/Documentos/enigma2pc-6.2/xine-lib-1.2-1.2.9+hg-e2pc/src/input'
Makefile:1405: recipe for target 'install-recursive' failed
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory '/home/juancarlos/Documentos/enigma2pc-6.2/xine-lib-1.2-1.2.9+hg-e2pc/src/input'
Makefile:623: recipe for target 'install-recursive' failed
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory '/home/juancarlos/Documentos/enigma2pc-6.2/xine-lib-1.2-1.2.9+hg-e2pc/src'
Makefile:712: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/juancarlos/Documentos/enigma2pc-6.2/xine-lib-1.2-1.2.9+hg-e2pc'
debian/rules:130: recipe for target 'install' failed
make: *** [install] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

juancarlos@juancarlos:~/Documentos/enigma2pc-6.2/xine-lib-1.2-1.2.9+hg-e2pc
 

 

 

 

 

 

Attached Files



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1492 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 3 March 2019 - 08:40

First of all, check if there are old libxine files not listed in the 'apt' registry. Look in mc for a mask *xine*. If you have NVIDIA-GPU, then disable the INTEL-GPU core integrated in the BIOS. If not, make sure you have an INTEL-GPU. Perhaps need to make corrections in the script.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1493 hinoxe

  • New Member
  • 1 posts

0
Neutral

Posted 3 March 2019 - 13:34

i need enigma2.tar to install it on my ubuntu18.04

thnks



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1494 momi133

  • Senior Member
  • 73 posts

0
Neutral

Posted 4 March 2019 - 18:16

mom133, try to create group oscam and add user root and other oscam's users to this group...

???

 

I have good news: I sent an email to oscam.emu author and he suggested to disable constantcw reader in oscam. I disable it and log doesn't show previous error but channel was not open!!!!! I test for different channels and feeds,

 

new oscam log: https://paste.ubuntu.com/p/qnWnq9y6Kf/

 

 

I created oscam group and added users to it (users: root and tuner).

root@mamad-Asus:/usr/local/e2/bin# groupadd oscam
root@mamad-Asus:/usr/local/e2/bin# useradd -G oscam root
useradd: user 'root' already exists
root@mamad-Asus:/usr/local/e2/bin# useradd -G oscam tuner
root@mamad-Asus:/usr/local/e2/bin# groupadd oscam
groupadd: group 'oscam' already exists
root@mamad-Asus:/usr/local/e2/bin#

after adding group and user, what do I do?



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1495 momi133

  • Senior Member
  • 73 posts

0
Neutral

Posted 4 March 2019 - 19:59

lsof +D /dev/dvb/adapter0
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
oscam   9249 root   43u   CHR  212,0      0t0  598 /dev/dvb/adapter0/demux0

?

 

 

when enigma is started:

 

my laptop:

lsof +D /dev/dvb/adapter0
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
oscam   3919 root   18u   CHR  212,0      0t0  527 /dev/dvb/adapter0/demux0
oscam   3919 root   20u   CHR  236,0      0t0  617 /dev/dvb/adapter0/ca0
oscam   3919 root   44u   CHR  212,0      0t0  527 /dev/dvb/adapter0/demux0
enigma2 4619 root   43u   CHR  212,0      0t0  527 /dev/dvb/adapter0/demux0
enigma2 4619 root   44u   CHR  212,0      0t0  527 /dev/dvb/adapter0/demux0
enigma2 4619 root   45u   CHR  212,0      0t0  527 /dev/dvb/adapter0/demux0
enigma2 4619 root   53u   CHR  212,0      0t0  527 /dev/dvb/adapter0/demux0
enigma2 4619 root   54u   CHR  212,0      0t0  527 /dev/dvb/adapter0/demux0
enigma2 4619 root   55u   CHR  212,0      0t0  527 /dev/dvb/adapter0/demux0
enigma2 4619 root   56u   CHR  212,0      0t0  527 /dev/dvb/adapter0/demux0
enigma2 4619 root   57u   CHR  212,0      0t0  527 /dev/dvb/adapter0/demux0
enigma2 4619 root   59u   CHR  212,0      0t0  527 /dev/dvb/adapter0/demux0
enigma2 4619 root   60u   CHR  212,0      0t0  527 /dev/dvb/adapter0/demux0
enigma2 4619 root   62u   CHR  212,0      0t0  527 /dev/dvb/adapter0/demux0
enigma2 4619 root   63u   CHR  212,0      0t0  527 /dev/dvb/adapter0/demux0
enigma2 4619 root   76u   CHR  212,0      0t0  527 /dev/dvb/adapter0/demux0
enigma2 4619 root   79u   CHR  212,3      0t0  568 /dev/dvb/adapter0/frontend0
enigma2 4619 root   80u   CHR  212,0      0t0  527 /dev/dvb/adapter0/demux0
enigma2 4619 root   81u   CHR  212,0      0t0  527 /dev/dvb/adapter0/demux0
enigma2 4619 root   82u   CHR  212,0      0t0  527 /dev/dvb/adapter0/demux0
enigma2 4619 root   83u   CHR  212,0      0t0  527 /dev/dvb/adapter0/demux0
enigma2 4619 root   84r   CHR  212,0      0t0  527 /dev/dvb/adapter0/demux0
enigma2 4619 root   90u   CHR  212,0      0t0  527 /dev/dvb/adapter0/demux0
enigma2 4619 root   92u   CHR  212,0      0t0  527 /dev/dvb/adapter0/demux0
bitrate 4801 root    3r   CHR  212,0      0t0  527 /dev/dvb/adapter0/demux0
bitrate 4801 root    4r   CHR  212,0      0t0  527 /dev/dvb/adapter0/demux0
bitrate 4801 root    5r   CHR  212,0      0t0  527 /dev/dvb/adapter0/demux0

My new PC:

root@mamad-Asus:/usr/src# lsof +D /dev/dvb/adapter0lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
oscam   2618 root   19u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   40u   CHR  212,3      0t0  588 /dev/dvb/adapter0/frontend0
enigma2 4289 root   42u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   43u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   44u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   45u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   51u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   52u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   54u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   55u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   57u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   58u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   61u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   62u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   65u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   66u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   67u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   68u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   69u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   70r   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   76u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0
enigma2 4289 root   78u   CHR  212,0      0t0  578 /dev/dvb/adapter0/demux0

in new pc, the following line doesn't exist:

oscam   3919 root   20u   CHR  236,0      0t0  617 /dev/dvb/adapter0/ca0

Edited by momi133, 4 March 2019 - 20:03.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1496 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 5 March 2019 - 09:58

ls -l /dev/dvb/adapter0

crw-------  1 root root  236, 0 мар  5 11:05 ca0
crw-rw----+ 1 root video 212, 0 мар  5 11:05 demux0
lrwxrwxrwx  1 root root      24 мар  5 11:05 demux1 -> /dev/dvb/adapter0/demux0
crw-rw----+ 1 root video 212, 1 мар  5 11:05 dvr0
lrwxrwxrwx  1 root root      22 мар  5 11:05 dvr1 -> /dev/dvb/adapter0/dvr0
crw-rw----+ 1 root video 212, 3 мар  5 11:05 frontend0
crw-rw----+ 1 root video 212, 2 мар  5 11:05 net0
I have difference oscam.log:
>> OSCam << cardserver log switched, version 1.20_svn, build r11494-788 (x86_64-linux-gnu)
...
(main) Stb model      = e2pc
...
(emu) OSCam-Emu version 788
...
(emu) Key file not found in: /etc/vdr/oscam
(emu) Reading key file: /var/keys/SoftCam.Key
...
(dvbapi) Detected /dev/dvb/adapter0/demux0 Api: 0, userconfig boxtype: 1 maximum amount of possible filters is 32 (oscam limit is 32)
...

Run the oscam build script again and it should complete everything by itself! I just don't understand what is happening. Of course, it is not necessary to have Softcam.Keys, but much is wrong in the log!


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1497 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 5 March 2019 - 10:12

First you need to run 4_build_openpliPC.sh.

There are such words in it:

if [ $KERNEL == "4.15" ]; then
    echo "                  your kernel 4.15!                     "
    echo "********************************************************"
    echo ""
    patch -p1 < 4_1X_kernel.patch
    cd ..
    cp -f pre/ca.h /usr/include/linux/dvb
    cp -f pre/ca.h /usr/src/linux-headers-4.15.0-*/include/uapi/linux/dvb
    cd $PKG
    echo ""
    echo "********************************************************"
    echo "             patch for dvbsoftwareca applied            "
    echo "                  replaced file ca.h                    "
fi

<- Applying patch for kernel 4.15.x

# Remove old kernel module
modprobe -r dvbsoftwareca
rm /dev/dvb/adapter0/dvr1
rm /dev/dvb/adapter0/demux1

# Make dvbsoftwareca
cd dvbsoftwareca
make -j"$DO_PARALLEL"
if [ ! $? -eq 0 ]; then
    echo ""
    echo "An error occured while building OpenPliPC - section dvbsoftwareca"
    echo ""
    exit
fi
cp -f dvbsoftwareca.ko /lib/modules/`uname -r`/kernel/drivers/media/dvb-frontends/
depmod -a

# Insert module dvbsoftwareca and create symlink
if [ $(lsmod | grep -c dvbsoftwareca) -eq 0 ]; then
    modprobe dvbsoftwareca
    ln -s /dev/dvb/adapter0/dvr0 /dev/dvb/adapter0/dvr1
    ln -s /dev/dvb/adapter0/demux0 /dev/dvb/adapter0/demux1
fi

<-  The required steps to build dvbsoftwareca

 

 

To run enigma2, use the autostart.sh script ONLY.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1498 momi133

  • Senior Member
  • 73 posts

0
Neutral

Posted 8 March 2019 - 06:13

ls -l /dev/dvb/adapter0

crw-------  1 root root  236, 0 мар  5 11:05 ca0
crw-rw----+ 1 root video 212, 0 мар  5 11:05 demux0
lrwxrwxrwx  1 root root      24 мар  5 11:05 demux1 -> /dev/dvb/adapter0/demux0
crw-rw----+ 1 root video 212, 1 мар  5 11:05 dvr0
lrwxrwxrwx  1 root root      22 мар  5 11:05 dvr1 -> /dev/dvb/adapter0/dvr0
crw-rw----+ 1 root video 212, 3 мар  5 11:05 frontend0
crw-rw----+ 1 root video 212, 2 мар  5 11:05 net0
I have difference oscam.log:
>> OSCam << cardserver log switched, version 1.20_svn, build r11494-788 (x86_64-linux-gnu)
...
(main) Stb model      = e2pc
...
(emu) OSCam-Emu version 788
...
(emu) Key file not found in: /etc/vdr/oscam
(emu) Reading key file: /var/keys/SoftCam.Key
...
(dvbapi) Detected /dev/dvb/adapter0/demux0 Api: 0, userconfig boxtype: 1 maximum amount of possible filters is 32 (oscam limit is 32)
...

Run the oscam build script again and it should complete everything by itself! I just don't understand what is happening. Of course, it is not necessary to have Softcam.Keys, but much is wrong in the log!

 

root@mamad-Asus:/usr/local/e2/bin# ls -l  /dev/dvb/*

total 0
crw-------  1 root root  236, 0 Mar  8 07:55 ca0
crw-rw----+ 1 root video 212, 0 Mar  8 07:55 demux0
lrwxrwxrwx  1 root root      24 Mar  8 07:55 demux1 -> /dev/dvb/adapter0/demux0
crw-rw----+ 1 root video 212, 1 Mar  8 07:55 dvr0
lrwxrwxrwx  1 root root      22 Mar  8 07:55 dvr1 -> /dev/dvb/adapter0/dvr0
crw-rw----+ 1 root video 212, 3 Mar  8 07:55 frontend0
crw-rw----+ 1 root video 212, 2 Mar  8 07:55 net0

I found a new tip:

 

>>>>>>In my laptop, boxtype in oscam.conf is dreambox and everything is ok.

 

>>>>>>in my PC:WHEN boxtype in oscam.conf is dreambox show following error in log:

(dvbapi) ERROR: Can't open device /dev/dvb/adapter0/ca0 (errno=16 Device or resource busy)

but lsof +D /dev/dvb/adapter0 show right answer:

root@mamad-Asus:/usr/local/e2/bin# lsof +D /dev/dvb/adapter0
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
oscam   27174 root   43u   CHR  212,0      0t0  653 /dev/dvb/adapter0/demux0

>>>>>>>in my PC:WHEN boxtype in oscam.conf is pc, doesn't show following error in log and it's ok.

(dvbapi) ERROR: Can't open device /dev/dvb/adapter0/ca0 (errno=16 Device or resource busy)

but lsof +D /dev/dvb/adapter0 doesn't show any answer:

lsof +D /dev/dvb/adapter0
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.

I run the oscam build script again and it is completed everything by itself!
 


Edited by momi133, 8 March 2019 - 06:14.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1499 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 11 March 2019 - 08:53

I have no ideas. Is there a second copy of oscam in the system?


Edited by 1455, 11 March 2019 - 08:54.

GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1500 momi133

  • Senior Member
  • 73 posts

0
Neutral

Posted 11 March 2019 - 09:27

I have no ideas. Is there a second copy of oscam in the system?

 thanks! there is not another copy!

 

is it possible to active and use numeric keypad in enigma2pc?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users