Project

General

Profile

TVH with Cine S2 v.6.5, Ubuntu 14.04, unicable

Added by Kai Schwarz over 10 years ago

Hey together,

I had a working tvheadend (stable release) running under Ubuntu 13 - same config but not unicable.

Unicable switch:
In our new house, we have a unicable setup using the following cascadable unicable switch:

It's a german switch - If you have questions concerning it, just ask.

4 LNB input lines are attached (2 vertical and 2 horizontal) and finally using the unicable output line in the building.
In my PC there is a DD Cine S2 v.6.5 installed and running under Ubuntu 14.04 (all current updates installed).
The drivers are installed as it can be found on the manufacturer's homepage (with minor changes):

DD Cine S2 v.6.5:
sudo apt-get install mercurial build-essential libproc-processtable-perl
sudo apt-get install linux-headers-`uname –r`
cd /usr/src
sudo hg clone http://linuxtv.org/hg/~endriss/media_build_experimental/
cd media_build_experimental
sudo make download
sudo make untar
sudo make clean
sudo make distclean
sudo make -j4 (to use 4 cores)
sudo make install
sudo modprobe ddbridge
sudo reboot

Kernel version is:
Linux HTPC 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

tvheadend (current git version) installation:
sudo apt-get install build-essential git pkg-config libssl-dev bzip2 wget
sudo apt-get install libavahi-client-dev zlib1g-dev libavcodec-dev libavutil-dev libavformat-dev libswscale-dev
git clone https://github.com/tvheadend/tvheadend.git
cd tvheadend
./configure
make
./build.linux/tvheadend (started with -C first)

tvheadend config
Well, this is the part where I have no idea how I may set it up correctly.
I tried different things - could scan channels, but xmbc tells me always "No free adapter".
I am unsure where and how to setup unicable frequencies and ID/Scr correctly.

I could not find usual tutorials or informations on how to set this up. I hope anyone can explain me this step by step.
I read also things about a unicable kernel patch - but I dont know if this is still needed nor if it is available.

Many thanks in advance!

Best
Kai


Replies (29)

RE: TVH with Cine S2 v.6.5, Ubuntu 14.05, unicable - Added by Kai Schwarz over 10 years ago

And now additionally the dropdown box for "pre-defined" muxes is empty and stays empty - also after page reload, and even after reboot. wtf? :)

RE: TVH with Cine S2 v.6.5, Ubuntu 14.05, unicable - Added by Paul Farquhar over 10 years ago

I have a Cine S2 + DuoFlex S2 v.6.5, switch with two dishes, Ubuntu 12.04, tvheadend 3.4.27 running.
In the configuration tab read the help, that should get you going.
This is what I did:
  1. choose an adapter
  2. setup the two satellite configurations
  3. add dvb network by location for both satellite configurations - make sure to add the config for the selected network
  4. let tvheadend find the muxes
  5. map dvb services to channels

That worked for me.

RE: TVH with Cine S2 v.6.5, Ubuntu 14.05, unicable - Added by Kai Schwarz over 10 years ago

Hey there,

but you don't use unicable, if I am correct?

3.4 is not working with unicable as far as I have in mind.

Best

RE: TVH with Cine S2 v.6.5, Ubuntu 14.04, unicable - Added by Matthias Strack over 10 years ago

Right, unicable support ist still broken :(
But you can try seifes fork (based on 3.5) which works perfectly with unicable https://github.com/seife/tvheadend

RE: TVH with Cine S2 v.6.5, Ubuntu 14.04, unicable - Added by Kai Schwarz over 10 years ago

With the current github build unicable should work. They fixed a config parser issue in the last days.
If not, see my ticket above - there's a patch added.

If you have questions do not hesitate to ask.

Concerning seife's build: I couldn't compile it under Ubuntu 14.04 (ffmpg issue as I read later) so that I just waited on this bugfix.
All my unicable problems have been fixed.

Best
Kai

RE: TVH with Cine S2 v.6.5, Ubuntu 14.04, unicable - Added by Matthias Strack over 10 years ago

Hi Kai,
it had also a ticket open https://tvheadend.org/issues/1937
But it doesnt work for me.
Scan gets only data from some transponders, changes in SCR# or freq doesnt affect anything.

confused....

RE: TVH with Cine S2 v.6.5, Ubuntu 14.04, unicable - Added by Kai Schwarz over 10 years ago

Hi,

well at least the bug that your adapter can not get opened after restart, should be fixed.
I had no problems while searching channels... ok perhaps 5 muxes failed, but I can use all programs I need.

Here the steps to update your github build in the right way. I don't know if you're familiar with this - just want to be sure:

stop tvheadend

cd <your tvheadend github folder>
git pull
./configure
make clean
make distclean
make
and perhaps make install - if you did this also before.

start tvheadend
configure your adapter(s)

delete all muxes/services/programs

trigger a new scan.

When finished, restart tvheadend and I hope you can see then that the adapter(s) can be opened in the right way.
The steps "make clean" and "make distclean" are optional, but they may resolve also some issues (I often stumble over these steps while reading threads) - so give them also a try.

Best
Kai

RE: TVH with Cine S2 v.6.5, Ubuntu 14.04, unicable - Added by Matthias Strack over 10 years ago

Yeah the adapter bug has gone, try it from scratch now.

RE: TVH with Cine S2 v.6.5, Ubuntu 14.04, unicable - Added by Matthias Strack over 10 years ago

Same sh*t:

mpegts: 11332.25H in Bumbes - scan no data, failed

Transponder 11332.25H is party of Skys Program :-|

RE: TVH with Cine S2 v.6.5, Ubuntu 14.04, unicable - Added by Kai Schwarz over 10 years ago

well ok, i cannot help you with the failed scans. My target was to help you with the adapter problem :)

RE: TVH with Cine S2 v.6.5, Ubuntu 14.04, unicable - Added by Sascha Kuehndel about 10 years ago

Hi Matthias,

are your problems still there?
Can try https://github.com/InuSasha/tvheadend/tree/fixes/bug2229-en50494?

Please, do the scan with no other device activ, except the devices in TVH.

Thanks,
Sascha

PS: https://tvheadend.org/issues/2229

RE: TVH with Cine S2 v.6.5, Ubuntu 14.04, unicable - Added by Matthias Strack about 10 years ago

Thx,ill try it when im at home, on vacation right now

RE: TVH with Cine S2 v.6.5, Ubuntu 14.04, unicable - Added by Matthias Strack about 10 years ago

No effect, still doesnt find all services.
Just french, spain, only some german (sat1,rtl,rtl2) channels.

RE: TVH with Cine S2 v.6.5, Ubuntu 14.04, unicable - Added by Sascha Kuehndel about 10 years ago

Hi Matthias,

that are bad news.
Can you give us some debug/trace logs?
Without, we will have no chance to fix your problem.

regards,
Sascha

RE: TVH with Cine S2 v.6.5, Ubuntu 14.04, unicable - Added by Matthias Strack about 10 years ago

Sure, running a new scan from a 'fresh' installation.
Debug log attached...until tvheadend crashed :)

Some strange entries:
2014-09-03 14:14:50.244 [ DEBUG]:mpegts: 11739V in astra - no free tuner available
2014-09-03 14:14:50.245 [ DEBUG]:mpegts: 10891.25H in astra - no free tuner available

??

RE: TVH with Cine S2 v.6.5, Ubuntu 14.04, unicable - Added by Kai Schwarz about 10 years ago

no free adapter just means that all of your adapters are busy. the reason may be a misconfiguration - or they are busy ;)
If you have two adapters with the same name (like I had) rename them and this makes your life a bit easier while searching problems.
e.g.Conexant CX24116/CX24118 : DVB-S #0 and Conexant CX24116/CX24118 : DVB-S #1.

I also had this error message and the reason was a misconfiguration (ok, the reason was the bug in the config-parser module in my case).

Best Kai

RE: TVH with Cine S2 v.6.5, Ubuntu 14.04, unicable - Added by Matthias Strack about 10 years ago

Well, i have just one adapter,and if its busy while scanning,the error makes sense :)

RE: TVH with Cine S2 v.6.5, Ubuntu 14.04, unicable - Added by Sascha Kuehndel about 10 years ago

The Log is a bit confusing. It looks like, the adapter begin to scan an other mux, but the last scan is not completed.
Did you mean with "fresh installation" a delete configuration?

I don't know where the bug is. May be not en50494, but i am not sure.

2014-09-03 14:08:39.039 [ DEBUG]:mpegts: 12480V in astra - close PID 0BBB (3003)
2014-09-03 14:08:39.198 [ INFO]:mpegts: 12031.5H in astra - tuning on Conexant CX24116/CX24118 : DVB-S #0
2014-09-03 14:08:40.135 [ DEBUG]:en50494: lnb=0 id=0 freq=1210 pin=256 v/h=1 l/u=1 f=1431500, data=0x0D36
2014-09-03 14:08:40.595 [ DEBUG]:linuxdvb: Conexant CX24116/CX24118 : DVB-S #0 - starting 12031.5H in astra
2014-09-03 14:08:40.602 [ DEBUG]:mpegts: 12031.5H in astra - started
2014-09-03 14:08:40.619 [ INFO]:subscription: 'scan' subscribing to mux, weight: 4, adapter: 'Conexant CX24116/CX24118 : DVB-S #0', network: 'astra', mux: '12031.5H', hostname: '<N/A>', username: '<N/A>', client: '<N/A>'
2014-09-03 14:08:40.620 [ DEBUG]:mpegts: 12460.5H in astra - no free tuner available
2014-09-03 14:08:40.621 [ DEBUG]:mpegts: 12480V in astra - no free tuner available

RE: TVH with Cine S2 v.6.5, Ubuntu 14.04, unicable - Added by Matthias Strack about 10 years ago

Maybe im doing something wrong while configuring the adapter?
But i did the same on seifes fork.

1. change satconfig to unicable
2. change scr id and freq to my settings
3. add a network (astra 19.2)
4. add this network to the unicable switch
5. enable the adapter

then...scanning starts...and fails on most muxes.
my lnb is a wisi oc05c http://katalog.wisi.de/index.php?IdTreeGroup=133&IdProduct=1146

ps: yes,new installation,old configs deleted

RE: TVH with Cine S2 v.6.5, Ubuntu 14.04, unicable - Added by Sascha Kuehndel about 10 years ago

the problem is, the dvb-code was completely rewritten.
i can not say, is the problem in the uni-cable or the new dvb-code.

Had you test tvh with the legacy-port of the lnb?

Schönen Abend noch,
Sascha

RE: TVH with Cine S2 v.6.5, Ubuntu 14.04, unicable - Added by Matthias Strack about 10 years ago

Mh, no, i can test it tomorrow maybe.
But, as i mentioned before (i think :) ) seifes port is running without any problems.

Dir auch einen schönen Abend :)

RE: TVH with Cine S2 v.6.5, Ubuntu 14.04, unicable - Added by Matthias Strack about 10 years ago

Ok,sorry,im tired.
it works on the legacy port,was a cable problem.

RE: TVH with Cine S2 v.6.5, Ubuntu 14.04, unicable - Added by Sascha Kuehndel about 10 years ago

Hi Matthias,

a cable-problem? so the unicable works now, too?

Sascha

(1-25/29)