From: Emmanuel ALLAUD <eallaud@yahoo.fr>
To: linux-dvb@linuxtv.org
Subject: [linux-dvb] Re : [PATCH] TT S2-3200: Increase timeout for stb0899_send_diseqc_msg.
Date: Fri, 21 Nov 2008 18:07:52 -0400 [thread overview]
Message-ID: <1227305272.6200.2@manu-laptop> (raw)
In-Reply-To: <49271E99.2040407@gmail.com> (from abraham.manu@gmail.com on Fri Nov 21 16:48:25 2008)
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@me.by>
> >
> > 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@me.by>
> >
> >
> >
> ------------------------------------------------------------------------
> >
> > # HG changeset patch
> > # User Igor M. Liplianin <liplianin@me.by>
> > # Date 1226189735 -7200
> > # Node ID e14ee5f020b15afdf0e5b573d0f960c68a458d37
> > # Parent 1c4d63e589e0420d95d96bf81d3bfbb2cd39a9cf
> > TT S2-3200: Increase timeout for stb0899_send_diseqc_msg.
> >
> > From: Igor M. Liplianin <liplianin@me.by>
> >
> > 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@me.by>
> >
> > 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@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
next parent reply other threads:[~2008-11-21 22:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200811091657.32226.liplianin@tut.by>
[not found] ` <49271E99.2040407@gmail.com>
2008-11-21 22:07 ` Emmanuel ALLAUD [this message]
2008-11-24 19:47 ` [linux-dvb] Re : [PATCH] TT S2-3200: Increase timeout for stb0899_send_diseqc_msg Manu Abraham
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1227305272.6200.2@manu-laptop \
--to=eallaud@yahoo.fr \
--cc=linux-dvb@linuxtv.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox