[mythtv-users] backend starting before one of two capture cards is initiated?

Nick Rout nick.rout at gmail.com
Mon Jan 24 21:55:04 UTC 2011


On Tue, Jan 25, 2011 at 10:35 AM, James Miller
<gajs-f0el at dea.spamcon.org> wrote:
> I'm migrating my mythtv (mythbuntu 10.04) to a new machine and have run into
> a couple of problems. I'll discuss the lesser of those problems in this
> thread and start a different thread for the other, more severe problem.
>
> The problem is that, once mythfrontend comes up, when I try to watch live
> TV, one of the two capture cards in my system is missing. I noticed that
> when I go into myth-setup, the card reappears (I initially thought it was
> because I did some reconfiguration on that card while in myth-setup, but
> I've just confirmed that it's more likely the killing and restarting of the
> back-end, since, in a test I just now did, the card reappeared simply by
> going into myth-setup without doing any reconfiguration, then quitting it).
> So, it seems mythbackend is starting before the card gets initialized.
>
> So, what's the solution for this? Do I need to introduce a delay into the
> loading of mythbackend? If so, how is that best done?

You can either load a guesstimate sleep x statement into the backend
startup script, where x is the needed number of seconds, or you can
get more fancy and test for the presence of the device nodes before
starting the backend.


More information about the mythtv-users mailing list