Jump to content


Photo

Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit


  • Please log in to reply
2062 replies to this topic

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

  • Senior Member
  • 407 posts

+12
Neutral

Posted 17 November 2019 - 21:01

Maybe someone asked on the oscam forum about the possibility of alternately using adapter0 and adapter1 or oscam settings ? Seems that there is no difference what names of adapters will be called because the words "adapter%d" and "ca%d" exists in dvbsoftwareca module.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


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

  • Senior Member
  • 407 posts

+12
Neutral

Posted 17 November 2019 - 21:16

Maybe add to enigma2_pre_start.sh:

    echo "For $i"ca0" create symlink $i"ca1" "
    ln -s $i"ca0" $i"ca1"

?


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


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

  • Senior Member
  • 161 posts

+1
Neutral

Posted 18 November 2019 - 01:58

Hi, roxette. I am fine. :thumbs-up: Yes, I have already started work. Since only adapted plugins can be used, this function is excluded. It seemed to me that completely. I will check that "Download Plugins" does not appear anymore.

 

Hi, Welcome back  :)

I figured it out, the following 2 lines were removed from PluginBrowser.py

self["key_green"] = self["green"] = Label(_("Download plugins"))
"green": self.download

 

Maybe someone asked on the oscam forum about the possibility of alternately using adapter0 and adapter1 or oscam settings ? Seems that there is no difference what names of adapters will be called because the words "adapter%d" and "ca%d" exists in dvbsoftwareca module.

You're right, though adapter0/ adapter1 uses ca0 as you can see in log

 

user.info kernel: [    7.990469] /dvbsoftwareca-master/dvb_softwareca.c: frontend loopback driver v0.0.1
user.warn kernel: [    7.990470] dvbsoftwareca: registering adapters
user.debug kernel: [    7.991625] dvbsoftwareca: register adapter0/ca0 @ minor: 0000
user.warn kernel: [    7.991626] dvbsoftwareca: registered CA0 device for adapter0
user.debug kernel: [    7.991668] dvbsoftwareca: register adapter1/ca0 @ minor: 0004
user.warn kernel: [    7.991669] dvbsoftwareca: registered CA0 device for adapter1
user.warn kernel: [    7.991751] dvbsoftwareca: registered 2 CA devices

 

Maybe add to enigma2_pre_start.sh:

    echo "For $i"ca0" create symlink $i"ca1" "
    ln -s $i"ca0" $i"ca1"

?

 

Since both adapters uses ca0 so that is not necessary

At 1st it didn't work

 

adapter1/demux0 idx 0: change to even key
adapter1/demux0 idx 0: even key not ready (500 ms)
adapter1/demux0 idx 0: not active. wait skipped
Event Received!
[eDVBServicePMTHandler] PATready
[eDVBServicePMTHandler] use pmtpid 0064 for service_id 0001
[eDVBDemux] open demux /dev/dvb/adapter1/demux0
[eDVBSectionReader] DMX_SET_FILTER pid=100
[eDVBDemux] open demux /dev/dvb/adapter1/demux0
[eDVBSectionReader] DMX_SET_FILTER pid=0
[eDVBDemux] open demux /dev/dvb/adapter1/demux0
[eDVBSectionReader] DMX_SET_FILTER pid=100
[eDVBDemux] open demux /dev/dvb/adapter1/demux0
[eDVBSectionReader] DMX_SET_FILTER pid=17
[eDVBServicePlay] eventNewProgramInfo timeshift_enabled=0 timeshift_active=0
[eDVBServicePlay] have 1 video stream(s) (0201), and 1 audio stream(s) (0281), and the pcr pid is 0201, and the text pid is ffffffff
[eTSMPEGDecoder] decoder state: play, vpid=0201, apid=0281
[eDVBVideo0] DEMUX_STOP  ok
[eDVBVideo0] destroy
[eDVBVideo0] VIDEO_SET_STREAMTYPE 0 - failed: Bad file descriptor
[eDVBVideo0] DMX_SET_PES_FILTER pid=0x0201 ok
[eDVBVideo0] DEMUX_START ok
[eDVBVideo0] VIDEO_PLAY failed: Bad file descriptor
 
 
What i did is, i switched the coaxial cables then setup tuner configuration accordingly then it worked!
 
The problem is adapter0 and adapter1 are registered randomly
Sometimes card 0 is registered as adapter0
                   card 1 is registered as adapter1
Now oscam can decrypt channels on both adapters.
 
However, if i reboot my pc the following order can take place
                   card 0 is registered as adapter1
                   card 1 is registered as adapter0
Therefore oscam can only decrypt channels on adapter0
So i had to reboot or switch coaxial cables again
It's a weird bug but at lease i got it working  :)

Edited by roxette, 18 November 2019 - 01:59.


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

  • Senior Member
  • 407 posts

+12
Neutral

Posted 18 November 2019 - 08:16

Cool situation. :) 

It looks like a situation with two lircd (0,1). I somehow decided this at me, but don’t remember. Need to read how to resolve order double dvb frondend in one slot. Earlier we tried several physical dvb cards and it worked.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


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

  • Senior Member
  • 407 posts

+12
Neutral

Posted 18 November 2019 - 08:49

Try to remove from enigma2_pre_start.sh:

DVB_DEV="/dev/dvb/adapter0"

if [ -d /sys/class/dvb/dvb0.frontend1 ]; then
    rm $DVB_DEV/net1 $DVB_DEV/frontend1 $DVB_DEV/demux1 $DVB_DEV/dvr1 $DVB_DEV/net1
fi

for i in $(find /dev/dvb -name demux0 | sed 's/.\{6\}$//')
    do
    echo "For $i"demux0" create symlink $i"demux1" "
    ln -s $i"demux0" $i"demux1"
    echo "For $i"dvr0" create symlink $i"dvr1" "
    ln -s $i"dvr0" $i"dvr1"
    done

?


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


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

  • Senior Member
  • 161 posts

+1
Neutral

Posted 18 November 2019 - 23:24

Cool situation. :)

It looks like a situation with two lircd (0,1). I somehow decided this at me, but don’t remember. Need to read how to resolve order double dvb frondend in one slot. Earlier we tried several physical dvb cards and it worked.

I did a quick google search and i found this thread which looks similar to my problem

https://www.tbsdtv.c...hp?f=24&t=25082

 

Here is how to preseve tuners order after reboot though you have to change adapters names as the following example is for TBS dvb cards.

vi /etc/modprobe.d/dvb.conf
options saa716x_core adapter_nr=0,1
options tbsecp3 adapter_nr=2,3

 

Try to remove from enigma2_pre_start.sh:

DVB_DEV="/dev/dvb/adapter0"

if [ -d /sys/class/dvb/dvb0.frontend1 ]; then
    rm $DVB_DEV/net1 $DVB_DEV/frontend1 $DVB_DEV/demux1 $DVB_DEV/dvr1 $DVB_DEV/net1
fi

for i in $(find /dev/dvb -name demux0 | sed 's/.\{6\}$//')
    do
    echo "For $i"demux0" create symlink $i"demux1" "
    ln -s $i"demux0" $i"demux1"
    echo "For $i"dvr0" create symlink $i"dvr1" "
    ln -s $i"dvr0" $i"dvr1"
    done

?

Unfortunately, it didn't work so i will try the above solution later.

Thanks a lot  :)

 

Any news about using softhddevice instead of xine yet?

 milaebrothers said they are working on it then disappeared.  :lol:


Edited by roxette, 18 November 2019 - 23:25.


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

  • Senior Member
  • 407 posts

+12
Neutral

Posted 19 November 2019 - 11:29

It's much easier to return enigma2pc to gstreamer. :) I already have a window in which HD channels work fine. But we need to remove all patches for xine and add display OSD. This also applies to the servicemp3 plugin (Media Player 3). If this idea is of interest, then I invite everyone to take part in creating the "e2pc-mp3" branch based on Ubuntu => 19.10.
Description of enabling harware acceleration


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


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

  • Senior Member
  • 161 posts

+1
Neutral

Posted 19 November 2019 - 14:40

I already tried to build enigma2 without patches, it works without GUI and servicemp3.so crashes with "undefined symbol" or something like that.
I'm surely interested in this project but i don't have Ubuntu 19 installed.

Edited by roxette, 19 November 2019 - 14:40.


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

  • Senior Member
  • 407 posts

+12
Neutral

Posted 20 November 2019 - 10:00

There is probably not much difference in the version of the distribution. I just look at the future.

Xine developers just don't want to make the e2 xine plugin, like for vdr. I gave them a direct link to the patches and no response.

xine-devel mail list


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


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

  • Senior Member
  • 161 posts

+1
Neutral

Posted 20 November 2019 - 18:28

It has a very long time since you guys are using xine, i think it's time to move on.
Perhaps, you should contact Softhddevice developers?
I found this repo to support support HEVC with CUDA and opengl output.
 
 
Poor you, everyone is gone and left you alone in the dark.  :(
 
Now i understand what you meant by this reply  :lol:

 

 



I am absolutely alone and very poorly understand programming. But there is one more working plugin YouTube. :)

You are alone as Macaulay Culkin?  :)

 



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

  • Senior Member
  • 407 posts

+12
Neutral

Posted 21 November 2019 - 11:04

I never hid that I was not a programmer and I’m even surprised how I doing this. As say, I do everything by the method of "scientific poking." ;) Unfortunately, everyone is very busy. But I hope that they read this topic.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


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

  • Senior Member
  • 161 posts

+1
Neutral

Posted 24 December 2019 - 16:30

smOisjP.png

 

Ldyp5bt.png

I'm getting that bad file descriptor and some other errors which occurs randomly, anyone else who encounter them?

 



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1553 WanWizard

  • PLi® Core member
  • 70,563 posts

+1,816
Excellent

Posted 24 December 2019 - 17:39

Local device (disk, USB) or a network device?


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: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1554 roxette

  • Senior Member
  • 161 posts

+1
Neutral

Posted 24 December 2019 - 20:06

If you're asking whether e2pc is installed on local device or USB

It's installed on local device (Ubuntu pc)

Do you encounter those errors too?


Edited by roxette, 24 December 2019 - 20:07.


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

  • Senior Member
  • 407 posts

+12
Neutral

Posted 5 January 2020 - 10:51

 

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!

 

I got this problem when building a computer for a friend. Intel G5400 + ASUS "PRIME H310M-C R2.0". Neither flashing the BIOS, nor picking its settings helps. Let me know if you find a solution. Which processor did you use? What happens if you enable Listen port: 9000 (TCP port to listen instead of camd.socket) and PMT Mode 6 in DVB-Api? Something needs to be fixed in dvbsoftwareca, but it is not clear what exactly. The module doesn't work.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


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

  • Senior Member
  • 407 posts

+12
Neutral

Posted 11 January 2020 - 19:39

Since introduced restrictions on foreign traffic, I have to use github. Therefore, use the bottom link in my signature. I’ll remove the top one soon.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


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

  • Senior Member
  • 407 posts

+12
Neutral

Posted 14 January 2020 - 12:14

I ask experienced programmers for help.

The dvbsoftwareca module works incorrectly. Therefore, I have to automatically juggle the module at startup and on some hardware this doesn't work at all.

"...
[   10.027609] Unregistering CA devices
[   10.034930] /usr/src/E2PC/OpenPLi-PC/enigma2/dvbsoftwareca/dvb_softwareca.c: frontend loopback driver v0.0.1
[   10.034931] dvbsoftwareca: registering adapters
[   10.035019] dvbsoftwareca: register adapter0/ca0 @ minor: 0000
[   10.035020] dvbsoftwareca: registered CA0 device for adapter0
[   10.035191] dvbsoftwareca: registered 1 CA devices
[   11.308820] resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000d0000-0x000d3fff window]
[   11.308952] caller os_map_kernel_space.part.11+0x74/0x90 [nvidia] mapping multiple BARs
..."

This means that the address range is outside the allowed limits 0x000d0000-0x000d3fff!


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


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

  • Senior Member
  • 407 posts

+12
Neutral

Posted 16 January 2020 - 20:27

I ask experienced programmers for help.

The dvbsoftwareca module works incorrectly. Therefore, I have to automatically juggle the module at startup and on some hardware this doesn't work at all.

"...
[   10.027609] Unregistering CA devices
[   10.034930] /usr/src/E2PC/OpenPLi-PC/enigma2/dvbsoftwareca/dvb_softwareca.c: frontend loopback driver v0.0.1
[   10.034931] dvbsoftwareca: registering adapters
[   10.035019] dvbsoftwareca: register adapter0/ca0 @ minor: 0000
[   10.035020] dvbsoftwareca: registered CA0 device for adapter0
[   10.035191] dvbsoftwareca: registered 1 CA devices
[   11.308820] resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000d0000-0x000d3fff window]
[   11.308952] caller os_map_kernel_space.part.11+0x74/0x90 [nvidia] mapping multiple BARs
..."

This means that the address range is outside the allowed limits 0x000d0000-0x000d3fff!

 

Seems I understand the problem. We are trying to insert a module with the main number 236, which is really busy. The problem is that kernel distributes these numbers arbitrarily and it's impossible to guess the free one.
When Cougar wrote this module, the kernels were different completely. At that time, number 236 was not used by anyone.

I tried the following:
remove dvbsoftwareca.ko from /lib/modules/Kernel_NAME/kernel/drivers/media/dvb-frontends and updated the module dependency information with the 'depmod -a' command;
delete the line 'dvbsoftwareca' from the file /etc/modules;

remove the all lines of 'modprobe dvbsoftwareca' from rc.local and reboot the computer.

Then I try loading dvbsoftwareca.ko with the 'insmod' command, but got:

insmod: ERROR: could not insert module dvbsoftwareca.ko: Device or resource busy

dmesg | tail

...
[424.604104] dvbsoftwareca: unable to get major 236
...

In the /dev folder saw that number 236 was occupied by the mei driver:

ls -l

crw ------- 1 root root 236, 0 Jan 16 19:33 mei0

Well, I deleted the intel-microcode package, since bios can do this himself, but after rebooting, number 236 was occupied by nvidia! The remaining main and extra numbers have not changed. But the distribution is not stable!

So I have two way:
1. To assign a static free number, which in my kernel is free exactly. For example,

#define DVBSOFTWARECA_MAJOR 230

Magically! The module loaded and immediately created ca0.
I can recommend this method, but you should find out the free main number yourself.

 

2. To use a dynamic way to get a free number, as described in here.
However, this is a rather complicated way.

 

I puted module in /lib/modules/Kernel NAME/kernel/drivers/media/dvb-frontends and again updated the dependencies with 'depmod -a'.
Removed all unnecessary, leaving only the 'modprobe dvbsoftwareca', since this is not a physical device and needs to be called up.
Then rebooted the computer and huray, ca0 formed flawlessly and encrypted channels opened.

Please try those on new hardware and tell me about the result.
 


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1559 ziko

  • Senior Member
  • 29 posts

0
Neutral

Posted 27 January 2020 - 15:08

Hi i start building the image today , so all went great except the 3_build_openpliPC.sh i got an error :

 

autoreconf: 'configure.ac' or 'configure.in' is required
./3_build_openpliPC.sh: line 199: ./configure: No such file or directory



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

  • Senior Member
  • 407 posts

+12
Neutral

Posted 28 January 2020 - 09:33

Hi i start building the image today , so all went great except the 3_build_openpliPC.sh i got an error :

 

autoreconf: 'configure.ac' or 'configure.in' is required
./3_build_openpliPC.sh: line 199: ./configure: No such file or directory

Show the output  ls -l  inside the source. It looks like enigma2 did't download.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 



3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users