From owner-freebsd-multimedia@FreeBSD.ORG Wed Feb 26 18:27:22 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 DEE55676 for ; Wed, 26 Feb 2014 18:27:22 +0000 (UTC) Received: from lamora.getmail.no (lamora.getmail.no [84.210.184.7]) by mx1.freebsd.org (Postfix) with ESMTP id 8BA8F19A5 for ; Wed, 26 Feb 2014 18:27:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by lamora.getmail.no (Postfix) with ESMTP id 4AD4E607E3 for ; Wed, 26 Feb 2014 19:11:18 +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 PhDhA4HYaRyX for ; Wed, 26 Feb 2014 19:11:17 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lamora.getmail.no (Postfix) with ESMTP id B325B60748 for ; Wed, 26 Feb 2014 19:11:17 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.8.4 lamora.getmail.no B325B60748 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1393438277; bh=WuQZoalxNwH5gY0w13m0/qWe6kEbwmGbESG85FSsHUg=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=i81SOxxd42M2/t7aGGw9yv7VIECHX86GZrgI4UPWps7mOWDHpvFTRNe0BDltWU1Pp qjLZSIELaf8M4esUauG+0qVF6kSsWv2fi8vQDqs86Cn2xdE+hZfJcF2QtYM9pDuIsw utMur0uTFBVjqkFIes3gMYPX1L0VK6tKZTGfa7uU= 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 R1_pEDQN8nzN for ; Wed, 26 Feb 2014 19:11:17 +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 8B5DA607AA for ; Wed, 26 Feb 2014 19:11:17 +0100 (CET) Date: Wed, 26 Feb 2014 19:11:17 +0100 From: Torfinn Ingolfsen To: freebsd-multimedia@FreeBSD.org Subject: Re: tvheadend installed - now what? Message-Id: <20140226191117.9dfd48f7221cf9c4b8a42df8@getmail.no> In-Reply-To: References: <20140215124235.4860b58f88221f63f18674b8@getmail.no> <20140225214909.ae5c7624cbe20b60031b78aa@getmail.no> <20140225233034.13695942962a8408b3efe745@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=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: Wed, 26 Feb 2014 18:27:22 -0000 On Wed, 26 Feb 2014 09:44:56 +0100 Bernhard Fr=F6hlich wrote: >=20 > 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. >=20 > https://tvheadend.org/boards/5/topics/8535?r=3D10871 Ah, I didn't find that one. Thanks! Adding a patch to give me DVB-C (that's all I have) like so: root@kg-f4# /usr/ports/Tools/scripts/patchtool.py dvb_support.c --- src/dvb/dvb_support.c.orig 2013-07-26 18:17:22.000000000 +0200 +++ src/dvb/dvb_support.c 2014-02-26 18:38:56.000000000 +0100 @@ -389,13 +389,15 @@ int dvb_str_to_adaptertype(const char *str) { - return str2val(str, adaptertype); + /* return str2val(str, adaptertype); */ + return FE_QAM; } =20 const char * dvb_adaptertype_to_str(int type) { - return val2str(type, adaptertype) ?: "invalid"; + /* return val2str(type, adaptertype) ?: "invalid"; */ + return val2str(FE_QAM, adaptertype) ?: "invalid"; } =20 const char * and recompiling / reinstalling tvheadend at least get me DVB-C adapter(s) i= n the web interface. It remains to see if they actually work. --=20 Torfinn Ingolfsen