From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ww0-f44.google.com ([74.125.82.44]:35789 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758120Ab2AMNJi (ORCPT ); Fri, 13 Jan 2012 08:09:38 -0500 Received: by wgbds12 with SMTP id ds12so3055536wgb.1 for ; Fri, 13 Jan 2012 05:09:36 -0800 (PST) Message-ID: <4F102D0F.3010408@gmail.com> Date: Fri, 13 Jan 2012 13:09:35 +0000 From: Jim Darby MIME-Version: 1.0 To: Mauro Carvalho Chehab CC: gennarone@gmail.com, linux-media@vger.kernel.org Subject: Re: Possible regression in 3.2 kernel with PCTV Nanostick T2 (em28xx, cxd2820r and tda18271) References: <4F0C3D1B.2010904@gmail.com> <4F0CE040.7020904@iki.fi> <4F0DE0C2.5050907@gmail.com> <4F0F08DB.4050301@gmail.com> <4F1013CD.10104@redhat.com> In-Reply-To: <4F1013CD.10104@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: On 13/01/12 11:21, Mauro Carvalho Chehab wrote: > Hmm... this patch shouldn't be causing troubles for an application that > only uses DVBv3 call. Is Kaffeine filling the DTV_DELIVERY_SYSTEM with > SYS_UNDEFINED (0)? I think this is perhaps where (some of) our problems are starting. I just looked at the kaffeine source code and, as far as I can make out, DTV_DELIVERY_SYSTEM is filled out by performing a FE_SET_PROPERTY ioctl with a key/value pair of something like DTV_DELIVERY_SYSTEM/SYS_DVBS2 (amongst other parameters). The issue here is that kaffeine *only* performs any sort of FE_SET_PROPERTY ioctl for DVB-S2. It certainly doesn't for any form of DVB-T (2 or original). It would therefore appear that kaffeine is committing a sin of omission in not setting the front-end properties and hence we have this problem. Mauro, if you can confirm that this is the case and that with the latest linux-media drivers performing the FE_SET_PROPERTY ioctl is mandatory then I can work with the kaffeine developers and get this fixed. For reference, the existing kaffeine works with the stock 3.2.0 kernel. It's just the linux-media from linux-tv.org that breaks it. Many thanks, Jim.