Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: FE_GET_EVENT to clear frontend event queue: onlyfor QPSK?



Nico Sabbi wrote:

Hi,
of the current ?zap applications only szap uses FE_GET_EVENT to clear the event queue before tuning;
tzap and czap don't.

we discourage using GET_EVENT at all, this ioctl will vanish in future API versions. Please use poll()/READ_STATUS directly instead and handle ioctl error codes properly. GET_EVENT delivers pasttime events, they are probably not what you are expecting.

Is there a particular reason for this? Clearing an event queue seems to be a reasonably common
thing to do.

Besides, some user reported in mplayer-dvb ML that this particular ioctl() seems to block tuning
when used in some usb -t frontends, even though the frontend is opened in non blocking mode.

Are they using a recent driver version? This should have been fixed a while ago.

Holger





Home | Main Index | Thread Index