[mythtv] DVB channel flipping hang

Mark Weaver mark-clist at npsl.co.uk
Thu Aug 25 01:51:38 UTC 2005


Daniel Kristjansson wrote:
> On Thu, 2005-08-25 at 01:34 +0100, Mark Weaver wrote:
> 
>>>Is it a reasonable solution just to do the ioctl and enter a select() 
>>>loop at that point, with a timeout?  I can see that the fd is used 
>>>elsewhere (via GetFd()) but only FE_SET_FRONTEND appears to use 
>>>FE_GET_EVENT according to the API docs, so it would seem ok.  I have no 
>>>idea what the actual code flow is so I could be missing something.
>>>I'll probably give it a go and see what happens, it doesn't seem like 
>>>too much work!
>>
>>This does seem to help, I've done 10 minutes of channel flipping with no 
>>issues.  The attached patch is what I used, would be good if someone 
>>else could give it a whirl.
> 
> 
> I just committed something similar. I don't want to wait for a signal
> lock since that would negate the value of a signal monitor. But instead
> I wait for the first event which should be indicate that the tuner has
> been told of the new frequency..
> 
OK, that makes sense.  Thanks!  I'll give that a whirl instead and let 
you know how it goes.


More information about the mythtv-dev mailing list