public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [linux-dvb] dvb fronted: LOCK but no data received.
@ 2008-03-11 23:14 Andrea
  0 siblings, 0 replies; 2+ messages in thread
From: Andrea @ 2008-03-11 23:14 UTC (permalink / raw)
  To: linux-dvb

Hi,

I'd like to understand the behavior and meaning of the LOCK returned by the fronted.

If I open the fronted in readonly, and ask for the INFO, it is possible that I get a LOCK but no 
data is actually received.

This because the fronted receives data ONLY while it is opened in READ/WRITE.

In dvb_frontend.c, in dvb_frontend_open, the fronted is started via
dvb_frontend_start
only if it opened in READ/WRITE.

I see it as a misbehavior:

1) either a LOCK should NOT be returned
2) or the frontend should be started in any case (even if READ only)

Which ioctl call should I use to know if the fronted is currently active?

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [linux-dvb]  dvb fronted: LOCK but no data received.
@ 2008-03-12 20:53 Andrea
  0 siblings, 0 replies; 2+ messages in thread
From: Andrea @ 2008-03-12 20:53 UTC (permalink / raw)
  To: linux-dvb

 > Hi,
 >
 > I'd like to understand the behavior and meaning of the LOCK returned by the fronted.
 >
 > If I open the fronted in readonly, and ask for the INFO, it is possible that I get a LOCK but no
 > data is actually received.
 >
 > This because the fronted receives data ONLY while it is opened in READ/WRITE.
 >
 > In dvb_frontend.c, in dvb_frontend_open, the fronted is started via
 > dvb_frontend_start
 > only if it opened in READ/WRITE.
 >
 > I see it as a misbehavior:
 >
 > 1) either a LOCK should NOT be returned
 > 2) or the frontend should be started in any case (even if READ only)
 >
 > Which ioctl call should I use to know if the fronted is currently active?

Anybody has an opinion about that?
I know, I cant spell frontend properly :-),

but other than that, what would be the correct behavior when opening the frontend in readonly?

Andrea

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-12 20:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-12 20:53 [linux-dvb] dvb fronted: LOCK but no data received Andrea
  -- strict thread matches above, loose matches on Subject: below --
2008-03-11 23:14 Andrea

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox