<div dir="ltr">Thanks, Roselito!<div><br></div><div>I'm burned out for today, but the information you provided should do the trick when I tackle this again tomorrow. </div><div><br></div><div>73</div><div>John </div><div><br></div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 26, 2016 at 5:31 PM, Roselito de los Reyes via arm-allstar <span dir="ltr"><<a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">Hi John,<div><br></div><div>I did try to recreate the issue using the Hamvoip code and I was able to create the state file in the '/tmp' folder. and from there you can reference that location in the script that K0KN has written.</div><div><br></div><div>This is what I added in the rpt.conf file inside your node stanza</div><div><div>events=events1968 ; change 1968 to your own node number or don't put one</div><div><br></div><div>After the node stanzas in the rpt.conf file, add this :</div><div><br></div><div>[events1968]</div><div>touch /tmp/RPT_TXKEYED1968 = S|T|RPT_TXKEYED</div><div>rm -f /tmp/RPT_TXKEYED1968 = S|F|RPT_TXKEYED</div></div><div><br></div><div><br></div><div>Then on the txfan script change the following</div><div><pre style="word-wrap:break-word;white-space:pre-wrap">PTTSTATE="/dev/shm/~pttstate" to</pre><pre style="word-wrap:break-word;white-space:pre-wrap">PTTSTATE="/tmp/RPT_<wbr>TXKEYED1968"</pre><pre style="word-wrap:break-word;white-space:pre-wrap"><br></pre><pre style="word-wrap:break-word;white-space:pre-wrap">This should work using the HamVOIP version.</pre><pre style="word-wrap:break-word;white-space:pre-wrap">73,</pre><pre style="word-wrap:break-word;white-space:pre-wrap"><br></pre><pre style="word-wrap:break-word;white-space:pre-wrap">Lito KI9H</pre></div><div><br><div><hr>Date: Fri, 26 Aug 2016 17:18:38 -0500<br>To: <a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a><br>Subject: Re: [arm-allstar] Fan Control Using URI (or RIM) I/O<br>From: <a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a><br>CC: <a href="mailto:wb5nfc@gmail.com" target="_blank">wb5nfc@gmail.com</a><br><br><div dir="ltr">Thanks for the info, Roselito. One of the things I have not been able to resolve is a reference to a folder that does not exist. At first, I thought that it was just a difference in the distributions (I'm using <span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;background-color:rgb(238,238,238)">RPi2-3 V1.02beta - with simpleusb - but attempting to follow the instructions on the latinovoip site)</span>. So I downloaded the latinovoip distro maintained by KP4TR, unzipped it, loaded it on a fresh micro SSD card, and booted it. I then went looking for the /etc/asterisk/local folder... but it does not exist in that version, either. The /etc/asterisk/local folder is mentioned a couple of times in the instructions on the latinovoip site...<div><br></div><div>J. <div><br></div><div><br><div><br><div>On Fri, Aug 26, 2016 at 4:51 PM, Roselito de los Reyes via arm-allstar <span dir="ltr"><<a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a>></span> wrote:<br><blockquote style="border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><div dir="ltr">John,<div><br></div><div>Also, make sure the file that you're monitoring ie. <span style="white-space:pre-wrap;font-size:12pt">PTTSTATE="/dev/shm/~pttstate" is in the right folder. the Latinovoip version is located in /tmp</span></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">73</span></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">Lito KI9H<br></span><br><div><hr>To: <a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a><br>Date: Fri, 26 Aug 2016 14:44:05 -0700<br>Subject: Re: [arm-allstar] Fan Control Using URI (or RIM) I/O<br>From: <a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a><br>CC: <a href="mailto:tolitski@hotmail.com" target="_blank">tolitski@hotmail.com</a><br><br>
<div dir="ltr">my mistake .. it looks like you DO have to make changes to your rpt.conf file to create the /dev/shm/~pttstate file.<div><br></div><div>Lito<br><br><div><hr>To: <a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a><br>Date: Fri, 26 Aug 2016 14:42:40 -0700<br>Subject: Re: [arm-allstar] Fan Control Using URI (or RIM) I/O<br>From: <a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a><br>CC: <a href="mailto:tolitski@hotmail.com" target="_blank">tolitski@hotmail.com</a><br><br>
<div dir="ltr">John,<div><br></div><div>the k0kn version refers to an old code from the Acid release. it looks like a file is generated whenever the PTT is pressed and that is what K0KN's code is looking for. I don't think this is valid with the HamVOIP code. I could be wrong.</div><div><br></div><div>73,</div><div><br></div><div>Lito KI9H<br><br><div><hr>Date: Fri, 26 Aug 2016 16:01:08 -0500<br>To: <a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a><br>Subject: [arm-allstar] Fan Control Using URI (or RIM) I/O<br>From: <a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a><br>CC: <a href="mailto:wb5nfc@gmail.com" target="_blank">wb5nfc@gmail.com</a><br><br><div dir="ltr">Can anyone point me in the direction of documentation on how to set up a node radio cooling fan using an I/O port on a URI or RIM? I don't want to use a temperature sensor.<div><br></div><div>I've found the K0KN script (<a href="http://www.qsl.net/k0kn/txfan" target="_blank">http://www.qsl.net/k0kn/txfan</a><wbr>), but I'm not having any luck making it work. I've looked through the How To's on the ARM Allstar site, but I'm only finding info for using USB with a FTDI chip. Thought I could figure it out with info from <a href="http://latinovoip.net/allstar-and-the-gpio-fan-script-for-dmk-engineering-uri/" target="_blank">http://latinovoip.net/all<wbr>star-and-the-gpio-fan-script-<wbr>for-dmk-engineering-uri/</a> but I'm not having any luck with that information either. Suggestions appreciated....</div><div><br></div><div>John </div></div>
<br>______________________________<wbr>_________________
arm-allstar mailing list
<a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a>
<a href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" target="_blank">http://lists.hamvoip.org/cgi-b<wbr>in/mailman/listinfo/arm-allsta<wbr>r</a>
Visit the BBB and RPi2 web page - <a href="http://hamvoip.org" target="_blank">http://hamvoip.org</a></div></div> </div>
<br>______________________________<wbr>_________________
arm-allstar mailing list
<a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a>
<a href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" target="_blank">http://lists.hamvoip.org/cgi-b<wbr>in/mailman/listinfo/arm-allsta<wbr>r</a>
Visit the BBB and RPi2 web page - <a href="http://hamvoip.org" target="_blank">http://hamvoip.org</a></div></div> </div>
<br>______________________________<wbr>_________________
arm-allstar mailing list
<a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a>
<a href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" target="_blank">http://lists.hamvoip.org/cgi-b<wbr>in/mailman/listinfo/arm-allsta<wbr>r</a>
Visit the BBB and RPi2 web page - <a href="http://hamvoip.org" target="_blank">http://hamvoip.org</a></div></div> </div></div>
<br>______________________________<wbr>_________________<br>
<br>
arm-allstar mailing list<br>
<a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a><br>
<a href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" rel="noreferrer" target="_blank">http://lists.hamvoip.org/cgi-b<wbr>in/mailman/listinfo/arm-allsta<wbr>r</a><br>
<br>
Visit the BBB and RPi2 web page - <a href="http://hamvoip.org" rel="noreferrer" target="_blank">http://hamvoip.org</a><br></blockquote></div><br></div></div></div></div>
<br>______________________________<wbr>_________________
arm-allstar mailing list
<a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a>
<a href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" target="_blank">http://lists.hamvoip.org/cgi-<wbr>bin/mailman/listinfo/arm-<wbr>allstar</a>
Visit the BBB and RPi2 web page - <a href="http://hamvoip.org" target="_blank">http://hamvoip.org</a></div></div> </div></div>
<br>______________________________<wbr>_________________<br>
<br>
arm-allstar mailing list<br>
<a href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a><br>
<a href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" rel="noreferrer" target="_blank">http://lists.hamvoip.org/cgi-<wbr>bin/mailman/listinfo/arm-<wbr>allstar</a><br>
<br>
Visit the BBB and RPi2 web page - <a href="http://hamvoip.org" rel="noreferrer" target="_blank">http://hamvoip.org</a><br></blockquote></div><br></div></div></div>