Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753573Ab3GAPsB (ORCPT ); Mon, 1 Jul 2013 11:48:01 -0400 Received: from mail-vb0-f49.google.com ([209.85.212.49]:64963 "EHLO mail-vb0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751665Ab3GAPr7 (ORCPT ); Mon, 1 Jul 2013 11:47:59 -0400 MIME-Version: 1.0 In-Reply-To: <20130701123512.04e0ab62.mchehab@redhat.com> References: <20130701075856.6e8daa98.mchehab@redhat.com> <20130701123512.04e0ab62.mchehab@redhat.com> Date: Mon, 1 Jul 2013 21:17:58 +0530 Message-ID: Subject: Re: [GIT PULL for v3.11] media patches for v3.11 From: Manu Abraham To: Mauro Carvalho Chehab Cc: Linus Torvalds , Andrew Morton , Linux Media Mailing List , Linux Kernel Mailing List , Zoran Turalija , Srinivas KANDAGATLA , Nicolas THERY , Divneil Rai WADHAWAN , Vincent ABRIOU , Alain VOLMAT Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3362 Lines: 97 On Mon, Jul 1, 2013 at 9:05 PM, Mauro Carvalho Chehab wrote: > Em Mon, 1 Jul 2013 16:37:58 +0530 > Manu Abraham escreveu: > >> Mauro, >> >> On Mon, Jul 1, 2013 at 4:28 PM, Mauro Carvalho Chehab >> wrote: >> > Hi Linus, >> > >> > Please pull from: >> > git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus >> > >> > For the media patches for Kernel v3.11. >> > >> >> > >> > Zoran Turalija (2): >> > [media] stb0899: allow minimum symbol rate of 1000000 >> > [media] stb0899: allow minimum symbol rate of 2000000 >> >> >> Somehow, I missed these patches; These are incorrect. Please revert >> these changes. >> Simply changing the advertized minima values don't change the search algorithm >> behaviour, it simply leads to broken behaviour. >> >> NACK for these changes. > > While this patch came from a sub-maintainer's tree, looking at its > history, the patch was proposed here: > https://linuxtv.org/patch/18341/ > Wherever it came from, the patch is incorrect. Anyone can throw in any patch as they want. > From what it is said there, with this patch, 6 additional channels > were discovered when using with Eutelsat 16A, that uses a symbol > rate between 2MS/s to 5 MS/s. Without this patch, those channels won't > be discovered, as the core won't try to use a symbol rate outside > the range. What you are stating is a hit and miss scenario, sometimes it might lock and sometimes it wouldn't. The scanning algorithm that I implemented for the demodulator works with a symbol rate as low as 5 MSPS alone. Anything lower than that is hit and miss. > Of course, transponders with a symbol rate equal or upper than 5MS/s > won't be affected by this patch. > How can you be sure ? I myself am not very sure. While we worked on the demodulator in the early days, we had different situations where a previous failed state could cause lockup of the demodulator, eventually resulting tuning failures. > Even if this is not a perfect patch and some changes would be > needed to improve tuning for those low symbol rate transponders, > it seems better than before, as at least now some channels are tuned. > > The only reason I can see to reverse this patch is that if setting > the frontend to low bit ranges could damage the frontend or could > hit some bug on the hardware (or internal firmware). > > Yet, from the datasheet pointed by the patch author, it seems that > this frontend allows such low symbol rates: > http://comtech.sg1002.myweb.hinet.net/pdf/dvbs2-6899.pdf The frontend allows a different lower symbol rate with a different scanning algorithm, not with this existing current one. I am pretty sure, that author saw some specifications written some place and simply copied those numbers in here. Also sure that he has no idea about the algorithm in use. According to ST itself, a 2MSPS algorithm was created for a very specific customer requirement, which is not applicable to the existing algorithm in use with the Linux STB0899 demodulator driver. Regards, Manu -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/