From owner-freebsd-multimedia@FreeBSD.ORG Tue Feb 25 22:47:13 2014 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 733C5515 for ; Tue, 25 Feb 2014 22:47:13 +0000 (UTC) Received: from lamora.getmail.no (lamora.getmail.no [84.210.184.7]) by mx1.freebsd.org (Postfix) with ESMTP id 168961440 for ; Tue, 25 Feb 2014 22:47:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by lamora.getmail.no (Postfix) with ESMTP id 61E816066F for ; Tue, 25 Feb 2014 23:30:35 +0100 (CET) Received: from lamora.getmail.no ([127.0.0.1]) by localhost (lamora.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id B638Vccc_-ln for ; Tue, 25 Feb 2014 23:30:34 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lamora.getmail.no (Postfix) with ESMTP id D8D8160697 for ; Tue, 25 Feb 2014 23:30:34 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.8.4 lamora.getmail.no D8D8160697 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1393367434; bh=6L6tJEPuzHE906V/BIv/aNYeaj4bFzpqkBzlUkKnz48=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=ZqLAV3ZNN0F9e79h6Bi7h/Cz/mOtkSIJIM0pGdKaBo8EGhN3jRpVmyEsxuDtZ/hLh GhLSFiYdZoqVt3m/GBYOsAvRF6Ysg5hKkBSy+Tiuj0ugSj9GaJpE1fz1K3paKnvnHr CphcGHpILHgETlBYAoMKpj989lvXKtPo89B+CUs0= X-Virus-Scanned: amavisd-new at lamora.get.c.bitbit.net Received: from lamora.getmail.no ([127.0.0.1]) by localhost (lamora.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id qaLi0TqfEcZH for ; Tue, 25 Feb 2014 23:30:34 +0100 (CET) Received: from kg-core1.kg4.no (cm-84.215.180.206.getinternet.no [84.215.180.206]) by lamora.getmail.no (Postfix) with ESMTPSA id AED426066F for ; Tue, 25 Feb 2014 23:30:34 +0100 (CET) Date: Tue, 25 Feb 2014 23:30:34 +0100 From: Torfinn Ingolfsen 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> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.22; amd64-portbld-freebsd8.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Feb 2014 22:47:13 -0000 On Tue, 25 Feb 2014 21:49:09 +0100 Torfinn Ingolfsen wrote: > On Sat, 15 Feb 2014 12:42:35 +0100 > Torfinn Ingolfsen 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