From patchwork Mon Apr 25 15:47:10 2005 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guido Fiala X-Patchwork-Id: 11859 Received: from mail.s.netic.de ([212.9.160.11]) by www.linuxtv.org with esmtp (Exim 4.34) id 1DQ5oU-00036A-I1 for vdr@linuxtv.org; Mon, 25 Apr 2005 17:47:58 +0200 Received: from p50810ac0.dip0.t-ipconnect.de ([80.129.10.192]) by mail.s.netic.de with asmtp (Exim 4.41) id 1DQ5oU-000BYO-BD for vdr@linuxtv.org; Mon, 25 Apr 2005 17:47:58 +0200 From: Guido Fiala To: vdr@linuxtv.org Subject: Re: [vdr] Upgrading from DXR3 to FF, and not happy Date: Mon, 25 Apr 2005 17:47:10 +0200 User-Agent: KMail/1.7.2 References: <200504251653.35405.gfiala@s.netic.de> In-Reply-To: MIME-Version: 1.0 Message-Id: <200504251747.10746.gfiala@s.netic.de> X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Klaus Schmidinger's VDR List-Id: Klaus Schmidinger's VDR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 15:47:58 -0000 Status: O X-Status: X-Keywords: X-UID: 1817 On Monday 25 April 2005 17:09, Markku Tavasti wrote: > Guido Fiala writes: > >> > Very bad idea [tm] if you have a rev. 1.3 DVB-S card. > >> > The ARM will crash very often without a sat signal. > > > > Nope - need to call FE_SLEEP after init of frontend (requires driver > > patch), works since years stable for me. > > Pointer to patch, or patch itself would be welcome. I could not find > it with google (wrong keywords in search). Ok, once again i try to collect what i did, i changed 3 files, although 2 would probably do: required (dvb-kernel): frontend.h (make FE_SLEEP public to be able to call it via ioctl) requried (vdr): dvbdevice.c (calls FE_SLEEP, it did not work when the FE_INIT was never called, we need to FE_INIT and after that call FE_SLEEP to make it work) not sure (dvb-kernel): ves1x93.c (mainly debug-output to see if it works plus one register-change which alone did not make it work, as far as i remember) Attached are the diff's of the changes i made. Of course you cannot use the patches when you use a dish, it is only good for signalless operation. (Obsessively using playmode switches+OSD occasionally arm-crashs anyway, sigh) Hope it fixes your problems. --- drivers/media/dvb/frontends/ves1x93.c.orig 2004-03-11 18:06:49.000000000 +0100 +++ drivers/media/dvb/frontends/ves1x93.c 2004-03-24 19:25:58.000000000 +0100 @@ -68,6 +68,7 @@ static u8 init_1893_tab [] = { - 0xCB, 0xa4, 0x35, 0x81, 0x2a, 0x0d, 0x55, 0xc4, + 0x01, 0xa4, 0x35, 0x81, 0x2a, 0x0d, 0x55, 0xc4, 0x09, 0x69, 0x00, 0x86, 0x4c, 0x28, 0x7f, 0x00, 0x00, 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x31, 0xb0, 0x14, 0x00, 0xdc, 0x00, @@ -523,14 +524,17 @@ } case FE_SLEEP: + printk("FE_SLEEP\n"); if (board_type == BOARD_SIEMENS_PCI) ves1x93_writereg (i2c, 0x1f, 0x00); /* LNB power off */ return ves1x93_writereg (i2c, 0x00, 0x08); case FE_INIT: + printk("FE_INIT\n"); return ves1x93_init (i2c); case FE_RESET: + printk("FE_RESET\n"); return ves1x93_clr_bit (i2c); case FE_SET_TONE: