Project

General

Profile

Mux found, but no services available

Added by pierre azerty almost 11 years ago

Hello,

I am setting up a media center based on XBMC and Ubuntu Linux (14.04 alpha and 3.13 kernel)
My DVB adapter is a Pinacle PCTV 73A USB and it works on that box with me-tv.
When using tvheadend (3.4.27~gfbda802~raring), the adapter is recognized as DiBcom 7000 PC and the initial scan finds 40 muxes, that appears in the Muxes tab.
Unfortunately, there are not any services found.

Googling did not help... will you ? :)


Replies (67)

RE: Mux found, but no services available - Added by Prof Yaffle almost 11 years ago

@Saen - it would help if I could see your whole config - screenshots if possible, please.

I'm still guessing here, but do you have "autodetect muxes" enabled?

Are you certain that you have exactly the right muxes for your aerial alignment, i.e. do you know 100% what you're pointing at? Have you tested with a normal TV - tune to the missing muxes, look at the channel information and see what frequency/mux information it gives.

And I'm struggling a little with some of what you're saying, I'm afraid... my Bulgarian is non-existent, however, so I guess we'll have to live with it! What do you mean by that last comment, though?

Alasdair Campbell - always happy with beer, but let's get you working first :-)

RE: Mux found, but no services available - Added by Alasdair Campbell almost 11 years ago

@Prof no worries.

Okay got an update, disabled tvheadend, edited the adapter and changed from DVB-C to DVB-T, re-enabled tvheadend and it listed the muxes awaiting initial scan. Noticed adapter did not have the enabled box ticked despite it being enabled in the adapter config file. Marked the checkbox and clicked save only to find it's overwritten my changes and back at DVB-C. Thought we almost had it there.

contents of config files (located at /storage/.xbmc/userdata/addon_data/service.multimedia.tvheadend/dvbadapters/_dev_dvb_adapter0_CXD2837_DVB_C_DVB_T_T2 on openelec):

{
"enabled": 1,
"fe_path": "/dev/dvb/adapter0/frontend0",
"dmx_path": "/dev/dvb/adapter0/demux0",
"dvr_path": "/dev/dvb/adapter0/dvr0",
"type": "DVB-C",
"displayname": "CXD2837 DVB-C DVB-T/T2",
"autodiscovery": 1,
"idlescan": 1,
"idleclose": 0,
"skip_checksubscr": 0,
"sidtochan": 0,
"qmon": 0,
"poweroff": 0,
"nitoid": 0,
"diseqc_version": 0,
"diseqc_repeats": 0,
"extrapriority": 0,
"skip_initialscan": 0,
"disable_pmt_monitor": 0,
"full_mux_rx": -1,
"grace_period": 0
}

Contents of /storage/.xbmc/userdata/addon_data/service.multimedia.tvheadend/service.log:

Feb 15 15:15:53.184 [ INFO]:charset: 71 entries loaded
Feb 15 15:15:53.186 [ INFO]:dvb: Found adapter /dev/dvb/adapter0 (CXD2837 DVB-C DVB-T/T2) via PCI
Feb 15 15:15:53.187 [ INFO]:dvb: Found adapter /dev/dvb/adapter1 (CXD2837 DVB-C DVB-T/T2) via PCI
Feb 15 15:15:53.193 [ INFO]:CSA: Using SSE2 128bit parallel descrambling
Feb 15 15:15:53.193 [ INFO]:epggrab: module eit created
Feb 15 15:15:53.193 [ INFO]:epggrab: module uk_freesat created
Feb 15 15:15:53.193 [ INFO]:epggrab: module uk_freeview created
Feb 15 15:15:53.194 [ INFO]:epggrab: module viasat_baltic created
Feb 15 15:15:53.202 [ INFO]:epggrab: module opentv-ausat created
Feb 15 15:15:53.202 [ INFO]:epggrab: module opentv-skyuk created
Feb 15 15:15:53.202 [ INFO]:epggrab: module opentv-skyit created
Feb 15 15:15:53.203 [ INFO]:epggrab: module pyepg created
Feb 15 15:15:53.203 [ INFO]:epggrab: module xmltv created
Feb 15 15:15:53.257 [ INFO]:epggrab: module /storage/.xbmc/addons/service.multimedia.tvheadend/bin/tv_grab_file created
Feb 15 15:15:53.258 [ INFO]:epgdb: loaded v2
Feb 15 15:15:53.258 [ INFO]:/storage/.xbmc/addons/service.multimedia.tvheadend/bin/tv_grab_file: grab /storage/.xbmc/addons/service.multimedia.tvheadend/bin/tv_grab_file
Feb 15 15:15:53.258 [ INFO]:epgdb: channels 0
Feb 15 15:15:53.259 [ INFO]:epgdb: brands 0
Feb 15 15:15:53.260 [ INFO]:epgdb: seasons 0
Feb 15 15:15:53.260 [ INFO]:epgdb: episodes 0
Feb 15 15:15:53.260 [ INFO]:epgdb: broadcasts 0
Feb 15 15:15:53.260 [ INFO]:dvr: Creating new configuration ''
Feb 15 15:15:53.262 [ NOTICE]:START: HTS Tvheadend version 3.4.27~gfbda802 started, running as PID:1178 UID:0 GID:0, settings located in '/storage/.xbmc/userdata/addon_data/service.multimedia.tvheadend'
Feb 15 15:15:53.290 [ INFO]:htsp: Got connection from 127.0.0.1
Feb 15 15:15:53.290 [ INFO]:htsp: 127.0.0.1: Welcomed client software: XBMC Media Center (HTSPv8)
Feb 15 15:15:53.316 [ ERROR]:/storage/.xbmc/addons/service.multimedia.tvheadend/bin/tv_grab_file: no output detected
Feb 15 15:15:53.317 [WARNING]:/storage/.xbmc/addons/service.multimedia.tvheadend/bin/tv_grab_file: grab returned no data
Feb 15 15:16:32.781 [ NOTICE]:dvb: Adapter "CXD2837 DVB-C DVB-T/T2" Enabled
Feb 15 15:16:32.782 [ INFO]:dvb: Adapter /dev/dvb/adapter1 will run in full mux mode
Feb 15 15:38:03.994 [ NOTICE]:dvb: Adapter "CXD2837 DVB-C DVB-T/T2" Enabled
Feb 15 15:38:03.995 [ INFO]:dvb: Adapter /dev/dvb/adapter0 will run in full mux mode

RE: Mux found, but no services available - Added by Prof Yaffle almost 11 years ago

What if you try it with adapter1?

If the C is appearing on 0, maybe the T is on 1. Perhaps.

RE: Mux found, but no services available - Added by Alasdair Campbell almost 11 years ago

Nice try but same behaviour exhibited on both.

When it's restarted the atapter win the web gui is disabled, and if I enable it my changes to the files are overwritten.

RE: Mux found, but no services available - Added by Prof Yaffle almost 11 years ago

I'm running out of steam if that doesn't work... I'm now convincing myself that it's an openelec issue.

Going back on that thread, then... via this post: http://openelec.tv/forum/81-dvb-c-support/64897-duoflex-c-t2-recognized-as-s2

1. You're using Ultraman's media_build version, yes? or the pre-Gotham version, anyway...

Ref: http://mirror1.openelec.tv/tbs/3.2.4/

Ref: https://www.dropbox.com/sh/8eckh0dsguue506/8MinxEP2Fn

you could revert to the XBMC Frodo 12.3 version to see if that works.

2. You've enabled the media_build oddities? I'm assuming that's necessary as it was in previous versions... ssh in and touch /storage/.config/enable-drivers-media_build.txt

Ref: http://openelec.tv/forum/83-dvb-s-s2-support/65107-images-for-tbs-media-build-s2-liplianin-dvbsky#77261

I can see that there's a dedicated media_build version that's separate from the TBS version... this may be enabled already, but it's worth checking

If either of these work, then it's a driver compatibility issue in the default OE build. Whether that will continue or not into the official 4.0 release, we'll have to see - there's been a long-standing issue with TBS cards, for example.

It may be that you end up with two choices:

1. Run your tuner on a separate server of some kind, to break the dependency on OE, or

2. Buy a different tuner that has better native support

... but let's see.

EDIT

If enable-drivers-media_build.txt is enabled, you should be able to see it in your Configfiles share. If it's not there, you can create it from there instead of ssh if you like.

EDIT 2

Don't forget to restart/reboot if you do have to/try creating this file. Obviously you'll have to do the same if you downgrade to 3.2.4 from pre-4.0.

RE: Mux found, but no services available - Added by Alasdair Campbell almost 11 years ago

Yep im running the Ultramons media_build, the card wasn't detected otherwise on the standard Frodo version I originally had on.

Have created the enable-drivers-media_build.txt file and restarted. Same behaviour exhibited. No difference in lsmod output

Not sure what you mean/where to find the Configfiles share you mention.

RE: Mux found, but no services available - Added by Prof Yaffle almost 11 years ago

The Configfiles share is how the /storage/,config directory is published onto the network through SMB - so you can manage the OE box without using SSH (e.g. to copy over updates).

So it's not that... sigh. I suspect it is a driver issue, because of the talk I found on kernels and patching v4l for this device. Even on a 'buntu box, I think you get into recompiling v4l to support this card, and that means you inevitably interfere with other card support - at least, that's the TBS problem and that's why OE doesn't support it natively.

Did you try the 3.2.4 media_build version? Any difference there? (Admittedly starting to clutch at straws here...).

RE: Mux found, but no services available - Added by Alasdair Campbell almost 11 years ago

Just checked maybe im not using the media build.

On ssh login itr's reporting:
OpenELEC (official) Version: devel-20140125171439-r17148-gb48ea69

Pretty sure I was using the media build though.

There is no SMB share available on the network. Going to grab another copy of the media_build and re-install it.

Edit

currently downloading OpenELEC-Generic.x86_64-devel-20140202141332-r17590-gc438852

Edit

20140202 does not work. Created the USB, did the custom install to replace the kernel and system. Boot hangs just when it says waiting for network.
Last entries in dmesg:
[ 6.707801] vgaarb: device changed decodes: PCI:0000:03:00.0,olddecodes=io+m
em,decodes=none:owns=none
[ 6.708884] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:03:00.0 on
minor 0
[ 6.709498] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 331.38 Wed Jan
8 19:32:30 PST 2014

Trying his media build for 3.2.4 ION...

RE: Mux found, but no services available - Added by Prof Yaffle almost 11 years ago

It's like pulling teeth, isn't it...

I also found this: https://tvheadend.org/boards/5/topics/8535?r=10872#message-10872

... but that creates a separate challenge of how to get the new tvheadend into OE - unless someone's done it already, you're into roll-your-own territory at that point.

(It's worth looking into the lack of SMB shares, btw - with those, you can simply copy SYSTEM and KERNEL over from a diferent system and reboot, no faffing with USB sticks).

RE: Mux found, but no services available - Added by Alasdair Campbell almost 11 years ago

Update:

Now running OpenELEC (unofficial) Version: devel-20140214223152-r17710-g2376c15 from https://www.dropbox.com/sh/8eckh0dsguue506/70D8HzESHZ/Normal%20Build as the Media Build version wouldn't complete booting.

Same Deal.

Checked out that link, yeah seems like new version of tvheadend can properly support combi cards now. As the Normal build boots and has the drivers installed for the card I think best route will be to attempt to update tvheadend.

RE: Mux found, but no services available - Added by Prof Yaffle almost 11 years ago

It might be time to shift the conversation back to the OE forums, as this really doesn't look like a tvheadend problem.

The good (ish?) news is that it's possible that you don't need to completely recompile OE - you can swap out the tvh binary if you can build or find one pre-compiled:

http://openelec.tv/forum/79-tvheadend/68257-how-compile-latest-tvheadend-build-for-opnelec

And, failing that... can you get an aerial cable to your QNAP...?

Sorry I couldn't get it fixed for you, though.

RE: Mux found, but no services available - Added by Alasdair Campbell almost 11 years ago

Yeah from the link you added if I can get the correct version that now handles combi cards I may be able to compile it for the version I'm running and get it working.

Aerial to the QNAP lol, I've not taken it apart to see if there's an available PCI-E slot and space to hack the case to enable it, think ah'll go for the compile route when I find the correct version :D

Will let you know how I get on, as I said, Any time you're in West London ;)

RE: Mux found, but no services available - Added by Prof Yaffle almost 11 years ago

FWIW - and if anyone else stumbles in to this thread - there seem to be updated tvheadend addons for OE here:

http://saraev.ca/tvheadend/4.1/

Untested, so I really can't vouch for them. They do appear to be bang up-to-date, though.

RE: Mux found, but no services available - Added by Alasdair Campbell over 10 years ago

Hey Prof, thanks for the link to the precompiled TVH.

I now have the TV :)

Only issue is EPG is not displaying, but is listed on TVH Web GUI.

I definately owe you a few beers!

RE: Mux found, but no services available - Added by Alasdair Campbell over 10 years ago

Never mind, EPG is there now.

RE: Mux found, but no services available - Added by Alasdair Campbell over 10 years ago

Just noticed TV had disappeared again.

After checking noticed TVH had gotten downgraded to 3.4.27 from 3.9.383. Not sure if there was an update to the OE version and this auto updated.

Reapplied v3.9.383 and all is back to normal.

Not sure if there is a setting somewhere that auto-updates addons (as I haven't looked), but adding this here should someone experience similar behavior.

RE: Mux found, but no services available - Added by Prof Yaffle over 10 years ago

Interesting... I presume it's related to the release of OpenElec 4.0 Beta 2... if that has auto-updated then yes, I guess it's just over-written your addon with the version it thinks should be there. Just keep a zip to hand of the version you want, I suppose, and whack it back on if and when it happens again (which it will - there'll be at least an XBMC Beta 3 before release, so you might get another two versions yet before it stabilises).

(51-67/67)