[linux-dvb] How to use scan-s2?

Alex Betis alex.betis at gmail.com
Tue Jan 27 08:48:02 CET 2009


On Tue, Jan 27, 2009 at 2:59 AM, Andy Walls <awalls at radix.net> wrote:

> On Mon, 2009-01-26 at 22:31 +0200, Alex Betis wrote:
> >
> > On Mon, Jan 26, 2009 at 10:20 PM, Darron Broad <darron at kewl.org>
> > wrote:
> >         In message
> >         <c74595dc0901261130k6bdb6882lfb18c650cbca4abf at mail.gmail.com>,
> >         Alex
> >         Betis wrote:
> >         >
> >         >On Mon, Jan 26, 2009 at 7:32 PM, Darron Broad
> >         <darron at kewl.org> wrote:
> >         >
> >         >> In message
> >         <c74595dc0901260753x8b9185fu33f2a96ffbe13016 at mail.gmail.com>,
> >         >> Alex Betis wrote:
> >         >>
> >         >> lo
> >         >>
> >         >> <snip>
> >         >> >
> >         >> >The bug is in S2API that doesn't return ANY error message
> >         at all :)
>
> Aside from Darron's observation, doesn't the result field of any
> particular S2API property return with a non-0 value on failure?

Depends how you define the "failure".
If you order to tune, than for S2API failure would be something like "could
not initiate tune command" and not like "tuning failed".
Apparently the "tuning failed" failure should be checked with events and not
rely on return code from commands.

Correct me if I'm wrong with that.


>
>
> (Sorry, I missed the original thread on the S2API return values.)
>
> Regards,
> Andy
>
>
>
> _______________________________________________
> linux-dvb users mailing list
> For V4L/DVB development, please use instead linux-media at vger.kernel.org
> linux-dvb at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20090127/9d5f68a7/attachment.htm 


More information about the linux-dvb mailing list