Upgrading from DXR3 to FF, and not happy

Message ID 200504252020.38601@orion.escape-edv.de
State New
Headers

Commit Message

Oliver Endriss April 25, 2005, 6:20 p.m. UTC
  Guido Fiala wrote:
> On Monday 25 April 2005 17:09, Markku Tavasti wrote:
> > Guido Fiala <gfiala@s.netic.de> 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.

Well, if you patch the driver you can do anything.

> > 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:
> ...

Imho it should be enough to use the attached patch (not tested).

Oliver
  

Patch

--- ves1x93.c.org	Mon Apr 25 20:01:02 2005
+++ ves1x93.c	Mon Apr 25 20:15:03 2005
@@ -284,6 +284,8 @@  static int ves1x93_init (struct dvb_fron
 		ves1x93_writereg(state, 0x00, 0x01);
 	}
 
+	ves1x93_sleep(fe);
+
 	return 0;
 }
 
@@ -393,6 +395,7 @@  static int ves1x93_read_ucblocks(struct 
 
 static int ves1x93_set_frontend(struct dvb_frontend* fe, struct dvb_frontend_parameters *p)
 {
+#if 0
 	struct ves1x93_state* state = fe->demodulator_priv;
 
 	ves1x93_writereg(state, 0x00, 0x11);
@@ -402,7 +405,7 @@  static int ves1x93_set_frontend(struct d
 	ves1x93_set_fec (state, p->u.qpsk.fec_inner);
 	ves1x93_set_symbolrate (state, p->u.qpsk.symbol_rate);
 	state->inversion = p->inversion;
-
+#endif
 	return 0;
 }