<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Now, i just need to map this to a button/script.<br>
</blockquote><div><br>Ok i wrote a simple scirpt to send the cmd:<br> <br></div></div>[root@mythtv ~]# cat /usr/bin/pj_cont <br>#this script controls Optoma HD80 via serial connecion. takes in 1 variable as $1 and adds that to the cmd to be sent.<br>
<br>#set baud rate<br>stty -F /dev/ttyUSB0 115200<br><br><br>echo &quot;* 0 IR &quot;$1&quot;\r&quot; &gt; /dev/ttyUSB0<br><br>It works great.  but i would like to make it easier to use.<br><br>Right now, i have to call it by <br>
<br>pj_cont 008 <br><br>this brings the menu up.  I would like to save all the numbers to keys in an array or simpilar so i can say<br><br>pj_cont menu <br><br>and the script pulls up the correct number and sends it.<br><br>
Next,<br>i cant get power on to work.  The manual says<br><br>Viewed as           command                                     descrip.<br>OKOKOKOKOK OKOKOKOKOK&lt;CR&gt; &lt;LF&gt; -- s Power On Default ACK<br><br>Sending <br>
echo &quot;OKOKOKOKOK\r\n&quot; does not power on the pj.  Am i reading something wrong?<br><br>Thanks,<br>Mitchell<br><br><br>