<div dir="ltr"><div class="gmail_quote">On Sat, Feb 7, 2009 at 12:57 PM, Josef Wolf <span dir="ltr"><<a href="mailto:jw@raven.inka.de">jw@raven.inka.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sat, Feb 07, 2009 at 11:12:25AM +0200, Alex Betis wrote:<br>
[ ... ]<br>
> > To be precise: on an already set-up transponder, re-executing this<br>
> > function:<br>
> ><br>
> > static void tune_frequency (int ifreq, int sr)<br>
> > {<br>
> > struct dvb_frontend_parameters tuneto;<br>
> ><br>
> > tuneto.frequency = ifreq*1000;<br>
> > tuneto.inversion = INVERSION_AUTO;<br>
> > tuneto.u.qpsk.symbol_rate = sr*1000;<br>
> > tuneto.u.qpsk.fec_inner = FEC_AUTO;<br>
> ><br>
> > if (ioctl(fefd, FE_SET_FRONTEND, &tuneto) == -1) {<br>
> > fatal ("FE_SET_FRONTEND failed: %s\n", strerror (errno));<br>
> > }<br>
> > }<br>
> ><br>
> > with _exactly_ the same values for ifreq and sr, is able to toggle from<br>
> > good TS stream to bad TS stream or vice-versa. As long as I avoid to<br>
> > call this function, the quality of the stream does _not_ change.<br>
><br>
> I had exactly the same behavior of Twinhan SP-200 (1027) card until I<br>
> totally gave up and bought Twinhan SP-400 (1041) card.<br>
> Interesting if those 2 cards have the same components.<br>
<br>
The cards I have are of those:<br>
<a href="http://www.linuxtv.org/wiki/index.php/TechnoTrend_PCline_budget_DVB-S" target="_blank">http://www.linuxtv.org/wiki/index.php/TechnoTrend_PCline_budget_DVB-S</a><br>
Do you think the problem is related to hardware?</blockquote><div><br>Since the tuning works from time to time, I tend to think that its a driver problem.<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
> > I have tried to use fixed values instead of *_AUTO for FEC and INVERSION,<br>
> > but that did not help either.<br>
> ><br>
> > Any ideas?<br>
><br>
> What driver repository you use? And what driver is loaded for that card?<br>
> My guess was that the tuner is not properly reset/set before the tuning.<br>
> But (again) since I don't have any chip specification, I didn't have much<br>
> progress with that.<br>
<br>
# lsmod|egrep '(dvb|budget|stv|saa|ttpci)'<br>
stv0299 11280 1<br>
budget_ci 18956 3<br>
budget_core 12332 1 budget_ci<br>
dvb_core 87948 3 stv0299,budget_ci,budget_core<br>
saa7146 18080 2 budget_ci,budget_core<br>
ttpci_eeprom 2520 1 budget_core<br>
ir_common 43340 1 budget_ci<br>
i2c_core 35280 5 stv0299,budget_ci,budget_core,ttpci_eeprom,i2c_piix4<br>
#<br>
</blockquote><div>Don't remember when drivers it used, I've removed it from my box long ago.<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
I have not yet compiled my own drivers, so I use the drivers that came<br>
with the disro (opensuse-11.1, x86_64). But I am about to dive into the<br>
driver to narrow down the problem closer. Any hint how to compile my<br>
own drivers on opensuse?</blockquote><div>I dont have opensuse, but I'd suggest to use this repository:<br><a href="http://mercurial.intuxication.org/hg/s2-liplianin">http://mercurial.intuxication.org/hg/s2-liplianin</a><br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
_______________________________________________<br>
linux-dvb users mailing list<br>
For V4L/DVB development, please use instead <a href="mailto:linux-media@vger.kernel.org">linux-media@vger.kernel.org</a><br>
<a href="mailto:linux-dvb@linuxtv.org">linux-dvb@linuxtv.org</a><br>
<a href="http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb" target="_blank">http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb</a><br>
</blockquote></div><br></div>