Project

General

Profile

Map DVB services is greyed, Please help me!!

Added by vicent martnez about 12 years ago

I have always the same problem with tvheadend, tried it on Ubuntu 11, 12, XBMCwin7 in XBMClive and OpenElec.
When I add the channels I can not map them, the button is grayed out.
I have one which lv3h NotOnlyTV recognized for linuxtv.org in linux as I get:
lspci
04:01.0 Multimedia video controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
04:01.1 Multimedia controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (rev 05)
04:01.2 Multimedia controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05)

In tvheadend recognized as:
Compabilities iformation:
hardware
Device path:
/ dev/dvb/adapter0
Device name:
Zarlink ZL10353 DVB-T
Host connection:
PCI
Frequency range:
KHz 174 000 - 862 000 kHz, in steps of 166 kHz
status
Currently tuned to:
842.000 kHz
Services:
0
muxes:
8
Muxes awaiting initial scan:
0


Replies (41)

RE: Map DVB services is greyed, Please help me!! - Added by vicent martnez about 12 years ago

Sorry for my bad English level ... but I get lost in your explanation.
Now when I restart the pc, it does not work tvheadend, so we start with

vicenj@vicenj-desktop:~$ sudo su hts
hts@vicenj-desktop:/home/vicenj$ tvheadend start

That way I access the WebUI with xbmc / xbmc, but I dont have Zarlink ZL10353 DVB-T

Please explain the steps of a graphical

(thanks for your time and forgive my ignorance)

RE: Map DVB services is greyed, Please help me!! - Added by Prof Yaffle about 12 years ago

Hey, your English is better than my Spanish... :-)

Don't use tvheadend start.

Try this instead of sudo su hts and tvheadend start... while logged in as vicenj:

sudo service tvheadend start

(EDIT: sorry, I had to edit that - I'd got the command wrong originally!)

You should get a confirmation and it'll tell you what process ID the service has started as. You can confirm through ps -eaf | grep tvheadend - you should see tvheadend -f -u hts -g video -s or something very similar under that process ID (PID).

If you don't, try it the direct way:

sudo tvheadend -f -u hts -g video

... again, check using ps -eaf.

Every user on Linux has a username - such as vicenj - and one or more groups. Files then have user, group and other access rights. ls -la will show them: rwxr-xr-x is read/write/execute for user, and read/execute for group and other; you'll also see the file's user ownership and group ownership, so you know to whom these rights apply.

To access the tuners, the process needs to be running as the right group, to access the config files, it needs to be running as the right user.

By starting it at the command line with tvheadend, you're running as the user who's starting the program - in this case, hts - but you're also running as the default group for that user. If that group isn't video, then you're likely to run into problems, because you'll be accessing the tuners as other and not group permissions. Make sense?

Typing id will tell you who you are - it will list the username and user ID number (UID - the numeric equivalent of username), the default group name and group id (GID), and any other group memberships that this user has. So, if user hts isn't a member of video by default, this command will tell you... try it, and post the results here if you like.

But starting tvheadend through one of the commands above is the way to go... I don't know why it's not automatically starting, though...

RE: Map DVB services is greyed, Please help me!! - Added by vicent martnez about 12 years ago

I am the most stubborn!
I deleted all directories hts and in /etc/default tvhead all files tvhead...
I uninstall with synapic and reinstalled tvheadend, reboot and well! now l can log on WebUI with xbmc/xbmc

vicenj@vicenj-desktop:~$ sudo service tvheadend start
[sudo] password for vicenj:
start: Job is already running: tvheadend
vicenj@vicenj-desktop:~$ ps -eaf | grep tvheadend
hts 1827 1 0 20:44 ? 00:00:02 tvheadend -f -u hts -g video
vicenj 1852 1 0 20:44 ? 00:00:00 tvheadend start
vicenj 3102 3002 0 21:01 pts/0 00:00:00 grep --color=auto tvheadend
vicenj@vicenj-desktop:~$

I have to go to work, I will try again tomorrow

RE: Map DVB services is greyed, Please help me!! - Added by Prof Yaffle about 12 years ago

Excellent - so, to make sure we're on the right track...

1. Do you have to start tvheadend from a command line, or is it starting automatically?

2. If automatic, is it running properly - what does ps say?

3. If manual, make sure you're starting it with either sudo service tvheadend start or sudo tvheadend -f -u hts -g video

This will establish whether we're finally running with the right permissions

... then we can get the IP (accesscontrol) set up, and then the muxes, and then hopefully the services...

EDIT

You've edited your previous post so my replies are out of sync.

Good: hts 1827 1 0 20:44 ? 00:00:02 tvheadend -f -u hts -g video

Not so good: vicenj 1852 1 0 20:44 ? 00:00:00 tvheadend start

I'm not sure why you'd have that second process, unless you'd started it from the command line...?

I'd suggest a reboot, and see if tvheadend is running - and see that only one instance of tvheadend is running. If you then have to start it because it's not running, only start it with sudo service tvheadend start. Do not just use tvheadend from the command line as any regular user (either vicenj or hts).

This is what I have:

xbmc@revo:~$ ps -eaf | grep tvheadend
hts        448     1  6 11:19 ?        00:33:34 tvheadend -f -u hts -g video -s
xbmc     10796 10695  0 20:29 pts/0    00:00:00 grep --color=auto tvheadend
xbmc@revo:~$

... only one instance. But we're getting there.

RE: Map DVB services is greyed, Please help me!! - Added by vicent martnez about 12 years ago

My reboot is OK

vicenj@vicenj-desktop:~$ sudo service tvheadend start
[sudo] password for vicenj:
start: Job is already running: tvheadend
vicenj@vicenj-desktop:~$ ps -eaf | grep tvheadend
hts        793     1  0 12:39 ?        00:00:01 tvheadend -f -u hts -g video
vicenj    2106  1569  0 12:49 pts/0    00:00:00 grep --color=auto tvheadend
vicenj@vicenj-desktop:~$

RE: Map DVB services is greyed, Please help me!! - Added by Prof Yaffle about 12 years ago

Okay - I need to go out for a while, I'm afraid - but that looks like tvheadend is starting correctly as you boot. So don't try to start it manually from the command line.

Your config files will be in /home/hts/.hts/tvheadend and nowhere else

Check to see if you can log in to the web interface... if you can't, create superuser and accesscontrol in this directory as we did before.

Once you can get in, add the muxes through the web interface, and you should find the directory dvbmuxes will appear in /home/hts/.hts/tvheadend.

After that, dvbtransports should be created in the same directory as services are found.

If you need to restart tvheadend as you change the config (which you will if you create the files above), use sudo service tvheadend restart from the command line. Again, do not just run tvheadend as any user (vicenj or hts), I think that's where the confusion begins.

Good luck...

RE: Map DVB services is greyed, Please help me!! - Added by vicent martnez about 12 years ago

Thanks Prof Yaffle

Is all OK, I have access WeUI with xbm/xbmc log (add muxes manually), I can add muxes manually, only have /home/hts/.hts/tvheadend and on this directory I have dvbadapters folder, dvbmuxes folder and epgdb.v2, superuser files.

I dont have dvbtransports folder

RE: Map DVB services is greyed, Please help me!! - Added by Prof Yaffle about 12 years ago

I'm running out of thoughts here... so the muxes show up, and tvheadend lists the device path, device name, frequency range, etc.?

After that, does it list the status?

Status

Currently tuned to:
<somewhere>: xxx,xxx kHz
Services:
x
Muxes:
y
Muxes awaiting initial scan:
z

RE: Map DVB services is greyed, Please help me!! - Added by vicent martnez about 12 years ago

Who can help me, if you stay out of ideas?
In WebUI I have

Hardware
Device path:
/dev/dvb/adapter0
Device name:
Zarlink ZL10353 DVB-T
Host connection:
PCI
Frequency range:
174000 kHz - 862000 kHz, in steps of 166 kHz
Status
Currently tuned to:
658,000 kHz
Services:
0
Muxes:
12
Muxes awaiting initial scan:
0

RE: Map DVB services is greyed, Please help me!! - Added by Adam Sutton about 12 years ago

Vincent,

Sorry this has been going on a long time and I've not been about to help. It looks like its probably tuning to the muxes you've configured (which look vaguely right). Do you get a report MUXID for the muxes you've added (this will indicate you've received something on them?). What about FRONTEND status or signal level?

It looks like its simply found no services yet, which would imply no reception. Can you enable debug logging and post an excerpt.

Is your server accessible on the Internet (TVH UI only for now)? If so maybe you could contact me directly and I can log in and take a look for you.

Adam

RE: Map DVB services is greyed, Please help me!! - Added by vicent martnez about 12 years ago

Adam Sutton wrote:

Is your server accessible on the Internet (TVH UI only for now)? If so maybe you could contact me directly and I can log in and take a look for you.

Adam

Tell me how can I do this

RE: Map DVB services is greyed, Please help me!! - Added by Adam Sutton about 12 years ago

I don't know it's your system ;)

But if you can make your TVH server accessible on the internet (public IP address etc..) then I will take a look.

Adam

RE: Map DVB services is greyed, Please help me!! - Added by Prof Yaffle about 12 years ago

Is there any way of testing this outside of tvheadend? There must be some way of setting up VLC, mplayer or similar to simply pick up the live stream... I'd reached the conclusion that there's simply no demuxable signal after all that floundering, but would need to read up on how to prove that.

RE: Map DVB services is greyed, Please help me!! - Added by vicent martnez about 12 years ago

Until next week, I have to go to work.
Adam, you mean the ip access the WebUI (ip: 8891)?

RE: Map DVB services is greyed, Please help me!! - Added by vicent martnez almost 12 years ago

Well I'm here. How can I solved, the remaining issues?
"Adam, you mean the ip access the WebUI (ip: 8891)?" Could install Lubuntu any VNC client will connect to you. What do you recommend?

RE: Map DVB services is greyed, Please help me!! - Added by kasp bee almost 12 years ago

Hi, I also experienced the same problem: the Zarlink ZL10353 DVB-T not beeing able to find any Services (always having Bad Signal). I found closing and reopening the frontend device just before the ioctl FE_SET_FRONTEND, making the whole thing work!

I posted a little diff here: https://www.lonelycoder.com/redmine/boards/4/topics/3968?r=6774

Somebody has an idea what the root cause might be? Is it a problem in the driver?

Cheers

(26-41/41)