<div class="gmail_quote"><div><div class="h5">On Thu, Mar 10, 2011 at 5:43 PM, Christian Szpilfogel <span dir="ltr">&lt;<a href="mailto:chriszpml@gmail.com" target="_blank">chriszpml@gmail.com</a>&gt;</span> wrote:<br></div>
</div><div class="gmail_quote"><div><div></div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 10/03/2011 5:05 PM, Christopher Meredith wrote:<div><div></div><div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thu, Mar 10, 2011 at 2:57 PM, Christian Szpilfogel &lt;<a href="mailto:chriszpml@gmail.com" target="_blank">chriszpml@gmail.com</a> &lt;mailto:<a href="mailto:chriszpml@gmail.com" target="_blank">chriszpml@gmail.com</a>&gt;&gt; wrote:<br>


<br>
<br>
    It is worth trying all options from 1 to 7. Even though it looks like<br>
    each encoding is for a different box, the reality is that these<br>
    are all<br>
    permutations allowed within the standard. If none of these work then<br>
    there is a permutation missing.<br>
<br>
    What mythchanger does is use the PANEL commands for an STB. This in<br>
    effect is like pressing the buttons on a remote or front panel of the<br>
    STB. Sometimes you can send the digits in a block (usually<br>
    optional) but<br>
    sometimes they have to be sent button by button. Sometimes the STB is<br>
    looking for key press down and in others key press release. And in<br>
    some<br>
    cases like some SA boxes it is looking for a key press down<br>
    followed by<br>
    a key press release. The sequence of buttons required to change the<br>
    channel should be the as on your remote. So if you need to press enter<br>
    at the end then you will also need to do this via firewire (say using<br>
    stb-command). The protocol for this has not been more complicated than<br>
    this in my experience.<br>
<br>
    You can play with the code and try different options based on the<br>
    examples you see. The first thing to note is try any digits with<br>
    various<br>
    options and see if the STB is responding at all.<br>
<br>
<br>
So what does it mean if I&#39;ve tried all 7 permutations, each with combinations of 1, 2, 3, and 4-digit channel numbers, and in every case, the STB does not respond in any way whatsoever? And I&#39;ll add that *capture* over the exact same firewire connection works perfectly, as long as I manually set the channel using the remote.<br>


</blockquote></div></div>
My interpretation is you haven&#39;t found the right digit incantation. As I said in my description you may need to try other permutations that are not covered within the 7 standard permutations. This will require some minor code mods to try and send the right messages. The simplest form is to send single digits. You may need to try button down followed by button release as an example with a single digit. Only option 1 does this from my read of the code and that is only for one permutation which sends the digits in bulk. You could try adding a key release for each other permutation to see if that helps. Note a key release should obviously match a key press. Look at &quot;SA3250HD&quot; in function ChStb1 for an example.<br>


<br>
Scientific Atlanta/Cisco are notoriously difficult to figure out from my own experience and from the perspective of the author of mythchanger. It is always possible they did something funky. It is also possible that they don&#39;t implement it but I actually doubt that.<br>


<br>
On a whim, also try stb-command with something like &quot;stb-command -n &lt;nodeid&gt; &lt;digit&gt;&quot; so for example &quot;stb-command -n 1 1&quot; (sub in the right node id as determined from plugreport. stb-command uses a different panel command to send the digits. Who knows they may have moved to that one.<br>


<br>
You can find stb-command at: <a href="http://code.google.com/p/stb-command/" target="_blank">http://code.google.com/p/stb-command/<br></a></blockquote><div><br></div></div></div><div>I looked at the function you referred to in mythchanger.c and I think I see what you mean, but I don&#39;t know enough about this to do anything with it. And I tried stb-command as well. For most commands (including 0-9) it returns:</div>

<div><br></div><div>Command Not Implemented on STB, Response: 0x08487C21</div><div><br></div><div>and the like. Some commands return success, but nothing actually happens. I think I may officially be in over my head.</div>

</div>
</div><br>