Return-path: Received: from mail-vw0-f192.google.com ([209.85.212.192]:41372 "EHLO mail-vw0-f192.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933320AbZJaXJD convert rfc822-to-8bit (ORCPT ); Sat, 31 Oct 2009 19:09:03 -0400 Received: by vws30 with SMTP id 30so957645vws.33 for ; Sat, 31 Oct 2009 16:09:07 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Sat, 31 Oct 2009 16:09:07 -0700 Message-ID: Subject: Re: Genpix driver is broken (no 8psk lock). Here's why & how to fix. From: VDR User To: linux-media Cc: Alan Nisota , Patrick Boettcher Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-media-owner@vger.kernel.org List-ID: On Wed, Sep 23, 2009 at 10:55 AM, VDR User wrote: > Over a month ago I reported a problem with a change that was made to > the Genpix driver which broke 8PSK.  The change limited DVB-S streams > to QPSK and 8PSK to DVB-S2.  There are a couple problems with this. > First of all, Genpix devices do NOT support DVB-S2 but pretends to for > access to 8PSK.  Secondly, the 8PSK the Genpix provides is modified, > aka 8PSK turbo-fec.  Two of the biggest North American DVB-S providers > use 8PSK turbo-fec for a lot of their content.  Therefore, limiting > DVB-S to QPSK only is crippling reception of all those providers > transponders which use it. > > Ideally 8PSK should be allowed for DVB-S in v4l so that a device like > the Genpix doesn't have to pretend to be something it's not to use it. >  While I seriously doubt that will be fixed, this problem can still be > resolved by simply reverting back to the drivers original behavior > with the following patch: > > diff -pruN v4l-dvb.orig/linux/drivers/media/dvb/dvb-usb/gp8psk-fe.c > v4l-dvb/linux/drivers/media/dvb/dvb-usb/gp8psk-fe.c > --- v4l-dvb.orig/linux/drivers/media/dvb/dvb-usb/gp8psk-fe.c > 2009-08-14 19:17:43.000000000 -0700 > +++ v4l-dvb/linux/drivers/media/dvb/dvb-usb/gp8psk-fe.c 2009-08-14 > 19:19:18.000000000 -0700 > @@ -146,8 +146,8 @@ static int gp8psk_fe_set_frontend(struct > >        switch (c->delivery_system) { >        case SYS_DVBS: > -               /* Only QPSK is supported for DVB-S */ > -               if (c->modulation != QPSK) { > +               /* Allow QPSK and 8PSK */ > +               if (c->modulation != QPSK && c->modulation != PSK_8) { >                        deb_fe("%s: unsupported modulation selected (%d)\n", >                                __func__, c->modulation); >                        return -EOPNOTSUPP; > Now another month has passed and this problem still has not been fixed. Please do so! Best regards, Derek