<div dir="ltr"><br><div class="gmail_quote">On Mon, Jan 26, 2009 at 10:20 PM, Darron Broad <span dir="ltr"><<a href="mailto:darron@kewl.org">darron@kewl.org</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;">
In message <<a href="mailto:c74595dc0901261130k6bdb6882lfb18c650cbca4abf@mail.gmail.com">c74595dc0901261130k6bdb6882lfb18c650cbca4abf@mail.gmail.com</a>>, Alex<br>
Betis wrote:<br>
><br>
>On Mon, Jan 26, 2009 at 7:32 PM, Darron Broad <<a href="mailto:darron@kewl.org">darron@kewl.org</a>> wrote:<br>
><br>
>> In message <<a href="mailto:c74595dc0901260753x8b9185fu33f2a96ffbe13016@mail.gmail.com">c74595dc0901260753x8b9185fu33f2a96ffbe13016@mail.gmail.com</a>>,<br>
>> Alex Betis wrote:<br>
>><br>
>> lo<br>
>><br>
>> <snip><br>
>> ><br>
>> >The bug is in S2API that doesn't return ANY error message at all :)<br>
>> >So the tuner is left locked on previous channel.<br>
>> ><br>
>> >There are many things that can be done in driver to improve the situation,<br>
>> >but I'll leave it to someone who has card with cx24116 chips.<br>
>><br>
>> When tuning the event status should change to 0 and if<br>
>> it stays that way the tuning operation failed.<br>
>><br>
>> If you read the frontend status directly then you will<br>
>> retrieve the state of the previous tuning operation<br>
>> that suceeded.<br>
><br>
>What do you call an event status and what direct status?<br>
><br>
>scan-s2 uses FE_READ_STATUS that always success and indicates channel lock,<br>
>even if cx24116 driver returned an error due to AUTO parameters.<br>
<br>
refer to<br>
<br>
FE_SET_FRONTEND:<br>
<a href="http://www.linuxtv.org/docs/dvbapi/DVB_Frontend_API.html#SECTION00328000000000000000" target="_blank">http://www.linuxtv.org/docs/dvbapi/DVB_Frontend_API.html#SECTION00328000000000000000</a><br>
<br>
and,<br>
<br>
FE_GET_EVENT<br>
<a href="http://www.linuxtv.org/docs/dvbapi/DVB_Frontend_API.html#SECTION003210000000000000000" target="_blank">http://www.linuxtv.org/docs/dvbapi/DVB_Frontend_API.html#SECTION003210000000000000000</a><br>
</blockquote><div>Ohh, ok. So there is a solution for that after all. Thanks!<br>Unfortunately no one gave me a clear answer on that when I asked about it last time.<br>Seems to work for stb0899, waiting for confirmation on cx24116.<br>
<br>Darron, looks you're the right person to ask:<br>How can I retrieve the REAL tuned parameters from the driver?<br>Looks like using FE_GET_PROPERTY returns cached properties that were issued with FE_SET_PROPERTY before that.<br>
<br>Thanks.<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>
l8r<br>
<font color="#888888"><br>
--<br>
<br>
// /<br>
{:)==={ Darron Broad <<a href="mailto:darron@kewl.org">darron@kewl.org</a>><br>
\\ \<br>
<br>
</font></blockquote></div><br></div>