<br><br><div class="gmail_quote">On Thu, Jul 29, 2010 at 7:44 PM, Nick Rout <span dir="ltr"><<a href="mailto:nick.rout@gmail.com">nick.rout@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Fri, Jul 30, 2010 at 6:01 AM, <<a href="mailto:mythtv.t.wuuza@xoxy.net">mythtv.t.wuuza@xoxy.net</a>> wrote:<br>
>> Is there a way to do this in rc.local, i have a loop on my laptop to<br>
> wait<br>
>> until iwconfig has an ip address and then mount -a, because samba was<br>
> not<br>
>> mounting my shares correctly because the wireless took so long to get an<br>
> ip<br>
>> address. So would love a way to wait for mythbackend to start, or<br>
> restart<br>
>> mythbackend once mythfrontend is running.<br>
><br>
> I don't know. I'm not all that familiar with this stuff, especially since<br>
> things have been changing recently (like upstart). If he's got a default<br>
> Mythbuntu install then mythtv-backend is an upstart job. You could write<br>
> another upstart job that does the checking loop, and then modify the<br>
> mythtv-backend job to depend on that one (ie add it to "start on" stanza).<br>
> Writing the upstart job is easy - I have one in there that calls the same<br>
> firewire primer script as my sleep/resume script does. In Kubuntu 8.04<br>
> there was an issue where the backend started before networking was fully<br>
> loaded and it never found my HDHomeRun. For that I just took the easy<br>
> route and put a "sleep 10" in the backend init script, so that would be<br>
> another easy option.<br>
<br>
</div>I suspect the backend is starting before the pvr module is loaded, and<br>
the permission denied message is because the device nodes simply are<br>
not there.<br>
<br>
Add a delay to the backend startup script, or restart the backend in<br>
/etc/rc.local.<br>
<br></blockquote><div>That's the thing i did. I have:</div><div><br></div><div>/usr/bin/service mythtv-backend restart</div><div><br></div><div>But it still doesn't fix it. However, once X is loaded if i run same command it's fine. </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Supposedly upstart should be able to create a situation where it says<br>
"start the backend after the following modules have loaded" - but the<br>
mythbuntu engineers do not seem to be able to get it to work like<br>
that. (of course everyone has different "modules" that need to load<br>
first)<br>
<div><div></div><div class="h5">_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Sincerely, <br><br>MacNean C. Tyrrell<br>