All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [git:v4l-dvb/master] V4L/DVB: Add FE_CAN_PSK_8 to allow apps to identify PSK_8 capable DVB devices
       [not found] <E1O4Rsq-0006zj-NH@www.linuxtv.org>
@ 2010-04-21  7:58 ` Andreas Oberritter
  2010-04-21  8:46   ` [linux-media] " Klaus Schmidinger
  2010-04-21 14:34   ` Mauro Carvalho Chehab
  0 siblings, 2 replies; 3+ messages in thread
From: Andreas Oberritter @ 2010-04-21  7:58 UTC (permalink / raw)
  To: Mauro Carvalho Chehab via Mercurial
  Cc: linux-media, manu, user.vdr, Klaus.Schmidinger

Hello Mauro,

Mauro Carvalho Chehab wrote:
> Subject: V4L/DVB: Add FE_CAN_PSK_8 to allow apps to identify PSK_8 capable DVB devices
> Author:  Klaus Schmidinger <Klaus.Schmidinger@tvdr.de>
> Date:    Sun Apr 11 06:12:52 2010 -0300

I wonder why this patch was applied without any modification. It seems
like, as Manu pointed out, the flag should really indicate support for
Turbo-FEC modes rather than just 8PSK (which is already a subset of
FE_CAN_2G_MODULATION).

Btw., there is also no FE_CAN_APSK_16, FE_CAN_APSK_32 or FE_CAN_DQPSK.

Also, I'm unsure how to instruct a driver whether to choose Turbo-FEC
mode or not in case it supports both DVB-S2 and what's used in the US.

Third, it was stated that cx24116's support for Turbo-FEC was untested
and probably unsupported.

So I'd vote for reverting this patch until these issues are cleared.

If my assumptions above are correct, my proposal is to rename the flag
 to FE_CAN_TURBO_FEC (as Manu proposed earlier) and remove it from
cx24116.c.

Regards,
Andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-media] Re: [git:v4l-dvb/master] V4L/DVB: Add FE_CAN_PSK_8 to allow apps to identify PSK_8 capable DVB devices
  2010-04-21  7:58 ` [git:v4l-dvb/master] V4L/DVB: Add FE_CAN_PSK_8 to allow apps to identify PSK_8 capable DVB devices Andreas Oberritter
@ 2010-04-21  8:46   ` Klaus Schmidinger
  2010-04-21 14:34   ` Mauro Carvalho Chehab
  1 sibling, 0 replies; 3+ messages in thread
From: Klaus Schmidinger @ 2010-04-21  8:46 UTC (permalink / raw)
  To: linux-media

On 04/21/10 09:58, Andreas Oberritter wrote:
> Hello Mauro,
> 
> Mauro Carvalho Chehab wrote:
>> Subject: V4L/DVB: Add FE_CAN_PSK_8 to allow apps to identify PSK_8 capable DVB devices
>> Author:  Klaus Schmidinger <Klaus.Schmidinger@tvdr.de>
>> Date:    Sun Apr 11 06:12:52 2010 -0300
> 
> I wonder why this patch was applied without any modification. It seems
> like, as Manu pointed out, the flag should really indicate support for
> Turbo-FEC modes rather than just 8PSK (which is already a subset of
> FE_CAN_2G_MODULATION).
> 
> Btw., there is also no FE_CAN_APSK_16, FE_CAN_APSK_32 or FE_CAN_DQPSK.
> 
> Also, I'm unsure how to instruct a driver whether to choose Turbo-FEC
> mode or not in case it supports both DVB-S2 and what's used in the US.
> 
> Third, it was stated that cx24116's support for Turbo-FEC was untested
> and probably unsupported.
> 
> So I'd vote for reverting this patch until these issues are cleared.
> 
> If my assumptions above are correct, my proposal is to rename the flag
>  to FE_CAN_TURBO_FEC (as Manu proposed earlier) and remove it from
> cx24116.c.

That's what I was intending to do - time permitting ;-)
I was also surprised that the patch got applied, since I was in the
middle of discussing this with Manu...

Klaus

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [git:v4l-dvb/master] V4L/DVB: Add FE_CAN_PSK_8 to allow apps to identify PSK_8 capable DVB devices
  2010-04-21  7:58 ` [git:v4l-dvb/master] V4L/DVB: Add FE_CAN_PSK_8 to allow apps to identify PSK_8 capable DVB devices Andreas Oberritter
  2010-04-21  8:46   ` [linux-media] " Klaus Schmidinger
@ 2010-04-21 14:34   ` Mauro Carvalho Chehab
  1 sibling, 0 replies; 3+ messages in thread
From: Mauro Carvalho Chehab @ 2010-04-21 14:34 UTC (permalink / raw)
  To: Andreas Oberritter; +Cc: linux-media, manu, user.vdr, Klaus.Schmidinger

Andreas Oberritter wrote:
> Hello Mauro,
> 
> Mauro Carvalho Chehab wrote:
>> Subject: V4L/DVB: Add FE_CAN_PSK_8 to allow apps to identify PSK_8 capable DVB devices
>> Author:  Klaus Schmidinger <Klaus.Schmidinger@tvdr.de>
>> Date:    Sun Apr 11 06:12:52 2010 -0300
> 
> I wonder why this patch was applied without any modification. It seems
> like, as Manu pointed out, the flag should really indicate support for
> Turbo-FEC modes rather than just 8PSK (which is already a subset of
> FE_CAN_2G_MODULATION).

It is partially due to Patchwork's fault, plus my hurry of trying to handle my long
queue after returning for a one week trip. Unfortunately, the patchwork xml support 
only provides the patch on the mbox format, stripping all the patch history, just 
like if you click at the <mbox> link on the patch:

	https://patchwork.kernel.org/patch/91888/mbox/

So, the patch comments appear as:

>From patchwork Sun Apr 11 09:12:52 2010
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: Add FE_CAN_PSK_8 to allow apps to identify PSK_8 capable DVB devices
Date: Sun, 11 Apr 2010 09:12:52 -0000
From: Klaus Schmidinger <Klaus.Schmidinger@tvdr.de>
X-Patchwork-Id: 91888
Message-Id: <4BC19294.4010200@tvdr.de>
To: linux-media@vger.kernel.org

The enum fe_caps provides flags that allow an application to detect
whether a device is capable of handling various modulation types etc.
A flag for detecting PSK_8, however, is missing.
This patch adds the flag FE_CAN_PSK_8 to frontend.h and implements
it for the gp8psk-fe.c and cx24116.c driver (apparently the only ones
with PSK_8). Only the gp8psk-fe.c has been explicitly tested, though.

Signed-off-by: Klaus Schmidinger <Klaus.Schmidinger@tvdr.de>
Tested-by: Derek Kelly <user.vdr@gmail.com>
Acked-by: Manu Abraham <manu@linuxtv.org>

I generally take a look at the full patch history at the email, but, as the last
tag was an ack, and no nacked-by: tags were added on the patch, I assumed that
the patch were fine to apply.

People should not add a formal "acked-by" tag if the patch is not ready
yet to be committed.

I've submitted an email to patchwork ML asking for they to fix this bad behavior.
Let's see if this could be corrected on newer versions of the tool.

> 
> Btw., there is also no FE_CAN_APSK_16, FE_CAN_APSK_32 or FE_CAN_DQPSK.
> 
> Also, I'm unsure how to instruct a driver whether to choose Turbo-FEC
> mode or not in case it supports both DVB-S2 and what's used in the US.
> 
> Third, it was stated that cx24116's support for Turbo-FEC was untested
> and probably unsupported.

Btw, the DocBook describing the FE_CAN features (frontend.xml) is outdated. I
suggest to add the remaining features there, to keep the specs updated.

> So I'd vote for reverting this patch until these issues are cleared.

Ok, I'll do it.

> If my assumptions above are correct, my proposal is to rename the flag
>  to FE_CAN_TURBO_FEC (as Manu proposed earlier) and remove it from
> cx24116.c.
> 
> Regards,
> Andreas


-- 

Cheers,
Mauro

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-21 14:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <E1O4Rsq-0006zj-NH@www.linuxtv.org>
2010-04-21  7:58 ` [git:v4l-dvb/master] V4L/DVB: Add FE_CAN_PSK_8 to allow apps to identify PSK_8 capable DVB devices Andreas Oberritter
2010-04-21  8:46   ` [linux-media] " Klaus Schmidinger
2010-04-21 14:34   ` Mauro Carvalho Chehab

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.