Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp884282imu; Tue, 20 Nov 2018 08:21:43 -0800 (PST) X-Google-Smtp-Source: AFSGD/WTYJTiV1/OVU4kUxL298Yxy++EoAoW/Nf9PXy+pxcUlzQMD0DrajBANJWIURRwozl6UMvX X-Received: by 2002:a63:65c7:: with SMTP id z190mr2464817pgb.249.1542730903885; Tue, 20 Nov 2018 08:21:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542730903; cv=none; d=google.com; s=arc-20160816; b=G3xkoWcaQUEgzWs3W0Z+KgjZP9wAromPRPcO2YVHTvTlbBSn5VLbxuW+HSATMhLwYs Dml73rg8aGWUX08oPBe30QjVpgy5Tf+j9CaKAINygDPrmTwD9hpGtZOwIeDEoJVja4Ch ag+CKDCsAueGFVYlwMw+dtZ/0RssUNDFZVcPTsrj8QWi7nWeTlietvEbuh5++AAGY9iA cgWEnVCUZLM5Nr3n2Bl8/KoodBqEILyGm/AAss2KXn3vgkObfENV+ju1zRCyROu+X2Wy JF8+gWsRymjaDqCtfF6SamcmdCIJGasKBwMtNEsADK1FnXe2NDawTo6Dwtzp+pvM+vqA NxTA== 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=UZHF8FWRwucZQMI5abLc6Uzf+K2b/3hppgounHYFhJQ=; b=iADnF9LJzWxy45w5Tu5CjHAlCSyD9rhsFjzV8p9SVYzg6qHWrwEPQHxqdL22iQ3c7u +UlIvfecqW4S0qKLeodArx9b3UsTvneHR/FlQfQ8FYAUqlxAFDMigO5tTlTl64OwtZLc E9oJZQGCocqsuVJGB7k3+iWPT8arCNSKZGiibXfuhm6njY0ts7mwrHrEfvOwAhBS2hUZ 7UCqztsb2ozsuZ4pnkAxMKjmlHUwGTuwuVVA38TkxEVYyLiPjCGVMTWf3su0uMk6aHaL oL7UGWv1zgpo5EMmXQJw/IsjxOzqbNTlGlnlj5VjxznhnK0NlWDrv6xaL6uWM416Ml/0 TVoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=BPJCZqUB; 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 y141si21726168pfc.180.2018.11.20.08.21.28; Tue, 20 Nov 2018 08:21:43 -0800 (PST) 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=casper.20170209 header.b=BPJCZqUB; 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 S1727279AbeKUCiz (ORCPT + 99 others); Tue, 20 Nov 2018 21:38:55 -0500 Received: from casper.infradead.org ([85.118.1.10]:54460 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725887AbeKUCiz (ORCPT ); Tue, 20 Nov 2018 21:38:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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=UZHF8FWRwucZQMI5abLc6Uzf+K2b/3hppgounHYFhJQ=; b=BPJCZqUB2L+JJwQEom1KOgrKud N7eQL6y4v62FUFfmU7osBYHT+EyC5GYy/nn5U2neqzcCQokPAhPELYfYwxip8PsOuCSE+SoQAQ7QU 11i5jphZ2KjaisMh7pNVY6FvC1Zq4lv+g4KaBRZZkTLLjmayaAR2Oxe2oQS8DUqL7Cfp7CYM9WdHM v9h2toUYotIalNSd1aEfVMQumEl7PVxKVwEBpjUp7A0iU+SVFCmz8yGGRn2+Q2UOaDtWXc8MG7DMX UyrM9c/uTU1OdAcoG4BJrMSopbzGM+3eChnzNIXXEu/dR9AaqGdOwNTMR9XP8uOEIz9L2lsdHYsAr 7G0UqDWg==; Received: from [177.157.76.226] (helo=coco.lan) by casper.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gP8aC-0008V3-7Y; Tue, 20 Nov 2018 16:09:00 +0000 Date: Tue, 20 Nov 2018 14:08:55 -0200 From: Mauro Carvalho Chehab To: stakanov Cc: Takashi Iwai , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: DVB-S PCI card regression on 4.19 / 4.20 Message-ID: <20181120140855.29f5dc3f@coco.lan> In-Reply-To: <1593929.t9Y74Rdlh1@roadrunner.suse> References: <4e0356d6303c128a3e6d0bcc453ba1be@mail.eclipso.de> <20181120104217.5b487bcd@coco.lan> <1593929.t9Y74Rdlh1@roadrunner.suse> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, 20 Nov 2018 14:20:01 +0100 stakanov escreveu: > In data marted=C3=AC 20 novembre 2018 13:42:17 CET, Mauro Carvalho Chehab= ha=20 > scritto: > > Em Tue, 20 Nov 2018 13:11:58 +0100 > >=20 > > "Stakanov Schufter" escreveu: =20 > > > Sorry for the delay. Apparently my smtp exits are blocking me (for > > > whatever reason). I am trying now via web mailer. > > >=20 > > >=20 > > > In short, no it does not work. Only EPG, no pic no sound. > > > But the error message in dmesg is gone I think. > > >=20 > > > uname -a > > > Linux silversurfer 4.20.0-rc3-2.gfe5d771-default #1 SMP PREEMPT Tue N= ov 20 > > > 09:35:04 UTC 2018 (fe5d771) x86_64 x86_64 x86_64 GNU > > >=20 > > > dmesg: > > >=20 > > > [ 6.412792] b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV rece= iver > > > chip loaded successfully > > > [ 6.416645] flexcop-pci: will use the HW PID filter. > > > [ 6.416648] flexcop-pci: card revision 2 > > > [ 6.423749] scsi host10: usb-storage 9-3.1:1.0 > > > [ 6.423842] usbcore: registered new interface driver usb-storage > > > [ 6.426029] usbcore: registered new interface driver uas > > > [ 6.439251] dvbdev: DVB: registering new adapter (FlexCop Digital = TV > > > device) > > > [ 6.440845] b2c2-flexcop: MAC address =3D 00:d0:d7:11:8b:58 > > >=20 > > > [ 6.694999] dvb_pll_attach: delsys: 0, frequency range: > > > 950000000..2150000000 > > > [ 6.695001] b2c2-flexcop: found 'ST STV0299 DVB-S' . > > > [ 6.695004] b2c2_flexcop_pci 0000:06:06.0: DVB: registering adapte= r 0 > > > frontend 0 (ST STV0299 DVB-S)... > > > [ 6.695050] b2c2-flexcop: initialization of 'Sky2PC/SkyStar 2 DVB-= S rev > > > 2.6' at the 'PCI' bus controlled by a 'FlexCopIIb' complete =20 > >=20 > > Well, the Kernel bug is probably gone. I don't see any other recent > > changes that would be affecting the b2c2 flexcop driver. > >=20 > > If you're successfully getting EPG data from the transponders, then it > > should also be receiving audio and video channels too, as, for the Kern= el, > > there's no difference if a given program ID (PID) contains EPG, audio or > > video. > >=20 > > At the BZ, you're saying that you're using Kaffeine, right? > >=20 > > There are a few reasons why you can't watch audio/video, but you're > > able to get EPG tables: > >=20 > > - the audio/video PID had changed; > > - the audio/video is now encrypted; > > - too weak signal (or bad cabling). > >=20 > > The EPG data comes several times per second on well known PIDs, via a l= ow > > bandwidth PID and it is not encrypted. So, it is usually trivial to get > > it. > >=20 > > I suggest you to re-scan your channels on Kaffeine, in order to force > > it to get the new PIDs. Also, please check that the channels you're > > trying to use are Free to the Air (FTA). > >=20 > > You can also use libdvbv5 tools in order to check if you're not > > losing data due to weak signal/bad cabling. The newer versions > > of dvbv5-zap have a logic with detects and report data loses, when > > started on monitor mode (-m command line option). It also prints > > the transponder bandwidth, and check what PIDs are received. > >=20 > > It is very useful to debug problems. > >=20 > > Thanks, > > Mauro =20 >=20 > I checked again and: > [sudo] password di root:=20 > [ 6.412792] b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver= chip=20 > loaded successfully > [ 6.440845] b2c2-flexcop: MAC address =3D 00:d0:d7:11:8b:58 > [ 6.695001] b2c2-flexcop: found 'ST STV0299 DVB-S' . > [ 6.695004] b2c2_flexcop_pci 0000:06:06.0: DVB: registering adapter 0= =20 > frontend 0 (ST STV0299 DVB-S)... > [ 6.695050] b2c2-flexcop: initialization of 'Sky2PC/SkyStar 2 DVB-S re= v=20 > 2.6' at the 'PCI' bus controlled by a 'FlexCopIIb' complete > [ 6265.403360] b2c2_flexcop_pci 0000:06:06.0: DVB: adapter 0 frontend 0=20 > frequency 10719000 out of range (950000..2150000) > [ 6265.405702] b2c2_flexcop_pci 0000:06:06.0: DVB: adapter 0 frontend 0=20 > frequency 10723000 out of range (950000..2150000) > [ 6265.407120] b2c2_flexcop_pci 0000:06:06.0: DVB: adapter 0 frontend 0=20 > frequency 10757000 out of range (950000..2150000) > [ 6265.408556] b2c2_flexcop_pci 0000:06:06.0: DVB: adapter 0 frontend 0=20 > frequency 10775000 out of range (950000..2150000) > [ 6265.409754] b2c2_flexcop_pci 0000:06:06.0: DVB: adapter 0 frontend 0=20 > frequency 10795000 out of range (950000..2150000) > [ 6399.837806] b2c2_flexcop_pci 0000:06:06.0: DVB: adapter 0 frontend 0=20 > frequency 12713000 out of range (950000..2150000) > [ 6399.839144] b2c2_flexcop_pci 0000:06:06.0: DVB: adapter 0 frontend 0=20 > frequency 12731000 out of range (950000..2150000) Ok. Now, min/max frequencies are at the same scale. For DVB-S,=20 dvb_frontend_get_frequency_limits() returns both in kHz, so the frequency range is now OK. The tuning frequency is wrong through. 10,719,000 kHz - e. g. 10,719 MHz seems to be the transponder frequency you're trying to tune, and not the intermediate frequency used at the DVB-S board. That sounds to me either a wrong LNBf setting or a bug at libdvbv5 or at Kaffeine's side. What happens is that the typical European LNBFs are: 1) the "old" universal one: UNIVERSAL Universal, Europe Freqs : 10800 to 11800 MHz, LO: 9750 MHz Freqs : 11600 to 12700 MHz, LO: 10600 MHz 2) the "new" universal one, with seems to be used by most modern satellite dishes in Europe nowadays: EXTENDED Astra 1E, European Universal Ku (extended) Freqs : 10700 to 11700 MHz, LO: 9750 MHz Freqs : 11700 to 12750 MHz, LO: 10600 MHz Assuming that your satellite dish is equipped with an Astra-1E compatible LNBf, as you're trying to tune 10,719 MHz, you need to setup Kaffeine to use the EXTENDED LNBf, with covers the extended frequency range. Kaffeine/libdvbv5 will subtract this value from the LO frequency: 10719 MHz - 9750 MHz =3D 969 MHz And pass the 969 MHz frequency for the Kernel to tune. As this is between the 950MHz..2150MHz limit, it won't produce any Kernel messages. Please notice that there were some bugs at v4l-utils and DVB-S/S2, so be sure to check the v4l-utils version you're using. The last one is 1.14.2 (released on Feb, 10 2018). I recommend you to have at least version 1.12.4 (released on May, 6 2017). Thanks, Mauro