Jump to content


Photo

Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit


  • Please log in to reply
2056 replies to this topic

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #581 temporary

  • Member
  • 8 posts

0
Neutral

Posted 16 March 2012 - 21:41


Hi all,

I have TBS6984 quad dvb-s2 tuner and I'm trying configure nim_sockets for using only tuner2. I readed some old posts and configured nim_sockets file but only first dvb-s2 tuner is working. May I ask someone for help? Thank you.

There is list of dvb devices:

$ ls /dev/dvb/
adapter0 adapter1 adapter2 adapter3

And my nim_sockets

NIM Socket 0:
Type: DVB-S2
Name: TUNER1
Has_Outputs: no
Frontend_Device: 1


Hi,

do I understand you right, that you only want to use tuner2 and not 2 tuners?

If you want to use 2 tuners then you'll have to add a second entry. Something like this:

NIM Socket 0:
  Type: DVB-S2
  Name: T1
  Has_Outputs: no
  Frontend_Device: 0
 
NIM Socket 0:
  Type:DVB-S2
  Name: T2
  Has_Outputs: no
  Frontend_Device: 1

If you only want to use tuner2, I currently don't know a solution. Did you try this:
NIM Socket 1:
		Type: DVB-S2
		Name: TUNER1
		Has_Outputs: no
		Frontend_Device: 1


I tryed first configuration and i received this error:

StandardError: eDVBResourceManager::setFrontendSlotInformations .. assigned 4 socket informations, but 0 registered frontends!

Second configuration is also not working.
Do you have any other ideas?

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #582 temporary

  • Member
  • 8 posts

0
Neutral

Posted 16 March 2012 - 21:50



Hi all,

I have TBS6984 quad dvb-s2 tuner and I'm trying configure nim_sockets for using only tuner2. I readed some old posts and configured nim_sockets file but only first dvb-s2 tuner is working. May I ask someone for help? Thank you.

There is list of dvb devices:

$ ls /dev/dvb/
adapter0 adapter1 adapter2 adapter3

And my nim_sockets

NIM Socket 0:
Type: DVB-S2
Name: TUNER1
Has_Outputs: no
Frontend_Device: 1


Hi,

do I understand you right, that you only want to use tuner2 and not 2 tuners?

If you want to use 2 tuners then you'll have to add a second entry. Something like this:

NIM Socket 0:
  Type: DVB-S2
  Name: T1
  Has_Outputs: no
  Frontend_Device: 0
 
NIM Socket 0:
  Type:DVB-S2
  Name: T2
  Has_Outputs: no
  Frontend_Device: 1

If you only want to use tuner2, I currently don't know a solution. Did you try this:
NIM Socket 1:
		Type: DVB-S2
		Name: TUNER1
		Has_Outputs: no
		Frontend_Device: 1


I tryed first configuration and i received this error:

StandardError: eDVBResourceManager::setFrontendSlotInformations .. assigned 4 socket informations, but 0 registered frontends!

Second configuration is also not working.
Do you have any other ideas?


When I used bellow configuration enigma started everything seems okay, but tuner B can't search programs with message on screen message "Error failed to scan" and in console "scan: allocating raw channel (on frontend 1) failed!"

My configuration:
NIM Socket 0:
Type: DVB-S2
Name: Tuner A
Has_Outputs: no
Frontend_Device: 0

NIM Socket 1:
Type: DVB-S2
Name: Tuner B
Has_Outputs: no
Frontend_Device: 1


There part of enigma startup log:
scanning for frontends..
opening frontend 0
detected satellite frontend
close frontend 0
scanning for frontends..
opening frontend 0
detected satellite frontend
close frontend 0
scanning for frontends..
opening frontend 0
detected satellite frontend
close frontend 0
scanning for frontends..
opening frontend 0
detected satellite frontend
close frontend 0
boxtype detection via /usr/local/e2/etc/stb/info not possible... use fallback via demux count!

found 4 adapter, 4 frontends(4 sim) and 4 demux, boxtype 6
Use valid Linux Time :) (RTC?)
[EPGC] Initialized EPGCache (wait for setCacheFile call now)
Loading spinners...
found 4 spinner!

adapter0/demux0: reset stateadapter1/demux0: reset stateadapter2/demux0: reset stateadapter3/demux0: reset stateexecuting main
setIoPrio best-effort level 3 ok
/usr/local/e2/etc/stb/frontend/0/lnb_sense is 0

Reading satellites.xml
sec config cleared
setSlotInfo for dvb frontend 0 to slotid 0, descr Tuner A, need rotorworkaround No, enabled No, DVB-S2 Yes
setSlotInfo for dvb frontend 0 to slotid 0, descr Tuner A, need rotorworkaround No, enabled No, DVB-S2 Yes
setSlotInfo for dvb frontend 0 to slotid 0, descr Tuner A, need rotorworkaround No, enabled No, DVB-S2 Yes
setSlotInfo for dvb frontend 0 to slotid 0, descr Tuner A, need rotorworkaround No, enabled No, DVB-S2 Yes
slot: 0 configmode: nothing
slot: 1 configmode: simple
diseqcmode: single
sec config completed

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #583 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 16 March 2012 - 21:53

Try to use "Frontend_Device: 0" for both sockets.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #584 temporary

  • Member
  • 8 posts

0
Neutral

Posted 16 March 2012 - 22:00

Same errors like before.

"Error failed to scan" and in console "scan: allocating raw channel (on frontend 1) failed!"

I think that there is the problem. Why all four tuners using same name and config?

setSlotInfo for dvb frontend 0 to slotid 0, descr Tuner A, need rotorworkaround No, enabled No, DVB-S2 Yes
setSlotInfo for dvb frontend 0 to slotid 0, descr Tuner A, need rotorworkaround No, enabled No, DVB-S2 Yes
setSlotInfo for dvb frontend 0 to slotid 0, descr Tuner A, need rotorworkaround No, enabled No, DVB-S2 Yes
setSlotInfo for dvb frontend 0 to slotid 0, descr Tuner A, need rotorworkaround No, enabled No, DVB-S2 Yes

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #585 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 16 March 2012 - 22:08

Yes, that looks curious.

Please create for all 4 tuners entries in the nim_sockets file.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #586 temporary

  • Member
  • 8 posts

0
Neutral

Posted 16 March 2012 - 22:20

Same situation with "Frontend_Device: 0" or numbered by tuner. I have not any other ideas to get work.

NIM Socket 0:
Type: DVB-S2
Name: Tuner A
Has_Outputs: no
Frontend_Device: 0

NIM Socket 1:
Type: DVB-S2
Name: Tuner B
Has_Outputs: no
Frontend_Device: 0

NIM Socket 2:
Type: DVB-S2
Name: Tuner C
Has_Outputs: no
Frontend_Device: 0

NIM Socket 3:
Type: DVB-S2
Name: Tuner D
Has_Outputs: no
Frontend_Device: 0

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #587 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 16 March 2012 - 22:24

Same situation with "Frontend_Device: 0" or numbered by tuner. I have not any other ideas to get work.


Me too. Hope that someone else can help.

Does the card work with other software(kaffeine, vdr,...)?
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #588 MrCoolSpan

  • Member
  • 29 posts

0
Neutral

Posted 17 March 2012 - 16:40

Just a info
works and builds just fine on Ubuntu 2.04 (precise) 64-bit
Kerne Linux 3.2.0-18-generic

NVIDIA-Linux-x86_64-295.20.run
Dm 800 hd (no clone;) and openpli ) dm 7000 openpli, db7020 openpli, Ubuntu 12.04 x64 openpli,Wave torodial T90 dish, diseqc 10/1... 5W, 1W, 05E, 7E, 13E, 16E, 19,2E, 21E, 28E

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #589 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 17 March 2012 - 16:56

Hi all,

after long and hard work, I have published a new version, which is merged with (almost) current openpli sources.
To get it, switch to branch openpli_merge:
git checkout openpli_merge

Warning:
- E2 freezes when no dvb card/stick is active or vtuner module and vtuner client is not running!! I'll try to fix it, because I don't like that. So please use this version only when you can watch TV with master branch.
- Sometimes it's not 100% stable. E.g. I cannot playback some (not all) of my old recordings. When I try to playback them, E2 freezes.

What should work:
- FTA channels work
- Recordings can be made and can be watched (see above warning regarding old recordings).

I cannot test scrambled channels. It should work. Would be great if someone can test it.

The sources are now much closer to openpli sources. Next merges should be easier.

Regards,
Betacentauri

Edited by betacentauri, 17 March 2012 - 16:58.

Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #590 MrCoolSpan

  • Member
  • 29 posts

0
Neutral

Posted 17 March 2012 - 18:32

Hi all,

after long and hard work, I have published a new version, which is merged with (almost) current openpli sources.
To get it, switch to branch openpli_merge:

git checkout openpli_merge

Warning:
- E2 freezes when no dvb card/stick is active or vtuner module and vtuner client is not running!! I'll try to fix it, because I don't like that. So please use this version only when you can watch TV with master branch.
- Sometimes it's not 100% stable. E.g. I cannot playback some (not all) of my old recordings. When I try to playback them, E2 freezes.

What should work:
- FTA channels work
- Recordings can be made and can be watched (see above warning regarding old recordings).

I cannot test scrambled channels. It should work. Would be great if someone can test it.

The sources are now much closer to openpli sources. Next merges should be easier.

Regards,
Betacentauri


No make file in dvbsoftwareca
Dm 800 hd (no clone;) and openpli ) dm 7000 openpli, db7020 openpli, Ubuntu 12.04 x64 openpli,Wave torodial T90 dish, diseqc 10/1... 5W, 1W, 05E, 7E, 13E, 16E, 19,2E, 21E, 28E

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #591 MrCoolSpan

  • Member
  • 29 posts

0
Neutral

Posted 17 March 2012 - 18:41


Hi all,

after long and hard work, I have published a new version, which is merged with (almost) current openpli sources.
To get it, switch to branch openpli_merge:

git checkout openpli_merge

Warning:
- E2 freezes when no dvb card/stick is active or vtuner module and vtuner client is not running!! I'll try to fix it, because I don't like that. So please use this version only when you can watch TV with master branch.
- Sometimes it's not 100% stable. E.g. I cannot playback some (not all) of my old recordings. When I try to playback them, E2 freezes.

What should work:
- FTA channels work
- Recordings can be made and can be watched (see above warning regarding old recordings).

I cannot test scrambled channels. It should work. Would be great if someone can test it.

The sources are now much closer to openpli sources. Next merges should be easier.

Regards,
Betacentauri


No make file in dvbsoftwareca

but works real nice
thanx m8
Dm 800 hd (no clone;) and openpli ) dm 7000 openpli, db7020 openpli, Ubuntu 12.04 x64 openpli,Wave torodial T90 dish, diseqc 10/1... 5W, 1W, 05E, 7E, 13E, 16E, 19,2E, 21E, 28E

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #592 MrCoolSpan

  • Member
  • 29 posts

0
Neutral

Posted 17 March 2012 - 19:04

this is the satellites.xml from my dreambox 800 hd
whit this i can scan Thor and Sirius also

plays put this in /usr/local/e2/etc/tuxbox
Dm 800 hd (no clone;) and openpli ) dm 7000 openpli, db7020 openpli, Ubuntu 12.04 x64 openpli,Wave torodial T90 dish, diseqc 10/1... 5W, 1W, 05E, 7E, 13E, 16E, 19,2E, 21E, 28E

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #593 MrCoolSpan

  • Member
  • 29 posts

0
Neutral

Posted 17 March 2012 - 19:06

ups forgot to hit Attach this file sorry

Attached Files


Dm 800 hd (no clone;) and openpli ) dm 7000 openpli, db7020 openpli, Ubuntu 12.04 x64 openpli,Wave torodial T90 dish, diseqc 10/1... 5W, 1W, 05E, 7E, 13E, 16E, 19,2E, 21E, 28E

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #594 kerven

  • Senior Member
  • 52 posts

+1
Neutral

Posted 17 March 2012 - 22:04

for "betacentauri"

openpli-merge work well with scrambled channels.. virtualbox .. vtuner + oscam

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #595 kerven

  • Senior Member
  • 52 posts

+1
Neutral

Posted 17 March 2012 - 22:30

on "openpli-merge" (e2pdir for buids.sh = usr/local/e3..)
i have same bug than with "master" and original e2pdir = usr/local/e2..

plugin openwebif is installed enabled on port= 80 or other.

on http://localhost i have :

CODE]

web.Server Traceback (most recent call last):
<type 'exceptions.IOError'>: [Errno 2] Aucun fichier ou dossier de ce type: '/proc/stb/info/model'
/usr/lib/python2.6/dist-packages/twisted/web/server.py, line 125 in process
123 try:
124 resrc = self.site.getResourceFor(self)
125 self.render(resrc)
126 except:

etc....
[/CODE]
------------------------

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #596 MrCoolSpan

  • Member
  • 29 posts

0
Neutral

Posted 17 March 2012 - 22:38

Openpli-Merge shuts down when enable subtitles
Dm 800 hd (no clone;) and openpli ) dm 7000 openpli, db7020 openpli, Ubuntu 12.04 x64 openpli,Wave torodial T90 dish, diseqc 10/1... 5W, 1W, 05E, 7E, 13E, 16E, 19,2E, 21E, 28E

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #597 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 17 March 2012 - 23:56

Hi guys,

thanks very much for feedback!!

No make file in dvbsoftwareca

Damn... I deleted all Makefiles to have less differences between the sources. I thought all Makefiles were automatically created. I revert it in the next days. Until then please take Makefile out of other branch.

this is the satellites.xml from my dreambox 800 hd
whit this i can scan Thor and Sirius also

plays put this in /usr/local/e2/etc/tuxbox

Do you mean me? Can I do it without impact for others?

for "betacentauri"

openpli-merge work well with scrambled channels.. virtualbox .. vtuner + oscam

Thanks for good news!!

Openpli-Merge shuts down when enable subtitles

Did it work with the master branch? What subtitles do you use? DVB subtitles?

Regards,
Betacentauri
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #598 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 18 March 2012 - 00:10

on "openpli-merge" (e2pdir for buids.sh = usr/local/e3..)
i have same bug than with "master" and original e2pdir = usr/local/e2..

plugin openwebif is installed enabled on port= 80 or other.

on http://localhost i have :

 
web.Server Traceback (most recent call last):
<type 'exceptions.IOError'>: [Errno 2] Aucun fichier ou dossier de ce type: '/proc/stb/info/model'
/usr/lib/python2.6/dist-packages/twisted/web/server.py, line 125 in process
123	try:
124	  resrc = self.site.getResourceFor(self)
125	  self.render(resrc)
126	except:
 
etc....
------------------------


Hi kerven,

please take /usr/local/e2 as INSTALL_E2PDIR. I have used /usr/local/e3 only for tests. And I forgot to revert it.
Back to your problem. Well, that's curious. I have no problems.
In the error message the path (/proc/stb/info/model) is wrong. That seems to be the problem. You can try to search for the string (find <path_to_e2_sources> | xargs grep "/proc/stb/info/model") and adapt it. I'll also try to find the problem in the next days.

Regards,
Betacentauri
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #599 dugommier

  • Member
  • 8 posts

0
Neutral

Posted 18 March 2012 - 09:41

Hello
I installed ENIGMA2 under Ubuntu 11.10 from github.com/nobody9/openpliPC
It works fine with uncrypted channels.

But I want to use it with OSCAM. I have OSCAM #6527 with a smargo reader.
I had a problem while making sudo modprobe dvbsoftwareca the dvbsoftwareca file is not present.
I have the right file misc in /lib/modules/3.0.0.12-generic directory
I used insmod dvbsoftwareca.ko instead of modprobe and when I do lsmod I see dvbsoftware used 2 times after loading Enigma2 and oscam.
Oscam descramble channels (' ecm founds ...' ), but I don't have any picture on Enigma2.

The terminal loggin :

adapter0/demux0 idx 0: change to even key
adapter0/demux0 idx 0: even key not ready (500 ms)
adapter0/demux0 idx 0: not active. wait skipped
FLUSH
FLUSH
It's now Sat Mar 17 11:42:57 2012
[timer.py] next activation: 1331981077 (in 99998 ms)
It's now Sat Mar 17 11:42:57 2012
[timer.py] next activation: 1331981077 (in 99996 ms)
[EPGC] abort non avail schedule reading
[EPGC] abort non avail schedule other reading
[EPGC] nownext finished(1331980977)
[EPGC] stop caching events(1331980977)
[EPGC] next update in 60 min
adapter0/demux0 idx 0: change to odd key
adapter0/demux0 idx 0: odd key not ready (500 ms)
adapter0/demux0 idx 0: not active. wait skipped

Can somedy help me ?

Thank you very much

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #600 kerven

  • Senior Member
  • 52 posts

+1
Neutral

Posted 18 March 2012 - 11:52

for "dugommier"

try
sudo gedit /usr/local/e2/share/enigma2/xine.conf

vidéo driver : xshm or vidéo driver: opengl

Edited by kerven, 18 March 2012 - 11:53.



2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users