<div dir="ltr"><div dir="ltr"><div dir="ltr">Now twice I have had a recording failure where every recording after that time fails.  The first time I thought the HDHR Power Supply might be bad so I replaced it. This time I had failures on HDHR1 and HDHR3 so I think that rules out a single point of failure involving the HDHR.  The other symptom was that the IR remote did not work.<div><br></div><div>One thing in common is that both of these are initialized in rc.local.</div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div><b><br></b></div></div><div><div><div><b>echo -n 15  > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold</b></div></div></div><div><div><div><b>hdhomerun_config 10137DC1 set /ir/target "<a href="http://192.168.1.111:5000">192.168.1.111:5000</a> no_clear"</b></div></div></div><div><div><div><b>#this is a hack.  I don't know what is starting lircd</b></div></div></div><div><div><div><b>killall lircd</b></div></div></div><div><div><div><b>lircd -H udp -d 5000</b></div></div></div><div><div><div><b>exit 0</b></div></div></div><div><b><br></b></div></blockquote><div dir="ltr"><div>I know rc.local is out of favor but I am old school and it worked 10 years ago so I just used it again when I upgraded my system this year.</div><div><br></div><div>The failure is first evidenced in the backend log with this entry</div><div><br></div><div><table border="0" cellpadding="0" cellspacing="0" width="64" style="border-collapse:collapse;width:48pt">

 <colgroup><col width="64" style="width:48pt">
 </colgroup><tbody><tr height="17" style="height:12.75pt">
  <td height="17" width="64" style="height:12.75pt;width:48pt;padding-top:1px;padding-right:1px;padding-left:1px;color:windowtext;font-size:10pt;font-family:Arial;vertical-align:bottom;border:none;white-space:nowrap"><b>Jan 15 23:35:00
  NewMyth mythbackend: mythbackend[1183]: I TVRecEvent tv_rec.cpp:3686
  (TuningFrequency) TVRec[1]: TuningFrequency</b></td>
 </tr>
 <tr height="17" style="height:12.75pt">
  <td height="17" style="height:12.75pt;padding-top:1px;padding-right:1px;padding-left:1px;color:windowtext;font-size:10pt;font-family:Arial;vertical-align:bottom;border:none;white-space:nowrap"><b>Jan 15 23:35:03 NewMyth mythbackend:
  mythbackend[1183]: E TVRecEvent recorders/hdhrstreamhandler.cpp:382
  (TunerGet) HDHRSH(10137DC1-0): Get request failed#012#011#011#011eno:
  Resource temporarily unavailable (11)</b></td>
 </tr>

</tbody></table><br></div><div>And then a series of error messages and repeats of the "Resource temporarily unavailable"</div><div><br></div><div>The scheduled recording the next morning failed as well and as that is my wife's morning show, I was summoned to fix it which I did by restarting the computer but not the HDHRs.</div><div><br></div><div>The IR remote works through the HDHR so that seems to be the common element. I am guessing it is resetting or at least losing the connection that is initialized by the rc.local script.</div><div><br></div><div>I am considering adding the config to a cron job and running that before my wife's show starts but is there something else I might do? Suggestions welcome.</div><div><br></div><div>Allen</div></div></div></div>