From patchwork Sat Jan 26 19:05:22 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Morfsta X-Patchwork-Id: 12589 Received: from hs-out-0708.google.com ([64.233.178.243] helo=hs-out-2122.google.com) by www.linuxtv.org with esmtp (Exim 4.63) (envelope-from ) id 1JIqLG-00025s-G6 for vdr@linuxtv.org; Sat, 26 Jan 2008 20:05:26 +0100 Received: by hs-out-2122.google.com with SMTP id 54so1688553hsz.1 for ; Sat, 26 Jan 2008 11:05:23 -0800 (PST) Received: by 10.142.157.15 with SMTP id f15mr1838931wfe.16.1201374322247; Sat, 26 Jan 2008 11:05:22 -0800 (PST) Received: by 10.142.147.8 with HTTP; Sat, 26 Jan 2008 11:05:22 -0800 (PST) Message-ID: Date: Sat, 26 Jan 2008 19:05:22 +0000 From: Morfsta To: "VDR Mailing List" In-Reply-To: MIME-Version: 1.0 References: <20080125131809.GA7686@gmail.com> <20080125144726.GB7686@gmail.com> <20080125160535.GC7686@gmail.com> Subject: Re: [vdr] VDR-1.5.13 DVBS2 Autodetect Addon: Channel Not Available on DVBS2 Channels X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: VDR Mailing List List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jan 2008 19:05:26 -0000 Status: O X-Status: X-Keywords: X-UID: 15275 > Have a look at Gregoire's initial discussion with Reinhard here: > http://permalink.gmane.org/gmane.linux.vdr/34901 > > Maybe the mentioned debug code helps to get this sorted. > I don't have a HVR4000 here, with a TT3200 it's working out of the box... Thanks for the info, I fixed Holger's original HVR4000 patch to work with VDR-1.5.13 and Reinhard's recent patches. The patch is attached, apply the patch after applying Holger's to the multiproto tree. --- multiproto/linux/drivers/media/dvb/frontends/cx24116.c 2008-01-26 18:49:56.000000000 +0000 +++ multiproto.worked/linux/drivers/media/dvb/frontends/cx24116.c 2008-01-26 17:23:21.000000000 +0000 @@ -1490,6 +1490,16 @@ static int cx24116_get_frontend(struct d return ret; } +static int cx24116_get_delsys(struct dvb_frontend *fe, + enum dvbfe_delsys *fe_delsys) +{ + dprintk("%s()\n",__FUNCTION__); + *fe_delsys = DVBFE_DELSYS_DVBS | DVBFE_DELSYS_DVBS2; + + return 0; +} + + /* * Initialise or wake up device * @@ -1579,6 +1589,7 @@ static struct dvb_frontend_ops cx24116_o .set_voltage = cx24116_set_voltage, .diseqc_send_master_cmd = cx24116_send_diseqc_msg, .diseqc_send_burst = cx24116_diseqc_send_burst, + .get_delsys = cx24116_get_delsys, }; module_param(debug, int, 0644);