Le 21.11.2008 16:48:25, Manu Abraham a écrit : > Igor M. Liplianin wrote: > > TT S2-3200: Increase timeout for stb0899_send_diseqc_msg. > > > > From: Igor M. Liplianin <liplianin@xxxxx> > > > > Increase timeout for stb0899_send_diseqc_msg. It fixes error for > rotor: > > FE_DISEQC_SEND_MASTER_CMD failed: Connection timed out. > > > > Signed-off-by: Igor M. Liplianin <liplianin@xxxxx> > > > > > > > ------------------------------------------------------------------------ > > > > # HG changeset patch > > # User Igor M. Liplianin <liplianin@xxxxx> > > # Date 1226189735 -7200 > > # Node ID e14ee5f020b15afdf0e5b573d0f960c68a458d37 > > # Parent 1c4d63e589e0420d95d96bf81d3bfbb2cd39a9cf > > TT S2-3200: Increase timeout for stb0899_send_diseqc_msg. > > > > From: Igor M. Liplianin <liplianin@xxxxx> > > > > Increase timeout for stb0899_send_diseqc_msg. It fixes error for > rotor: > > FE_DISEQC_SEND_MASTER_CMD failed: Connection timed out. > > > > Signed-off-by: Igor M. Liplianin <liplianin@xxxxx> > > > > diff -r 1c4d63e589e0 -r e14ee5f020b1 > linux/drivers/media/dvb/frontends/stb0899_drv.c > > --- a/linux/drivers/media/dvb/frontends/stb0899_drv.c Sat Nov > 08 23:33:34 2008 +0200 > > +++ b/linux/drivers/media/dvb/frontends/stb0899_drv.c Sun Nov > 09 02:15:35 2008 +0200 > > @@ -705,7 +705,7 @@ > > stb0899_write_reg(state, STB0899_DISCNTRL1, reg); > > for (i = 0; i < cmd->msg_len; i++) { > > /* wait for FIFO empty */ > > - if (stb0899_wait_diseqc_fifo_empty(state, 10) < 0) > > + if (stb0899_wait_diseqc_fifo_empty(state, 20) < 0) > > return -ETIMEDOUT; > > > > stb0899_write_reg(state, STB0899_DISFIFO, > cmd->msg[i]); > > Diseqc/Rotor did work with the 10ms timeout for most of us. Was it > really failing ? > > Anyway if it is really needed, the timeout can be increased. > > Regards, > Manu Hi Manu, any progress on the stb0899 locking problems (I reported mine for DVB-S QPSK 5/6). Thx Bye Manu _______________________________________________ linux-dvb mailing list linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb