<div dir="ltr">On Sun, Dec 14, 2008 at 2:01 PM, Klaus Schmidinger <span dir="ltr"><<a href="mailto:Klaus.Schmidinger@cadsoft.de">Klaus.Schmidinger@cadsoft.de</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c"><br>
>>> Some more info: apparently the problem only happens if a DVB-S2 card<br>
>>> (a TT-budget S2 3200 in my case) is (attempted to be) tuned to a DVB-S2<br>
>>> channel after the driver has been freshly loaded. Once the card has<br>
>>> been tuned to a DVB-S channel, subsequent tuning to DVB-S2 channels<br>
>>> works fine.</div></div></blockquote><div>I have Twinhan 1041 that use the same driver so I could check the 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;">
<div><div class="Wj3C7c"><br>
</div></div>When I run scan-s2 with an initial tuning file that contains only a DVB-S2<br>
transponder (Astra 19.2E)<br>
<br>
S 11362000 H 22000000 2/3<br>
<br>
and change scan.c so that it first tunes to DVB-S2, as in<br>
<br>
/* set up list of delivery systems*/<br>
//fe_delivery_system_t delset[]={SYS_DVBS,SYS_DVBS2};<br>
fe_delivery_system_t delset[]={SYS_DVBS2,SYS_DVBS};</blockquote><div>You can also start the entry in INI file with "S2" to scan only in DVB-S2 or "S1" to scan in DVB-S only mode.<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 get this with a freshly loaded driver:<br>
<br>
<br>
===============================================================================<br>
API major 5, minor 0<br>
ERROR: Cannot open rotor configuration file 'rotor.conf'.<br>
scanning /home/kls/vdr/scan-s2-c728a0055904/dvb-s/Astra-19.2E<br>
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'<br>
initial transponder DVB-S2 11362000 H 22000000 2/3 AUTO AUTO<br>
initial transponder DVB-S 11362000 H 22000000 2/3 AUTO AUTO<br>
----------------------------------> Using DVB-S2<br>
>>> tune to: 11362:hS1C23:S0.0W:22000:<br>
DVB-S IF freq is 1612000<br>
FE_SET_PROPERTY TUNE failed: Invalid argument<br>
>>> tune to: 11362:hS1C23:S0.0W:22000:<br>
DVB-S IF freq is 1612000<br>
FE_SET_PROPERTY TUNE failed: Invalid argument<br>
----------------------------------> Using DVB-S<br>
>>> tune to: 11362:hS0C23:S0.0W:22000:<br>
DVB-S IF freq is 1612000<br>
WARNING: >>> tuning failed!!!<br>
>>> tune to: 11362:hS0C23:S0.0W:22000: (tuning failed)<br>
DVB-S IF freq is 1612000<br>
WARNING: >>> tuning failed!!!<br>
ERROR: initial tuning failed<br>
dumping lists (0 services)<br>
Done.<br>
===============================================================================<br>
</blockquote><div>There seems to be a problem in the driver with AUTO modulation setting. Some drivers do not allow it at all.<br>2 options:<br><br>Explicitly specify the modulation, such as:<br>S2 11362000 H 22000000 2/3 AUTO 8PSK<br>
<br>Or add the following case into switch in dtv_property_adv_params_sync function in dvb_frontend.c file of the drivers:<br>case QAM_AUTO:<br><br>Just in case, the function will start with:<br><br>void dtv_property_adv_params_sync(struct dvb_frontend *fe)<br>
{<br> struct dtv_frontend_properties *c = &fe->dtv_property_cache;<br> struct dvb_frontend_private *fepriv = fe->frontend_priv;<br> struct dvb_frontend_parameters *p = &fepriv->parameters;<br><br>
p->frequency = c->frequency;<br> p->inversion = c->inversion;<br><br> switch(c->modulation) {<br> case PSK_8:<br> case APSK_16:<br> case APSK_32:<br> case QPSK:<br><b> case QAM_AUTO:<br>
</b> p->u.qpsk.symbol_rate = c->symbol_rate;<br> p->u.qpsk.fec_inner = c->fec_inner;<br> break;<br> default:<br> break;<br> }<br><br>This will solve the problem. I'll send an email to Igor about that.<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>
If I run scan-s2 again, I get<br>
<br>
<br>
===============================================================================<br>
API major 5, minor 0<br>
ERROR: Cannot open rotor configuration file 'rotor.conf'.<br>
scanning /home/kls/vdr/scan-s2-c728a0055904/dvb-s/Astra-19.2E<br>
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'<br>
initial transponder DVB-S2 11362000 H 22000000 2/3 AUTO AUTO<br>
initial transponder DVB-S 11362000 H 22000000 2/3 AUTO AUTO<br>
----------------------------------> Using DVB-S2<br>
>>> tune to: 11362:hS1C23:S0.0W:22000:<br>
DVB-S IF freq is 1612000<br>
>>> parse_section, section number 0 out of 0...!<br>
0x03F3 0x2B70: pmt_pid 0x0000 ZDFvision -- arte HD (running)<br>
0x03F3 0x2B7A: pmt_pid 0x0000 IRT -- Simul SD (running)<br>
0x03F3 0x2B84: pmt_pid 0x0000 IRT -- Simul HD (running)<br>
>>> parse_section, section number 0 out of 0...!<br>
service_id = 0x0<br>
service_id = 0x2B70<br>
pmt_pid = 0x1838<br>
service_id = 0x2B7A<br>
pmt_pid = 0x189C<br>
service_id = 0x2B84<br>
pmt_pid = 0x1900<br>
>>> parse_section, section number 0 out of 0...!<br>
VIDEO : PID 0x1842<br>
AUDIO : PID 0x184D<br>
AUDIO : PID 0x184E<br>
TELETEXT : PID 0x1856<br>
>>> parse_section, section number 0 out of 0...!<br>
VIDEO : PID 0x18A6<br>
AUDIO : PID 0x18B0<br>
>>> parse_section, section number 0 out of 0...!<br>
VIDEO : PID 0x190A<br>
AUDIO : PID 0x1914<br>
>>> parse_section, section number 0 out of 1...!<br>
Network Name 'ASTRA'<br>
>>> parse_section, section number 1 out of 1...!<br>
dumping lists (3 services)<br>
arte HD;ZDFvision:11361:hS1C23M5O35:S19.2E:22000:6210:6221=ger,6222=fra:6230:0:11120:1:1011:0<br>
Simul SD;IRT:11361:hS1C23M5O35:S19.2E:22000:6310:6320=ger:0:0:11130:1:1011:0<br>
Simul HD;IRT:11361:hS1C23M5O35:S19.2E:22000:6410:6420=ger:0:0:11140:1:1011:0<br>
Done.<br>
===============================================================================<br>
<br>
<br>
So apparently not even scan-s2 is able to tune directly to a DVB-S2<br>
transponder without first tuning to a DVB-S transponder.<br>
<br>
Can anybody else confirm this, or am I doing something wrong?<br>
<font color="#888888"><br>
Klaus<br>
</font><div><div></div><div class="Wj3C7c"><br>
<br>
<br>
_______________________________________________<br>
vdr mailing list<br>
<a href="mailto:vdr@linuxtv.org">vdr@linuxtv.org</a><br>
<a href="http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr" target="_blank">http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr</a><br>
</div></div></blockquote></div><br></div>