<p>Thas what I do at the moment. However, reducing the boot time from 40s to 10s adds a little comfort and makes the box feel more like an appliance. Another issue is that every now and then the sound doesn&#39;t work after boot, but this does not happen after suspending. Hence going to suspend is a desirable workaround and solves two issues st once.</p>

<p>Enno</p>
<div class="gmail_quote">Am 21.09.2013 18:51 schrieb &quot;Peter Bennett (cats22)&quot; &lt;<a href="mailto:cats22@comcast.net">cats22@comcast.net</a>&gt;:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 09/21/2013 02:18 AM, Enno Middelberg wrote:<br>
&gt; Hello,<br>
&gt;<br>
&gt;<br>
&gt; still trying to get suspend to RAM working on my combined FE/BE with<br>
&gt; Mythtv 0.26 (Debian-based). My DVB card doesn&#39;t like suspend, so for<br>
&gt; suspend I have to stop both the frontend and backend, then unload the<br>
&gt; module (ddbridge) and then suspend. Doing this by hand works fine, and<br>
&gt; after wakeup everything works again.<br>
&gt;<br>
&gt; However, I believe there is a deadlock when doing this automagically:<br>
&gt; mythbackend decides it wants to suspend, and calls pm-suspend, which<br>
&gt; then calls /etc/pm/sleep.d/6767_stop_mythtv_rmmod_ddbridge, which<br>
&gt; executes a<br>
&gt;<br>
&gt; /etc/init.d/mythtv-backend stop<br>
&gt; rmmod ddbridge<br>
&gt;<br>
&gt; and this script (I think) waits for the backend to stop, which never<br>
&gt; happens because pm-suspend has been called by the backend...<br>
&gt;<br>
&gt; Several people seem to have encountered this situation and provided<br>
&gt; solutions (eg, <a href="http://www.mythtv.org/wiki/User:Lwoggardner" target="_blank">http://www.mythtv.org/wiki/User:Lwoggardner</a>), but they<br>
&gt; all used the upstart system (ie, a Ubuntu derivative), which I am not<br>
&gt; using.<br>
&gt;<br>
&gt; So what to do? Essentially I need mythback to terminate itself so it<br>
&gt; frees the DVB driver, which I can then unload and suspend the machine.<br>
&gt;<br>
&gt;<br>
&gt; Many thanks,<br>
&gt;<br>
&gt; Enno<br>
&gt;<br>
<br>
How about just letting the system shut down? My experience is it takes<br>
only some 30 seconds to start up again and it is cleaner, the system<br>
gets to run its periodic disk checks and anything that is hanging is<br>
cleared out. A wakeup script that uses /sys/class/rtc/rtc0/wakealarm<br>
works perfectly and boots the system 5 minutes before the next recording.<br>
<br>
Peter<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
</blockquote></div>