Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp445035ybn; Thu, 3 Oct 2019 07:20:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqxx6jJQefV3FSEqyM2FxumbLj62H6IJFlhh8tJgDhFGhgJX0l+y4iK3i0L5d4ZLKXdFt8as X-Received: by 2002:a50:8933:: with SMTP id e48mr9663323ede.51.1570112433089; Thu, 03 Oct 2019 07:20:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570112433; cv=none; d=google.com; s=arc-20160816; b=ZZDMhvFe0pvBQX927u2UK8T2MTpZDdGAZvvKazTJ2oUFPrD5B4AclYrKrYSDWXB77f +AoDyx2FdoWRBSoOuuyAi3SfUfUs/MerNN+tAvZPs7p+8sAiv7LswPxOgDxdIGFd+QKV JVOxjQ7YdU1y3zhEYMEKWX9H33L+ISCMrC5fkjELYBi98afYQx5pCPE1PKCBD38iObj6 xxvrcrL73Bfatx9RK04IG4a7tlrsgd9nweblMbKkM31e2eF1F/QJt4hzx/HzBdOld/2w yxPdPBvf52vtzi/dPRh9o8+HioqbwU2uz7TXOnd0JU7/PiXRjijV2LXG4XH1hlUKtntB z4oA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=+3A0RVi/eynu6cHrvlnzbDBBXa/7l6DXVZbYu9LkAQI=; b=CjmzSRBLjcxQ+LSb6oQrbRqfUVVfir3Fzk/+fn1GOoBd+2/WfmH7+5UrJ5VAx+VPo+ zqwG3fJFyWcV5gCjEZn/WT55240CBrtyAjJkMZ5UVX5Gn7TnYyHHwBKGVnNhz8XttBBw ZlmqtDPIoXXeqTw/6iIvhkHmDhNxvKtSVG5CrGHp/ZAv8hgAYl59aofCFCZxgGMS54+z Ptj54jlFd0MBZ54mi/EUMNvul0OF+GM4TFisRbzY5bBFKOAu6LmNyFpL6A24/pKMj1Hw c29Wo7PVgucRRtE/5pPryZVxEuJQ8UXcKZjHhD7dWVOXu6QfLxwLG22E0mDB0ZP4rilp gUQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ShUzobsj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t49si1628536edd.198.2019.10.03.07.20.07; Thu, 03 Oct 2019 07:20:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ShUzobsj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729080AbfJCMtM (ORCPT + 99 others); Thu, 3 Oct 2019 08:49:12 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:36670 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727331AbfJCMtL (ORCPT ); Thu, 3 Oct 2019 08:49:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To: From:Date:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+3A0RVi/eynu6cHrvlnzbDBBXa/7l6DXVZbYu9LkAQI=; b=ShUzobsjuDPIifsb0K9SQmZn+ xIPryyo6TVO6d1PgEwfo+n3ogNYeXAgoDzeZ8GfSlXO3aPywkEawRyvTYsSltg99TmrfQJA2UAu6F vxhThdlNmA4rZ8miSRAHF2nIORFM8zR4e2/zDi9+qLYfhfKkBMGmIyhGO8EOEWV4+WUuUQSYAK83H zjIOWM8DCFDL6VA6168FgeyFCbcOfowWCdJTVxImlPiT5Qldw6MTmA06NPS+zkR1RyhuXt4LkRjZs KCJKIVZ03hyt/DQ8KQ478mGhEQ5DEnKs7amDKXT44eaXW6mY9qu0ulY343nrU9whomtFEar/3kW8I klGGE4xMA==; Received: from 177.133.68.49.dynamic.adsl.gvt.net.br ([177.133.68.49] helo=coco.lan) by bombadil.infradead.org with esmtpsa (Exim 4.92.2 #3 (Red Hat Linux)) id 1iG0Xd-0003Rg-8Z; Thu, 03 Oct 2019 12:49:09 +0000 Date: Thu, 3 Oct 2019 09:49:04 -0300 From: Mauro Carvalho Chehab To: Gonsolo Cc: JP , crope@iki.fi, Sean Young , linux-media@vger.kernel.org, Linux Kernel Subject: Re: [PATCH] si2157: Add support for Logilink VG0022A. Message-ID: <20191003094904.3aa5fdc7@coco.lan> In-Reply-To: References: <20191001205203.4b1a5fb6@coco.lan> <20191002141359.30166-1-gonsolo@gmail.com> <20191002141359.30166-2-gonsolo@gmail.com> <20191002142744.GA3475@gofer.mess.org> <20191002150650.GA4227@gofer.mess.org> <29ab2e43-4374-a3ea-6ae1-a4267867eaa4@jpvw.nl> <20191002154922.7f1cfc76@coco.lan> <20191003081742.0933264b@coco.lan> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, 3 Oct 2019 13:41:23 +0200 Gonsolo escreveu: > Hi! > > > It means that there's a firmware stored at the device's eeprom > > (version 4.0.2). When the driver starts, it downloads a newer firmware > > from the file dvb-demod-si2168-b40-01.fw. > > Thanks for the explanation. > > > Btw, could you please try the enclosed hack and post the results? > > Will do in a second. > > FWIW, this hack worked: > > diff --git a/drivers/media/tuners/si2157.c b/drivers/media/tuners/si2157.c > index e87040d6eca7..28a3a4f1640e 100644 > --- a/drivers/media/tuners/si2157.c > +++ b/drivers/media/tuners/si2157.c > @@ -136,6 +136,7 @@ static int si2157_init(struct dvb_frontend *fe) > #define SI2147_A30 ('A' << 24 | 47 << 16 | '3' << 8 | '0' << 0) > #define SI2146_A10 ('A' << 24 | 46 << 16 | '1' << 8 | '0' << 0) > #define SI2141_A10 ('A' << 24 | 41 << 16 | '1' << 8 | '0' << 0) > + #define GONZO (255 << 24 | 255 << 16 | 255 << 8 | 255 << 0) > > switch (chip_id) { > case SI2158_A20: > @@ -148,6 +149,10 @@ static int si2157_init(struct dvb_frontend *fe) > case SI2177_A30: > fw_name = SI2157_A30_FIRMWARE; > break; > + case GONZO: > + dev_info(&client->dev, "trying null\n"); > + fw_name = NULL; > + break; > case SI2157_A30: > case SI2147_A30: > case SI2146_A10: What does it print with this hack? Also, could you get the SI version after the reset code at skip_fw_download, just after retrieving si2157 firmware version? Thanks, Mauro