Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp254028ybn; Thu, 3 Oct 2019 04:43:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqzRama745aHYCwfOsLySQ73F4gA5LEKs7YEafqe2QiQpe1EBpwHjJvVLGgYnEETy79bSAZ1 X-Received: by 2002:a17:906:e92:: with SMTP id p18mr7337531ejf.308.1570102984222; Thu, 03 Oct 2019 04:43:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570102984; cv=none; d=google.com; s=arc-20160816; b=Kbem8mQwDdtWFY0i+u4G6F5N+w5uVXUysNDs1fi2RhXJBdba1wZ2TD6pDA13183QcX 1F7bxVn366DaFCIb9dtj/tzyJAmePFiiHiSVytu93UuTeQq+cWaartB3Wl2qmPn0QQDV yWT+Qtu2KGa4BuUOiZBnZBDY2QBANk9PfSzHQA+OIGAt13lKSAwIar+tMeEN6FAQeIf8 /QKb8ZIzRccPArXulfpG4eFBQfytMzvl3svZXrILeEioKpY7DisXpg+dzbcO6NoK0a6r n5ezpgAvWqqnnkvxh8eNFiqIcGxqtxUK6RmVlayy1+Pwlaz12KS3JCAdjNu+w8qyKvgo +Hig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=d2hb3oZ6qBYZenVNAUBLjwu+KkhMaugCRDxlPNc+K5A=; b=HGEfqIUDmdTNIyp9ga++794MVFFAjjycpG+hN1ZxrJrjV4LpAOqCjj/Li0j79AJDd6 bMwSkL8AQybNW6vbPiMu0/4K1hd8nqoSux2lQRhtOB05HzG1+4xyol1smuiMkGLc4zpr 5MHl3ps/pUnFs0b86eFJqLdzGUDdB8V3qorC4gHDfh0FoIxLT1yJ+TWFEzn3qUTbXrlR Q+F5tSeIIqCvT8Jzcxe9ul1DVPDSIr64T/VWviq71ZJSmeTxRl10ToW95IHsir3yTV60 UXdwNbs4NsX5KcjdKfsdcwdeSxNzPofkFPdYvhbtwYnoDP0iVmT+3P1MR1/+egRMDq3/ qKxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NGWKYS9Q; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fj16si1058341ejb.385.2019.10.03.04.42.39; Thu, 03 Oct 2019 04:43:04 -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=pass header.i=@gmail.com header.s=20161025 header.b=NGWKYS9Q; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730165AbfJCLli (ORCPT + 99 others); Thu, 3 Oct 2019 07:41:38 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:45680 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729820AbfJCLlh (ORCPT ); Thu, 3 Oct 2019 07:41:37 -0400 Received: by mail-lj1-f196.google.com with SMTP id q64so2310251ljb.12; Thu, 03 Oct 2019 04:41:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=d2hb3oZ6qBYZenVNAUBLjwu+KkhMaugCRDxlPNc+K5A=; b=NGWKYS9QHRqVrfvkO1Dh1XqZFGKQSGJ2snuNrVQ6ruUsg6QO3E6KMTxpF/MLHe2Z8F iVFLCvrfxfsYTTzhPOPc1jrdzY0eNeRkmhsA0hVSx737SLxh6Zv21pK9Ep8bcDn8/unl AcgI5gzRaDZuTZhIa/t7Nh+IYxIoz0ll7Fz3cq0O+jeYX1nHByF7MMgtvCUuL8UYuc2M SHgACtnpO3nQqx7k3RR6Gkfed57TojRCejjFp98g5tqsQmZ+1oxX4sEfvMIPNjAMpTDg VqAU0Txb7s0SJfU7gyJ9qlZYYWP+KgrwUcD1/+NgccwX72gS+wU3I5JW6mq7BgthjPcw Gv8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=d2hb3oZ6qBYZenVNAUBLjwu+KkhMaugCRDxlPNc+K5A=; b=Ke3fR1QdRc4E2CrdBLUlJr5uLLbksgIVYafAnl4ntm0aCdB/ff8R2m0CSvJ3CaWWIk IB8rsUBvySTAm/HG2XjPxyb/kUsIjpuMI2/PMycEc7x6WuCRH5OIxWpITT/QXcx0mEQQ vo9brLI+6o6e87O7HkmAmxiGm8c/LI4FpbzOBCUJxMIofozfUdvgaAFTe4szE/ZvzRf2 OG45BkWWgH/bR/k1jG2n4UUJx+2esDuQeCfEIYMyLF5kP5gHzptyCVvbfZ8hCgXp68Tp XwJHGXwF9WpN4ApjaK+8lq4BJsWX2ffo1zf0FSv4iElv1DFauKkWASrEOYRWLTTG2Cpc M4Mg== X-Gm-Message-State: APjAAAVHD9npUnR093gsPG6cUQfbde66b0nYFE1vlosQtrwDgDdFzHu7 TC+Xkp4nzg15rVmk8spm866Z6+BLW7Cl0f9aqAxh7ad6hh4= X-Received: by 2002:a2e:5418:: with SMTP id i24mr5547908ljb.126.1570102895089; Thu, 03 Oct 2019 04:41:35 -0700 (PDT) MIME-Version: 1.0 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> In-Reply-To: <20191003081742.0933264b@coco.lan> From: Gonsolo Date: Thu, 3 Oct 2019 13:41:23 +0200 Message-ID: Subject: Re: [PATCH] si2157: Add support for Logilink VG0022A. To: Mauro Carvalho Chehab Cc: JP , crope@iki.fi, Sean Young , linux-media@vger.kernel.org, Linux Kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: