I’ve recently installed an Hauppage HVR-1600 on an openSUSE 13.1 system running TVHeadend 4.0.7 … and have encountered difficulty! Foremost, I have to run tvheadend with the -C option to be able to login/access the webadmin interface (despite adding a new user in access control …). Once logged in, I can see the adapters listed in the TV Tuners tab, but can’t get scanning/tuning to work at all. From what I’ve seen on screenshots of the configuration page, I should see “Add DVB network by location” and “Map DVB services to channels” buttons when selecting the tuner, but neither button is present.
I tinkered with mythtv prior to giving tvheadend a try, and know that the card is functional, scans, and tunes to OTA HDTV ATSC channels in Portland, OR…
Not sure what to do from here … I’ve listed output of the service config here:
tvheadend.service - Tvheadend - a TV streaming server and DVR
Loaded: loaded (/usr/lib/systemd/system/tvheadend.service; enabled)
Active: active (running) since Fri 2015-10-30 20:28:32 PDT; 53min ago
Process: 29431 ExecStart=/usr/bin/tvheadend -f -p /var/run/tvheadend.pid $OPTIONS (code=exited, status=0/SUCCESS)
Main PID: 29432 (tvheadend)
CGroup: /system.slice/tvheadend.service
└─29432 /usr/bin/tvheadend -f -p /var/run/tvheadend.pid -c /home/tvheadend/config -u tvheadend -g tvheadend -6 --http_port 9981 --htsp_port 9982
*Any help would be greatly appreciated!
*
Respectfully,
ljg
One in hardware for the hvr-1600, one in applications for tvheadend … not sure if this is good practice, just wanted to be sure I posted in correct forum section …
Thanks for merging/nuking (won’t double post again!).
I installed tvheadend 4.0.7-1.1 using yast software management.
That the service runs as user/group “tvheadend” doesn’t make sense, since neither that user nor group exists on the machine …
Although, user “hts” exists as member of video group…
I noticed that one time when running tvheadend with -C, the browser autosaved a login of “tvheadend” with password “hts”.
At the advice of a tvheadend forum member, I created a file “superuser” in [FONT=arial]/home/tvheadend/config/ with content:
[/FONT]{
“username”: “username”,
“password”: “password”
}
This was to allow me to login with chosen username and password without using the -C argument, which is successful, but the webadmin interface doesn’t populate with the tuners, so that was of no use!
Hi
OK, so the source service file differs from what the rpm adds as a user/group via sysconfig file… If you use YaST /etc/sysconfig editor and change the user to hts and group to video, does it come right?
Using YaST /etc/sysconfig to change tvheadend service to -u hts -g video does not allow login using credentials created in superuser file. I have listed the contents of the /home/tvheadend/config file here for reference as well:
Hi
I did a recursive change of user (hts) and group (video) on the /home/tvheadend then I could login with the ‘superuser’ file. This was starting the service with systemctl.
systemctl status -l tvheadend.service
tvheadend.service - Tvheadend - a TV streaming server and DVR
Loaded: loaded (/usr/lib/systemd/system/tvheadend.service; disabled)
Active: active (running) since Sun 2015-11-01 16:35:14 CST; 3min 12s ago
Process: 2010 ExecStart=/usr/bin/tvheadend -f -p /var/run/tvheadend.pid $OPTIONS (code=exited, status=0/SUCCESS)
Main PID: 2011 (tvheadend)
CGroup: /system.slice/tvheadend.service
└─2011 /usr/bin/tvheadend -f -p /var/run/tvheadend.pid -c /home/tvheadend/config -u hts -g video -6 --http_port 9981 --htsp_port 9982
A chown -R of /home/tvheadend worked for superuser login, this is a good step forward! Yet still I am unable to configure tuner to scan/add channels using “Add DVB network by location” and “Map DVB services to channels” buttons (still missing from DVB Inputs tab).
Yes, those images are what I can see also. So I should revise my comment – I can add a network, choosing a pre-defined mux, but I cannot Map DVB Services to Channels …)
Perhaps this is in a different tab location in this release version …
Yes, I selected the adapter and enabled for “Antenna HDTV” network. Something I noticed when adding network by location, is that selecting the predefined mux “us-atsc…” and clicking save, that the selected predefined mux field does not persist (is not saved in config).
Thinking that I may need to add channels manually, I proceeded with a command line scan and have created a channel.conf file. This matches your advice, so I’m very happy with this! It did require stopping tvheadend service, as you surmised.
Thank you for the screenshots, I will proceed with adding the muxes frequencies and see how far I get!
Hello, sorry for replying into an old thread however i could not exactly follow the instructions on the first page. I
Using 42.1, i too can not log into the Web UI
I installed the tvheadend package from packman and started the tvheadend deamon in yast runlevel editor.
Now in etc/sysconfig editor i found Other - etc - sysconfig - tvheadend - OPTIONS
Thanks for helping, here is what i did now:* changed /etc/sysconfig/tvheadend as suggested (replaced tvheadend & tvheadend with hts & video)
created a superuser file at “/home/tvheadend/config” with content
{
"username": "admin",
"password": "admin"
}
now i noticed the ownership and group of /home/hts was set to bin:bin, so i did the recursive ownership chamge with
inux-b2gv:/home # chown -R hts:video tv*
linux-b2gv:/home # ls -l
insgesamt 0
drwxr-xr-x 1 roland users 634 27. Jan 17:33 roland
drwx------ 1 hts video 12 26. Jan 17:24 tvheadend
Now i can log into the Web UI with set username and password.
Will try it out with a device tomorrow, however i think i still need to change some permissions.
linux-b2gv:/home/tvheadend/config # ls -l
insgesamt 16
drwx------ 1 hts video 1088 26. Jan 17:24 bouquet
-rwx------ 1 hts video 44 26. Jan 17:24 config
drwx------ 1 hts video 12 26. Jan 17:24 dvr
-rwx------ 1 hts video 191 27. Jan 23:13 epgdb.v2
drwx------ 1 hts video 10 26. Jan 17:24 input
-rw-r--r-- 1 hts video 22 27. Jan 23:14 .lock
drwx------ 1 hts video 384 26. Jan 17:24 profile
-rw-r--r-- 1 hts video 44 27. Jan 23:11 superuser
linux-b2gv:/home/roland # systemctl status tvheadend
tvheadend.service - Tvheadend - a TV streaming server and DVR
Loaded: loaded (/usr/lib/systemd/system/tvheadend.service; enabled)
Active: active (running) since Mi 2016-01-27 23:14:30 CET; 14min ago
Process: 1659 ExecStart=/usr/bin/tvheadend -f -p /var/run/tvheadend.pid $OPTIONS (code=exited, status=0/SUCCESS)
Main PID: 1666 (tvheadend)
CGroup: /system.slice/tvheadend.service
└─1666 /usr/bin/tvheadend -f -p /var/run/tvheadend.pid -c /home/tvheadend/...