[mythtv] [mythtv-commits] Ticket #2882: Poll CAM module at consistent intervals

David Härdeman david at hardeman.nu
Mon Jan 8 18:45:35 UTC 2007


On Mon, Jan 08, 2007 at 12:24:00AM +0000, Andrew Lyon wrote:
>On 1/7/07, David Härdeman <david at hardeman.nu> wrote:
>> On Sun, Jan 07, 2007 at 02:08:48PM -0500, Daniel Kristjansson wrote:
>> >On Sun, 2007-01-07 at 17:02 +0000, MythTV wrote:
>> >>  Talking about the CiHandlerLoop: currently there is a usleep(250) in
>> >>  there, with some debugging code I found that the loop is executed approx.
>> >>  950 times/sec on my machine, which seems a bit excessive.
>
>I've found that my cam works much better with usleep(90000) rather
>than 250, really dont know why but I often had to reload the dvb-s
>card modules and restart the backend before I made that change, I
>rarely have to do that now.

I usually had to do similar things due to CAM lockups (I think).

With the last batch of changes, I've had no such lockups any more. The 
only problem I'm experiencing now seems to be that LiveTV hangs between 
programs (ticket 2335 - http://svn.mythtv.org/trac/ticket/2335).

-- 
David Härdeman


More information about the mythtv-dev mailing list