Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp164480ybn; Thu, 3 Oct 2019 03:16:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqzwjseVj3+GULw1Op517kGKn4JvZqxpFZcmyiiKicCLZRnGtpTUyWztcD+Cq3H5h8D6oQs3 X-Received: by 2002:a50:ab49:: with SMTP id t9mr8441893edc.301.1570097814820; Thu, 03 Oct 2019 03:16:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570097814; cv=none; d=google.com; s=arc-20160816; b=yiHmYyfn0A4w/5xB0nwqFKR5oHHWqju0upCqnrWzUrIao5ERXpvdPO9/LXFH38dTez qi5x8dzAV0b8Z4hZQObms6biCQOlDhcO9dJ/lvPpPxJiYPodFm50Mvh7G5BykBMIprC7 J278UF6/ZbXyGPmXsYyVWxOwtsN5NUVL6NKMa0HBUBpSNfbssFz/bLnYLxCdcmJ7/lpN NqLqGqf+P5HHbudC85hzV7ppnLZoGiCWpwJjt5LjHo/l/hj0YdHhAiRU9hSdzVTHUIuY lZx8hHi6h6tayCwnFqkQEb+feB4JPftNpVfoZaMst5mBcZmUZe68pdNW9mfMok7DKVoW nY+g== 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=zRmRJN8gbGe7JsDiP8BYKFBP5BEQqwbz/PHKZujLW60=; b=AFTc+CwnIZ3iK0gHJsyExlgB3HodTD4coxWww4Fz13PqQ6VNYt3IUMb/nnak8N7Y5A xqawO0qbTZz61Hp8DPK76UzoaDQr1RzsHHORYiGlSYHGFdI0Uc61p6zMioArTvvZDvHc meYon0k9HB6BfhEU0M5mQgF2OoO2fZeeKoFR8WltnD3epHn6D24d4ySg/HAoxa17cLhP c/B1xPK1NCrcVGFVxosVS7EwvuzcBRAeXb2PtyTIkNL9z1t+/61j+svM13y20zGM3lTv 1r/9c4xZtdw/f9nUis7EFCOSpvGSE2Efe8gWwvDhAqulWOpfFuoS5SH7b6oydhCfVwwT sXzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="epPG/mem"; 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 n14si1035217edv.377.2019.10.03.03.16.27; Thu, 03 Oct 2019 03:16:54 -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="epPG/mem"; 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 S1728646AbfJCKNq (ORCPT + 99 others); Thu, 3 Oct 2019 06:13:46 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:38715 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725827AbfJCKNp (ORCPT ); Thu, 3 Oct 2019 06:13:45 -0400 Received: by mail-qt1-f194.google.com with SMTP id j31so2770945qta.5; Thu, 03 Oct 2019 03:13:45 -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=zRmRJN8gbGe7JsDiP8BYKFBP5BEQqwbz/PHKZujLW60=; b=epPG/membyZKgagNXMf0uJWB8XjF81/2Dwq/im/BdTqSFTPsQBLQfrNivaoTa9NmOF dsg6R0r4b1+vf8DQZ0n/0ZjUYSkR9aVR1wUIliI3cQ5ggBIzQdJtixMwpMispp0X0+qa tKMN2ehB5fEi1rAf2abpSDiq+0Nbwp6kM03xVFrVOPV86UqoaRNHRM/D8bVcPbHfJBrK 0kGnC8k2qTAwpCbsnkkEXz7bTc8OPm9UPqUjsdKaRsTWvDsd7b5t4u6oUiq0ZxSWADf6 F6Bis1quh2lth1GiFc5eE12C7aOb2h3foKMok3ldmOKYgToc94REhv43Z7tEbi2J8hfL AndQ== 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=zRmRJN8gbGe7JsDiP8BYKFBP5BEQqwbz/PHKZujLW60=; b=hfW3tw9Ap3gBh+Bdg2Nt/W1cu01hP8UksW/9uVSbL64krH7HiNHq6yQiHQirTO2282 FOs+69wyj95GSxPx1zAy3Uokm06ssoxxvIp7neZGko5ipML07k35MQrIlaCXct0u0cj4 JyjGEn66qRhcN8U2weBzLZ34o6CzSIZtNxeRvg9imEJLgpgqpYmcIFYxpFKn0sm/bQWl lZNd1Taf4H7IG5E7+boLGhg+1MIUDm20Ht7zgH+k6Yt2PsK5SGg36Z9uNlx8E4lcVPHE F9E5O0racxnYvLj3hbDsxzwg1rMwWFXU7Agw5aDU3DCd5wY4T3UsaAsdYHurZvNlLR/C JoYA== X-Gm-Message-State: APjAAAUP/SK6/T0TYRlt+60O/d7PebBXWr1Ycfbb9pBXWL86gWtetjWv ZsNKLlRt6ivf/L1CsZkN1irqlfH8ogO58dPsIx+Vg/Mi80A= X-Received: by 2002:ac8:4712:: with SMTP id f18mr4241086qtp.313.1570097624646; Thu, 03 Oct 2019 03:13:44 -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> In-Reply-To: <20191002154922.7f1cfc76@coco.lan> From: Gonsolo Date: Thu, 3 Oct 2019 12:13:33 +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! > Could you please test the enclosing patch and see if, with that, you > can remove the hacks you added for the tuner probe to work? I tested again on a vanilla media_tree with Mauro's patch attached. Doesn't work. Dmesg output: [ 0.788387] kernel: usb 1-1: new high-speed USB device number 2 using ehci-pci [ 0.792384] kernel: usb 2-1: new high-speed USB device number 2 using xhci_hcd [ 0.944937] kernel: usb 2-1: New USB device found, idVendor=1d19, idProduct=0100, bcdDevice= 1.00 [ 0.944939] kernel: usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 0.944940] kernel: usb 2-1: Product: TS Aggregator [ 0.944941] kernel: usb 2-1: Manufacturer: ITE Tech., Inc. [ 0.944942] kernel: usb 2-1: SerialNumber: AF0102020700001 I then also used the following (additional) patch: @@ -2119,6 +2122,8 @@ static const struct usb_device_id af9035_id_table[] = { /* IT930x devices */ { DVB_USB_DEVICE(USB_VID_ITETECH, USB_PID_ITETECH_IT9303, &it930x_props, "ITE 9303 Generic", NULL) }, + { DVB_USB_DEVICE(USB_VID_DEXATEK, 0x0100, + &it930x_props, "Logilink VG0022A", NULL) }, { DVB_USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_TD310, &it930x_props, "AVerMedia TD310 DVB-T2", NULL) }, { } Which gives the following output: [ 5.380989] si2168 1-0067: Silicon Labs Si2168-B40 successfully identified [ 5.380991] si2168 1-0067: firmware version: B 4.0.2 [ 5.381013] usb 2-1: DVB: registering adapter 0 frontend 0 (Silicon Labs Si2168)... [ 5.381018] dvbdev: dvb_create_media_entity: media entity 'Silicon Labs Si2168' registered. [ 5.390058] checking generic (e0000000 410000) vs hw (e0000000 10000000) [ 5.390062] fb0: switching to inteldrmfb from EFI VGA [ 5.390268] Console: switching to colour dummy device 80x25 [ 5.390281] i915 0000:00:02.0: vgaarb: deactivate vga console [ 5.393438] si2157 2-0063: Silicon Labs Si2147/2148/2157/2158 successfully attached But when I try to use VLC I get the following: [ 457.677363] si2168 1-0067: downloading firmware from file 'dvb-demod-si2168-b40-01.fw' [ 458.631034] si2168 1-0067: firmware version: B 4.0.11 [ 458.650309] si2157 2-0063: unknown chip version Si21255-\xff\xff\xff Now I'm trying other timings. Thanks, g