<br><br><div class="gmail_quote">On Thu, Jul 29, 2010 at 11:44 AM, <span dir="ltr"><<a href="mailto:mythtv.t.wuuza@xoxy.net">mythtv.t.wuuza@xoxy.net</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">> The udev rules made it:<br>
> crw-rw-rw- root video<br>
><br>
> But again non of this fixes mythbackend running correctly on bootup. I<br>
have<br>
> to VNC/SSH in and restart the backend, but once I do it works fine.<br>
<br>
</div>I started having a similar problem a couple of days ago after getting<br>
kernel and myth updates among others, using Mythbuntu 10.04 with<br>
autobuilds. I have not noticed the problem on boot but rather on resuming<br>
from suspend. I already had a pm-suspend script that runs on resume to<br>
make sure myth works, so I added some logging to see what was going on<br>
with /dev/video*. Apparently something changed in the timing because<br>
/dev/video1 (I force start at 1) for my PVR150 is owned root:root at<br>
first, and only after a few seconds (anywhere from 2-6) does udev change<br>
the ownership to root:video with rw for the group. I have ivtv in the<br>
list of modules for pm-suspend to unload/reload, which is presumably why<br>
/dev/video* needs to be set up on resume, but I'm not sure what other<br>
parts changed that affected the timing. In my resume script I am forced<br>
to bounce the backend anyway because of firewire capture, so my fix was to<br>
loop until the video group appears on /dev/video1 before restarting the<br>
backend, enabling the backend sees the input with the correct permissions.<br>
<br></blockquote><div>Is there a way to do this in rc.local, i have a loop on my laptop to wait until iwconfig has an ip address and then mount -a, because samba was not mounting my shares correctly because the wireless took so long to get an ip address. So would love a way to wait for mythbackend to start, or restart mythbackend once mythfrontend is running. </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
John<br>
<div><div></div><div class="h5"><br>
_______________________________________________<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>