Date: Tue, 25 Feb 2014 23:30:34 +0100 From: Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no> To: freebsd-multimedia@FreeBSD.org Subject: Re: tvheadend installed - now what? Message-ID: <20140225233034.13695942962a8408b3efe745@getmail.no> In-Reply-To: <20140225214909.ae5c7624cbe20b60031b78aa@getmail.no> References: <20140215124235.4860b58f88221f63f18674b8@getmail.no> <20140225214909.ae5c7624cbe20b60031b78aa@getmail.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 25 Feb 2014 21:49:09 +0100 Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no> wrote: > On Sat, 15 Feb 2014 12:42:35 +0100 > Torfinn Ingolfsen <torfinn.ingolfsen@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@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@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@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@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@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@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? -- Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140225233034.13695942962a8408b3efe745>