[mythtv] [PATCH] Remove use of deprecated DVB events.

Allan Stirling Dibblahmythml0015 at pendor.org
Wed Aug 31 08:56:02 UTC 2005

Kenneth Aafl°y wrote:
> Hi!
> This patch removes the FE_GET_EVENT usage in dvbchannel, not only because
> it's deprecated, but because it's deprecated for a reason.  What's happening 
> here is that the events are flushed right after the card get's a lock and
> thus dvbchannel deadlocks waiting for an event.
> The deadlock was caused by bad programming, but the user/kernel space race
> of FE_GET_EVENT still exists.
> The event handling is replaced by a simple busy loop that waits for 5 
> consecutive status == lock over a maximum period of 5 seconds.
> At least I can change channel a few times without myth crashing or
> deadlocking now :)
> I've also attached the ca_pmt patch I sent earlier, since I forgot to remove
> a debug statement, gee I'm tired.
> Kenneth
I can't find any documentation saying they're depreciated. And at least 
some of the DVB core developers don't appear to be aware of it either.


Thanks for the patch, anyway - I'll be trying it shortly :)



More information about the mythtv-dev mailing list