From patchwork Tue Mar 27 10:45:09 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gianluca Gennari X-Patchwork-Id: 10497 Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from ) id 1SCTu0-0001yq-2f for patchwork@linuxtv.org; Tue, 27 Mar 2012 12:45:24 +0200 X-tubIT-Incoming-IP: 209.132.180.67 Received: from vger.kernel.org ([209.132.180.67]) by mail.tu-berlin.de (exim-4.75/mailfrontend-3) with esmtp for id 1SCTtz-0006yN-D2; Tue, 27 Mar 2012 12:45:23 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752933Ab2C0KpR (ORCPT ); Tue, 27 Mar 2012 06:45:17 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:49603 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752771Ab2C0KpP (ORCPT ); Tue, 27 Mar 2012 06:45:15 -0400 Received: by wibhq7 with SMTP id hq7so5351528wib.1 for ; Tue, 27 Mar 2012 03:45:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type; bh=mTlzfYSmyGqiALLE+93SlQBtfBjwTAZNyLEsw88PlJs=; b=ung7aewEYkSjdMlw5dzPeZNBRIFXpra6xt9FhWLP8QYI4nS2TGWi/TeMlYN/95rywY SAxcleMO1oWsfU7xZ06mD6q+69I8zUFNb2RBH8C9lwo0pPq0RIYwfMxBqWqMubV5VyKN GNIjQW/fkE2IbnCrUMu2Asbba6c5FWUtqzTiMHjqEzkT6FFYFkK/PbOUExXvCIeKG1Ab 7ogSTYiIGMUSPZNpJKm4JlEDor85jiZxuRmsDEdHRe6bIYJUXynsNiybo4ntEPqpMxza 8VmtRotI/pwQSzAnyWRufVctOvJQBz+PB1cei9uU7FtFdXuxUr7CqNBY6ULobj/2Mk3v KQEw== Received: by 10.180.80.9 with SMTP id n9mr26483140wix.4.1332845113780; Tue, 27 Mar 2012 03:45:13 -0700 (PDT) Received: from [192.168.2.3] (93-50-34-119.ip150.fastwebnet.it. [93.50.34.119]) by mx.google.com with ESMTPS id 17sm49399548wis.0.2012.03.27.03.45.11 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 27 Mar 2012 03:45:12 -0700 (PDT) Message-ID: <4F719A35.30508@gmail.com> Date: Tue, 27 Mar 2012 12:45:09 +0200 From: Gianluca Gennari Reply-To: gennarone@gmail.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.28) Gecko/20120313 Thunderbird/3.1.20 MIME-Version: 1.0 To: Sril , "linux-media@vger.kernel.org" Subject: Re : AverTV Volar HD PRO : a return case. References: <1332797739.83006.YahooMailNeo@web171403.mail.ir2.yahoo.com> In-Reply-To: <1332797739.83006.YahooMailNeo@web171403.mail.ir2.yahoo.com> X-Enigmail-Version: 1.1.1 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.3.27.103316 X-PMX-Spam: Gauge=IIIIIIIII, Probability=9%, Report=' FORGED_FROM_GMAIL 0.1, HTML_00_01 0.05, HTML_00_10 0.05, MIME_TEXT_ONLY_MP_MIXED 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_10000_PLUS 0, __ANY_URI 0, __BAT_BOUNDARY 0, __CP_URI_IN_BODY 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __CTYPE_MULTIPART_MIXED 0, __FRAUD_WEBMAIL 0, __FRAUD_WEBMAIL_FROM 0, __FRAUD_WEBMAIL_REPLYTO 0, __FROM_GMAIL 0, __HAS_MSGID 0, __HAS_X_MAILING_LIST 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MOZILLA_MSGID 0, __PHISH_SPEAR_STRUCTURE_1 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __URI_NO_WWW 0, __URI_NS , __USER_AGENT 0' Il 26/03/2012 23:35, Sril ha scritto: > Hi, > > Ianswer to mysel to say that I finally have a "working" 07ca:a835 under 3.0.26 kernel with xgazza_af9035 patch. > The one for 3.2.x crash part of kernel and I still have I2C regs that can not be read. > > So, what tools must do I work on : patch for v4l (build_media) or patch for kernel from xgazza or af903x driver or whatever ? > Which one is under active building ? > > Thanks for reply. > > Best regards. > See ya. Hi Sril, the only af9035 driver currently under active development is the one from Hans-Frieder Vogt (af903x). The patch in attachment is a quick port of the support for the tda18218 tuner (and hence the a835/b835 dongles) from the old drivers that are floating around (all derived from the xgazza patch). The problem with the xgazza patch is that it uses the tuner initialization script and the firmware of another stick (with a different tuner, the TUA 9001) so it is not working optimally. I have a 07ca:b835 and it works surprisingly well on my systems, but there are many users (like you) who report I2C errors. We need to extract a proper firmware and/or initialization script for the tda18218 from the Windows driver to solve this problems. There is also a small patch for the tda18218 that is needed to tune VHF frequencies (with 7MHz bandwidth). Best regards, Gianluca tda18218: fixed IF frequency for 7 MHz bandwidth channels Signed-off-by: Gianluca Gennari --- drivers/media/common/tuners/tda18218.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/common/tuners/tda18218.c b/drivers/media/common/tuners/tda18218.c index dfb3a83..b079696 100644 --- a/drivers/media/common/tuners/tda18218.c +++ b/drivers/media/common/tuners/tda18218.c @@ -144,7 +144,7 @@ static int tda18218_set_params(struct dvb_frontend *fe) priv->if_frequency = 3000000; } else if (bw <= 7000000) { LP_Fc = 1; - priv->if_frequency = 3500000; + priv->if_frequency = 4000000; } else { LP_Fc = 2; priv->if_frequency = 4000000; -- 1.7.0.4