Project

General

Profile

Map DVB services is greyed, Please help me!!

Added by vicent martnez about 9 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 Prof Yaffle about 9 years ago

I'd guess that it's because you've no Services yet - so you effectively have nothing to map, and hence the option isn't available.

How did you add the muxes? Did you use the "Add DVB Network by Location..." button? And, if so, did it add the right muxes - here in the UK, the data is out of date (not tvheadend's fault), so the mux frequencies it adds no longer carry any services - they all got re-arranged when analogue was switched off.

Any possibility the same is happening for you?

You might have some success if you switch on "Autodetect muxes", but if the problem is as above then you could find find out what the real mux frequencies are (e.g. from a DVB-T television or set-top box if there's nothing on the internet) and add them manually. A scan will then pick up the services, and, when that's complete, you'll be able to map the channels.

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

Thanks for your answer, Prof Yaffle
I added the muxes manually. I go to Configuration/Tv adapters/Multiplexes/add manually.... My muxes is correct to Spain, I see in www.tdt1.com, and I have a good signal of tdt in my TV

Perhaps the problem is the services,How can I add or scan Services?

Thanks a lot

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

You cannot add services manually, they are automatically detected from the DVB feed. If TVH is failing to discover the services that usually implies that the signal is not being properly received.

Also its worth noting that currently auto-detect muxes does nothing on DVB-T systems, the relevant descriptors are simply not parsed. There is an issue report to cover this failing and hopefully it will be rectified in 3.4.

What signal level are you getting on the muxes you've added? Does it list a network name, mux id or network id (if you're using master)?

Adam

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

DTT signal is good with w7 + xbmc + MediaPortal I could get all channels without problems ...
When I add the mux and I have 100% signal and muxID
What do you mean "if you're using master"? I conected to ip:9981 and put user/pass...

Thanks a lot

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

But you're not getting anything listed in the services tabs?

Adam

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

Yes, I not have services.

Edit(solved, with; sudo tvheadend -C, and now enter without log/pass):I was installed xbmcubuntu, and now i dont login in ip:9981... I see /home/hts/.hts/tvheadend$ sudo cat superuser and have {
"username": "xbmc",
"password": "xbmc"
}
What is the problem? In XBMCubuntu mode live, this log/pass (xbmc) is ok to login in ip:9981

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

Sorry, Vicent - are you saying you can't login to the web interface, or that you've now solved it through using the -C option?

If you're struggling to log in as the defined user (xbmc/xbmc), check that you're not locked out because of the IP address control rules (stored in ~/.ths/tvheadend/accesscontrol/* - one file per IP rule as set up in Configuration -> Access Control.

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

I will explain step by step
1 install xbmc and tvheadend 3.0

2 not I access through webUI with xbm tvheadend / xbmc login in a terminal performed the following: (image bin-bash.png)
tvheadend sudo killall -9
sudo tvheadend-C
In the WebUI Configuration/AccesControl add user/pass "xbmc"

3 in Zarlink ZL10353 TVadapters select DVB-T and add the mux manually, but after adding the signal until it is decreasing to 0% (image HTS Tvheadend 3.0.png)
Also I have no services (image HTS Tvheadend 3.0 services.png)

the signal is good, because I can tune in the TV well and see the quality of the signal is ok, and repeat with w7 + xbmc + MediaPortal I could get all channels without problems ...

HTS Tvheadend 3.0 services.png (189 KB) HTS Tvheadend 3.0 services.png without services
HTS Tvheadend 3.0 .png (183 KB) HTS Tvheadend 3.0 .png decreasing to 0%
bin-bash.png (143 KB) bin-bash.png log bash of tvheadend

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

Hmmm... have you ever seen this card work under any version of Linux?

Searching the internet, there seem to be some queries about various cards with this chipset (DViCO FusionHDTV as well as the Geniatech X8000-MT) needing the right firmware loaded up before they'll work properly.

I've also checked your mux frequencies, and they look okay for Alicante (although the lack of both Network and Mux ID suggests that something's not right).

I'm way out of my depth here (although I'm good at floundering around), but I wonder if the card is initialising properly in the first place - so tvheadend is seeing it but can't use it properly. The warnings you've got in the terminal session don't look fun to me, although I suspect that the errors are because you've used the -C option and/or because you aren't running tvheadend under the hts user. But if that warning is because the MPEG decoder isn't being loaded, then that might explain why you can see the muxes (because they're analogue carrier signals at the end of the day) but not pull any services from them.

I must confess, I'd be inclined to trash my tvheadend setup and start again - you really shouldn't have to be removing the security with -C if you're setting up a clean install.

Maybe someone who knows more than me can wade in...

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

Just as an aside - you've installed this from a PPA, yes? So you're okay starting it from any directory since it's in your path... however, while running tvheadend -C will bypass security (so you can log in), you're not setting the user and the group (-u/-g options), nor are you running it as a daemon so the binary can change its UID or GID.

... which means it almost certainly doesn't have complete access to the adapters. See "Permission to Access Video Adapters" on this web page:

https://www.lonelycoder.com/redmine/projects/tvheadend/wiki/Install_and_initial_setup

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

I installed from .deb
I use -C or is impossible to acces in webUI...

Please, I'm a newbie in linux and find it hard to find and understand the solutions, you can tell me step by step what should I do?
The install is clean and I can try everything you recommend me

I dsmeg on terminal:
dmesg | grep cx88
[ 8.484934] cx88/0: cx2388x v4l2 driver version 0.0.8 loaded
[ 8.484978] cx8800 0000:04:01.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 8.487553] cx880: subsystem: 14f1:8852, board: Geniatech X8000-MT DVBT [card=63,autodetected], frontend(s): 1
[ 8.487556] cx880: TV tuner type 71, Radio tuner type 0
[ 8.493288] cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.8 loaded
[ 9.011069] cx880: Asking xc2028/3028 to load firmware xc3028-v27.fw
[ 9.013374] cx880/0: found at 0000:04:01.0, rev: 5, irq: 16, latency: 32, mmio: 0xd2000000
[ 9.123063] cx880/0: registered device video0 [v4l2]
[ 9.123104] cx880/0: registered device vbi0
[ 9.123141] cx880/0: registered device radio0
[ 9.124057] cx88_audio 0000:04:01.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 9.124092] cx880/1: CX88x/0: ALSA support for cx2388x boards
[ 9.124421] cx880/2: cx2388x 8802 Driver Manager
[ 9.124433] cx88-mpeg driver manager 0000:04:01.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 9.124442] cx880/2: found at 0000:04:01.2, rev: 5, irq: 16, latency: 32, mmio: 0xd0000000
[ 9.530916] cx88/2: cx2388x dvb driver version 0.0.8 loaded
[ 9.530920] cx88/2: registering cx8802 driver, type: dvb access: shared
[ 9.530924] cx880/2: subsystem: 14f1:8852, board: Geniatech X8000-MT DVBT [card=63]
[ 9.530927] cx880/2: cx2388x based DVB/ATSC card
[ 9.530929] cx8802_alloc_frontends() allocating 1 frontend(s)
[ 9.554874] cx880/2: xc3028 attached
[ 9.554878] DVB: registering new adapter (cx880)

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

Okay, that log looks like you're registering the adapter. Soooo.... let's take this step at a time.

Let's get rid of your GUI problem first. I'm making no promises that this is going to be pretty, or that there isn't a more elegant way to do this, but let's see... I'd also suggest you take backups of any file you change as we do this, just in case I've got it badly wrong :-)

Kill your running instance of tvheadend (the one which you're starting with -C, as above).

Set up the access control - I'm assuming that you've installed tvheadend with defaults (i.e. it runs as user hts):

sudo su hts
cd ~/.hts/tvheadend

Make sure the file superuser in that directory looks like this:

{
"username": "xbmc",
"password": "xbmc" 
}

If not, edit it - I use vi, but I'm not explaining here how to edit something in vi...!

check that the file has the right permissions:

chmod 0600 superuser

you should now have the account xbmc set up to be able to log in. Password is xbmc,

Check the IP settings to make sure you're allowed to log in:

cd accesscontrol

You may or may not have some files in here. If you have, copy them somewhere else and create a single file called 1 with the contents as follows:

{
        "enabled": 1,
        "username": "xbmc",
        "password": "xbmc",
        "comment": "New entry",
        "prefix": "0.0.0.0/0",
        "streaming": 1,
        "dvr": 1,
        "dvrallcfg": 1,
        "webui": 1,
        "admin": 1,
        "id": "1" 
}

And make sure it has the right permissions if you had to create it:

chmod 0700 1

This means that the xbmc user can now log in to the web interface from any IP address and access any service. This is really blunt security - i.e. none whatsoever! - but you can tighten it up later if this works.

Restart tvheadend without the -C option: you want it to use the config files and security we just created, so need it to run correctly:

sudo tvheadend -f -u hts -g video

-f = fork and run as daemon and change UID as needed once launched
-u = run as user hts (so it gets its setting from /home/hts/.hts - which is where we just put them)
-g = run as group video (so tvheadend should - hopefully - have full access to the adapter(s))

Alternatively, you should be able to just restart it as a default service as you would with a reboot:

sudo service tvheadend start

See where that takes us... check to see if you can now log into the web interface as xbmc/xbmc and see if anything is different with your mux scanning. You may find that you have to reset some options because you may have been creating a separate set of config files in /home/vicenj/tvheadend when running with -C, and these files aren't being read any more.

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

THNAKS!!Prof Yaffle
I'll start

1-
[email protected]:~$ sudo su hts
[sudo] password for vicenj:
[email protected]:/home/vicenj$ cd /.hts/tvheadend
[email protected]:
/.hts/tvheadend$ dir
superuser
[email protected]:~/.hts/tvheadend$ vi superuser

OK={
"username": "xbmc",
"password": "xbmc"
}

2-
[email protected]:~/.hts/tvheadend$ chmod 0600 superuser

3- ?!!
[email protected]:~/.hts/tvheadend$ cd accesscontrol
bash: cd: accesscontrol: No such file or directory

if I go to accescontrol by
[email protected]:~$ cd /.hts/tvheadend
[email protected]:
/.hts/tvheadend$ dir
accesscontrol dvbadapters dvbmuxes epgdb superuser xmltv

3.1-
[email protected]:~/.hts/tvheadend$ sudo su
[sudo] password for vicenj:
[email protected]:/home/vicenj/.hts/tvheadend#
cd accesscontrol
[email protected]:/home/vicenj/.hts/tvheadend/accesscontrol# dir
1
[email protected]:/home/vicenj/.hts/tvheadend/accesscontrol# leafpad 1

and change "comment": "Default access entry" by "New entry"

4-
[email protected]:/home/vicenj/.hts/tvheadend/accesscontrol# chmod 0700 1

5-
[email protected]:~$ sudo tvheadend -f -u hts -g video
[sudo] password for vicenj:
[email protected]:~$

And i go to IP:9981... is OK!! entry with xbmc/xbm :)

But in WebUI i dont have Services...

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

Hey, step at a time... that's one problem down, one to go!

Right, so you should now have tvheadend running properly, with the right permissions. Now, I'm feeling my way here, so there's a risk I break something... but hell, it doesn't work already, and who wants to live forever? :-)

My plan here is to delete the mux information along with any service information you may have, and re-add it all. Again, probably overkill, but let's make sure...

Stop the tvheadend process (ps -eaf | grep tvheadend and then kill the process, or sudo service tvheadend stop if it's running automatically).

Then, sudo su back to hts, and head back to /home/hts/.hts/tvheadend

You should find a directory here called dvbtransports.

In here, you'll find a series of sub-directories - one for each mux on each card you have - and, in each directory, you'll find the details of the services on that mux. So, for example, this is what I've got for my DVB-T card:

drwx------ 102 hts video 12288 2012-10-15 03:13 .
drwxr-xr-x  12 hts hts    4096 2012-11-02 16:06 ..
drwx------   2 hts video  4096 2012-11-02 14:20 _dev_dvb_adapter0_DiBcom_7000PC474200000
drwx------   2 hts video  4096 2012-10-17 19:35 _dev_dvb_adapter0_DiBcom_7000PC482200000
drwx------   2 hts video  4096 2012-11-02 08:00 _dev_dvb_adapter0_DiBcom_7000PC498000000
drwx------   2 hts video  4096 2012-10-01 15:55 _dev_dvb_adapter0_DiBcom_7000PC506000000
drwx------   2 hts video  4096 2012-11-02 13:09 _dev_dvb_adapter0_DiBcom_7000PC522000000
drwx------   2 hts video  4096 2012-11-02 05:30 _dev_dvb_adapter0_DiBcom_7000PC530000000

... the first directory being for the mux at 474.2MHz, the next for 482.2MHz, etc.

The easiest way to get rid of all of these would be to simply rename (mv) the whole dvbtransports drectory:

cd ~/.hts/tvheadend
mv dvbtransports dvbtransports.old

... so any trace of previous mux scanning is gone.

For completeness, let's remove the muxes as well. If you navigate back to ~/.hts/tvheadend, you'll find a directory called dvbmuxes - in here, you'll find a sub-directory per tuner - and in that sub-directory, a file per mux that describes the mux config (QAM16 vs QAM64, bandwidth, etc.). Let's get rid of all of these so you can re-add them through the web interface.

cd ~/.hts/tvheadend
mv dvbmuxes dvbmuxes.old

Now, re-start tvheadend... navigate to Configuration -> TV Adapters -> <your adapter name> -> Multiplexes and you should find this list is blank.

Add the muxes one at a time for Alicante with the Add mux(es) manually... button.

In my experience, it's the frequency and bandwidth that're the most important things - everything else can be set to Auto. Your mileage may vary, though, so it depends on what you understand and how good your data source is.

Add the muxes. Scanning should start immediately... so let's see what happens...

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

[email protected]:~$ ps -eaf | grep tvheadend
vicenj 1010 1 0 16:09 ? 00:00:00 /usr/bin/tvheadend -f -u vicenj
-g video
vicenj 1503 1448 0 16:13 pts/0 00:00:00 grep --color=auto tvheadend
[email protected]:~$ sudo service tvheadend stop

I dont have dvbtransports directory an I have two directorys called .hts, in /home/hts/.hts and in /home/vicentj/.hts

[sudo] password for vicenj:
[email protected]:[email protected]:~$ sudo su
[email protected]:~# cd /home/hts/.hts/tvheadend
[email protected]:/home/hts/.hts/tvheadend# dir
epgdb superuser xmltv
[email protected]:/home/hts/.hts/tvheadend# cd /home/vicenj/.hts/tvheadend
[email protected]:/home/vicenj/.hts/tvheadend# dir
accesscontrol dvbadapters dvbmuxes epgdb superuser xmltv
[email protected]:/home/vicenj/.hts/tvheadend# cd /home/vicenj/.hts/tvheadend/dvbadapters
[email protected]:/home/vicenj/.hts/tvheadend/dvbadapters# dir
_dev_dvb_adapter0_Zarlink_ZL10353_DVB_T
[email protected]:/home/vicenj/.hts/tvheadend/dvbadapters# cd /home/vicenj/.hts/tvheadend/dvbmuxes
[email protected]:/home/vicenj/.hts/tvheadend/dvbmuxes# dir
_dev_dvb_adapter0_Zarlink_ZL10353_DVB_T
[email protected]:/home/vicenj/.hts/tvheadend/dvbmuxes# cd /home/vicenj/.hts/tvheadend/accesscontrol
[email protected]:/home/vicenj/.hts/tvheadend/accesscontrol# dir
1
[email protected]:/home/vicenj/.hts/tvheadend/accesscontrol# cd /home/vicenj/.hts/tvheadend/xmltv
[email protected]:/home/vicenj/.hts/tvheadend/xmltv# dir
config

I was [email protected]:~# find / -name dvbtransports, but no files found...

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

[email protected]:~$ ps -eaf | grep tvheadend
vicenj 1010 1 0 16:09 ? 00:00:00 /usr/bin/tvheadend -f -u vicenj -g video

Looks like you're still running it under your own username instead of hts - I think a lot of your problem is that you have the configuration split between /home/hts/.hts and /home/vicenj/.hts, depending on which username you're starting tvheadend under.

When you started it above to solve the web login, you used:

5-
[email protected]:~$ sudo tvheadend -f -u hts -g video

... so you're being inconsistent.

If I were you, I'd make sure it only runs as hts - so, however you're starting it, make sure it's -f -u hts -g video.

if you do that, the config will always be in /home/hts/.hts/tvheadend. The fact that you don't have a dvbtransports directory is because you have no services; the fact that you have no dvbmuxes directory in /home/hts/.hts/tvheadend is because you've never added them while running as hts - you've only added them while running as vicenj.

RE: Map DVB services is greyed, Please help me!! - Added by Eric Valette about 9 years ago

Prof Yaffle wrote:

If I were you, I'd make sure it only runs as hts - so, however you're starting it, make sure it's -f -u hts -g video.

Well, sorry to interfere but ruuning as a user, -u and -g are uselees as setuid and setgid are root only... So the rigth way to do it is to be hts (su; su - hts) and make sur hts is in the video group...

-- eric

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

Thanks, Eric - no, that's not interference, I'm finding my way here trying to help Vicent, so knowledgeable help is useful!

I think you're pointing the same way as I thought, although you're phrasing it better... you should either su to hts to start it, or else sudo tvheadend -f -u hts -g video so the setuid/setgid can work, correct? That's how an init script would start it, after all, because they'd be running as root... either way, the objective is to get it running as the right user (hts) so the config in /home/hts/.hts gets used plus the process has access to the adapters.

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

my God,
why is it so complicated linux?!

What if XBMBuntu install again, and then you guide me step by step?

RE: Map DVB services is greyed, Please help me!! - Added by Eric Valette about 9 years ago

Prof Yaffle wrote:

you should either su to hts to start it, or else sudo tvheadend -f -u hts -g video so the setuid/setgid can work, correct?

Exactly. And make sure after various attempts that the tvheadend directory under hts (.hts/tvheadend) and all the files correctly belongs to hts. (as root in /home/hts : "chown -R hts.video .")

-- eric

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

@Eric - thanks

vicent martnez - I'd love to say "no, Linux is --easy--", but my experience is that it works really well - until something goes wrong, and then you're in trouble. I'd probably use Windows if it were less of a resource-hog, more secure, more reliable, less prone to "now updating 100,000 files, please delete all your work"... actually, those are good reasons, which is why I switched to Linux originally :)

I'm not sure I can talk you through step by step on a forum, I'd need to see what's in front of me. That said, you don't need to reinstall everything - I suspect you need to delete the .hts directory in /home/vicentj and then we can concentrate on getting tvheadend to run from the right directory, with the right permissions. I'm almost certain that the problem is that the tvheadend process (program) can't access your tuners because of how you're starting it - which is why you're not getting any services.

As a matter of interest, you said you installed it from the deb - so you didn't add the PPA and install from there, I presume? That's the way I'd recommend - we may have to uninstall tvheadend, delete all the directories, and then install from PPA... but that's less than re-installing the whole OS!

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

So, thinking quickly about this... I'd probably:

1. Stop all instances of tvheadend using ps and kill

so we're not removing anything that the process is trying to use, and/or so tvheadend doesn't immediately try to recreate something in the wrong place

2. Remove the directory /home/vicentj/.hts (rm it or just mv it to a different name)

this is what's screwing things up, we don't want to be running as a user

3. Uninstall tvheadend (sudo dpkg -r tvheadend at a guess if you installed from .deb)

gets rid of the .deb you said you installed

(4. Optional - also remove everything in /home/hts/.hts, just to make absolutely sure you've no "ghosts" left lying around)

5. Add the PPA

sudo add-apt-repository ppa:adamsutton/tvheadend

this sets your system up to get the current release version and any future versions Adam publishes, e.g. 3.4 when it comes out

6. Install tvheadend

sudo apt-get update
sudo apt-get install tvheadend

this will install 3.2 as the release version from Adam's repository

7. It's a lifetime since I did a clean install of tvheadend, but it may (should) ask you for the superuser details as it installs - that's where you'd say xbmc/xbmc. If it says anything about "under which user should I run <default hts>" then accept that, you want it to run as hts.

this should install tvheadend correctly, to run under the right user when you reboot - user hts, group video, config in /home/hts/.hts/tvheadend

. tvheadend should now be running - if not, reboot and check the process list with ps and you should see tvheadend -f -u hts -g video

8. Go to the web interface and log in - you should be able to get in okay. If you can, I'd suggest you add xbmc/xbmc, 0.0.0.0/0 and everything ticked on the Configuration -> Access Control tab. If not, add the accesscontrol file as above

9. Add the muxes manually to make sure they're all correct (I genuinely don't know if Add DVB Network by Location... has the current information for your town)

10. Scanning will commence as you add each one - if all has gone well, you'll discover the services as you go...

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

OK
I deleted /home/vicenj/.hts and /home/hts, with synaptic uninstall tvheadend, add PPA, and with synaptic install "tvheadend 3.2" oneiric
This install say:
Remplace configuration file "/etc/default/tvheadend"? Yes
and then only I have a hts directory in /home/hts with a superuser file with log/pass xbmc/xbmc, is all rigth?
I restart my PC, and then restart tvheadend with tvheadend start... also tvheadend made /home/vicentj/.hts/tvheadend, but is empty and i don log in IP:9981 WebUI
And then made

[email protected]:~$ sudo killall -9  -tvheadend
[sudo] password for vicenj:
[email protected]:~$ sudo hts
sudo: hts: command not found
[email protected]:~$ sudo su hts
[email protected]:/home/vicenj$ tvheadend start
Nov 03 20:01:00 [INFO]:charset: 59 entries loaded
Nov 03 20:01:00 [ALERT]:dvb: Unable to open /dev/dvb/adapter0/frontend0 -- Permission denied
Nov 03 20:01:00 [ALERT]:v4l: Unable to open /dev/video0 -- Permission denied

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

Sounds good so far... Synaptic should have picked up the right version from the PPA, and there are no later versions from anywhere else, so you should be fine...

EDIT

Actually, hang on... sorry, re-read... you said you ran "tvheadend start"? That shouldn't be necessary, it should be automatically starting when you reboot. If you're then starting as your own user using the command "tvheadend" (versus, say, sudo service tvheadend start) then that's where you're going wrong, and that's what will have re-created the stuff in your home directory instead of home/hts. As such, anything you entered when you installed is now being ignored, which is why the webUI won't work...

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

Type id at the command line while su'ed to hts... see what you get. If it says gid=xxx(hts), that's why it's failing.

You need to start tvheadend (and I say again, it should be starting when you reboot) with sudo tvheadend -f -u hts -g video or sudo service tvheadend start - that way, the program will run as a member of the video group, which it will need to access the adapters.

(1-25/41)