tvheadend installed - now what?
Bernhard Fröhlich
decke at FreeBSD.org
Wed Feb 26 08:44:58 UTC 2014
On Tue, Feb 25, 2014 at 11:30 PM, Torfinn Ingolfsen
<torfinn.ingolfsen at getmail.no> wrote:
> On Tue, 25 Feb 2014 21:49:09 +0100
> Torfinn Ingolfsen <torfinn.ingolfsen at getmail.no> wrote:
>
>> On Sat, 15 Feb 2014 12:42:35 +0100
>> Torfinn Ingolfsen <torfinn.ingolfsen at getmail.no> wrote:
>>
>> > I have selected and enabled the device in tvheadend's web interface, I also tried "add DVB network by location", but
>> > the only one that shows up for Norway is a DVB-T one, and I can't use that one (I tried anyway, but it didn't work).
>>
>> Are tvheadend using the files under /usr/local/share/tvheadend/dvb
>> for the "add DVB network by location"?
>> If so, how come that only this one shows up for Norway:
>> /usr/local/share/tvheadend/dvb/dvb-t/no-Trondelag_Stjordal
>>
>> when I have all these?
>> root at kg-f4# find /usr/local/share/tvheadend/dvb -name no* -print
>> /usr/local/share/tvheadend/dvb/dvb-c/no-Oslo-CanalDigital
>> /usr/local/share/tvheadend/dvb/dvb-c/no-Oslo-Get
>> /usr/local/share/tvheadend/dvb/dvb-t/no-Trondelag_Stjordal
>> permissions look ok:
>> root at kg-f4# find /usr/local/share/tvheadend/dvb -name no* -exec ls -l {} \;
>> -rw-r--r-- 1 root wheel 403 Jul 14 2013 /usr/local/share/tvheadend/dvb/dvb-c/no-Oslo-CanalDigital
>> -rw-r--r-- 1 root wheel 694 Jul 14 2013 /usr/local/share/tvheadend/dvb/dvb-c/no-Oslo-Get
>> -rw-r--r-- 1 root wheel 339 Jul 14 2013 /usr/local/share/tvheadend/dvb/dvb-t/no-Trondelag_Stjordal
>> root at kg-f4# ls -l /usr/local/share/tvheadend/dvb
>> total 84
>> -rw-r--r-- 1 root wheel 17987 Jul 14 2013 COPYING
>> -rw-r--r-- 1 root wheel 26423 Jul 14 2013 COPYING.LGPL
>> drwxr-xr-x 2 root wheel 512 Feb 15 10:40 atsc
>> drwxr-xr-x 6 root wheel 512 Feb 15 10:40 channels-conf
>> drwxr-xr-x 2 root wheel 1536 Feb 15 10:40 dvb-c
>> drwxr-xr-x 2 root wheel 2560 Feb 15 10:40 dvb-s
>> drwxr-xr-x 2 root wheel 17920 Feb 15 10:40 dvb-t
>
> Ok, I think I have figured that out - tvheadend thinks this is a DVB-T adapter:
> root at kg-f4# more /usr/local/etc/tvheadend/dvbadapters/_dev_dvb_adapter0_Sony_CXD2820R
> {
> "enabled": 1,
> "fe_path": "/dev/dvb/adapter0/frontend0",
> "dmx_path": "/dev/dvb/adapter0/demux0",
> "dvr_path": "/dev/dvb/adapter0/dvr0",
> "type": "DVB-T",
> "displayname": "Sony CXD2820R",
> "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
> }
>
> Even if w_scan doesn't have a problem scanning with a DVB-C frontend for the same adapter:
> root at kg-f4# w_scan -fc -c NO -C ISO-8859-1
> w_scan version 20120415 (compiled for DVB API 5.5)
> using settings for NORWAY
> DVB cable
> DVB-C
> scan type CABLE, channellist 7
> output format vdr-1.6
> output charset 'ISO-8859-1'
> Info: using DVB adapter auto detection.
> /dev/dvb/adapter0/frontend0 -> CABLE "Sony CXD2820R": very good :-))
>
> Using CABLE frontend (adapter /dev/dvb/adapter0/frontend0)
> -_-_-_-_ Getting frontend capabilities-_-_-_-_
> Using DVB API 5.a
> frontend 'Sony CXD2820R' supports
> INVERSION_AUTO
> QAM_AUTO
> FEC_AUTO
> FREQ (45.00MHz ... 864.00MHz)
>
> So the question is: how do I make tvheadend detect the DVB-C capability of this adapter?
> There is only one frontend:
> root at kg-f4# ls -l /dev/dvb/adapter0
> total 0
> crw-rw---- 1 webcamd webcamd 0x8c Feb 25 20:32 demux0
> crw-rw---- 1 webcamd webcamd 0x8d Feb 25 20:32 dvr0
> crw-rw---- 1 webcamd webcamd 0x9a Feb 25 20:32 frontend0
>
> I tried stopping tvheadend changing "type" to "DVB-C" and starting tvhheadend again, but it just overwrites the file.
> Any ideas?
You don't seem to be the first one with that problem. The best
"workaround" right now seems
to "hack the code" with a small patch. Newer versions seem to be able
to set the type explicitly
via the webinterface.
https://tvheadend.org/boards/5/topics/8535?r=10871
--
Bernhard Froehlich
http://www.bluelife.at/
More information about the freebsd-multimedia
mailing list