From patchwork Sun Mar 9 21:41:10 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reinhard Nissl X-Patchwork-Id: 12627 Received: from mail.gmx.net ([213.165.64.20]) by www.linuxtv.org with smtp (Exim 4.63) (envelope-from ) id 1JYTH6-0007Fg-4W for vdr@linuxtv.org; Sun, 09 Mar 2008 22:41:46 +0100 Received: (qmail invoked by alias); 09 Mar 2008 21:41:10 -0000 Received: from p5493087D.dip0.t-ipconnect.de (EHLO [192.168.101.15]) [84.147.8.125] by mail.gmx.net (mp003) with SMTP; 09 Mar 2008 22:41:10 +0100 X-Authenticated: #527675 X-Provags-ID: V01U2FsdGVkX194xAF/TRB4EHmHJQNAeJUDq38mk3Y6tFNuqVGFWV TBt2L3EgFCB0Mb Message-ID: <47D45976.3040802@gmx.de> Date: Sun, 09 Mar 2008 22:41:10 +0100 From: Reinhard Nissl User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.1.9) Gecko/20070801 SUSE/2.0.0.9-0.1 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: VDR Mailing List References: <47C1C13F.4030905@gmx.de> In-Reply-To: <47C1C13F.4030905@gmx.de> X-Y-GMX-Trusted: 0 X-LSpam-Score: 0.0 (/) Subject: Re: [vdr] [ANNOUNCE] DVB-S2 + H.264 support for VDR-1.5.16 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: Sun, 09 Mar 2008 21:41:46 -0000 Status: O X-Status: X-Keywords: X-UID: 16093 Hi, Reinhard Nissl schrieb: > attached you'll find updated patches for VDR-1.5.16. > > The patch named *-dvbs2-* additionally adds DVB-S2 support to VDR > (based on VDR-1.5.14) and requires to use the DVB drivers > from the multi-proto tree (see URL below for further details). > > The other patch is without DVB-S2 support and therefore most > suitable for DVB-C users. > > VDR-1.5.14 reported changes to transponder data incorrectly. The > attached dvbs2 patch contains a fix for this issue by introducing > TransponderDataToString(). The attached addon patch addresses the introduction of the SET_DELSYS ioctl in the current multiproto tree. > Have a look at this page for more instructions on this concern: > > http://www.vdr-wiki.de/wiki/index.php/OpenSUSE_VDR_DVB-S2_-_xine Bye. --- ../vdr-1.5.16-dvbs2-other-rotor/dvbdevice.c 2008-02-24 20:52:50.000000000 +0100 +++ dvbdevice.c 2008-03-09 15:26:40.000000000 +0100 @@ -281,10 +281,6 @@ bool cDvbTuner::SetFrontend(void) tuneTimeout = DVBS_TUNE_TIMEOUT; lockTimeout = DVBS_LOCK_TIMEOUT; - - dvbfe_info feinfo; - feinfo.delivery = Frontend.delivery; - CHECK(ioctl(fd_frontend, DVBFE_GET_INFO, &feinfo)); //switch system } else if (frontendType & DVBFE_DELSYS_DVBC) { Frontend.delivery = DVBFE_DELSYS_DVBC; @@ -296,10 +292,6 @@ bool cDvbTuner::SetFrontend(void) tuneTimeout = DVBC_TUNE_TIMEOUT; lockTimeout = DVBC_LOCK_TIMEOUT; - - dvbfe_info feinfo; - feinfo.delivery = Frontend.delivery; - CHECK(ioctl(fd_frontend, DVBFE_GET_INFO, &feinfo)); //switch system } else if (frontendType & DVBFE_DELSYS_DVBT) { Frontend.delivery = DVBFE_DELSYS_DVBT; @@ -317,15 +309,12 @@ bool cDvbTuner::SetFrontend(void) tuneTimeout = DVBT_TUNE_TIMEOUT; lockTimeout = DVBT_LOCK_TIMEOUT; - - dvbfe_info feinfo; - feinfo.delivery = Frontend.delivery; - CHECK(ioctl(fd_frontend, DVBFE_GET_INFO, &feinfo)); //switch system } else { esyslog("ERROR: attempt to set channel with unknown DVB frontend type"); return false; } + CHECK(ioctl(fd_frontend, DVBFE_SET_DELSYS, &Frontend.delivery)); //switch system if (ioctl(fd_frontend, DVBFE_SET_PARAMS, &Frontend) < 0) { esyslog("ERROR: frontend %d: %m", cardIndex); return false;