<div class="gmail_quote">On Tue, May 4, 2010 at 8:05 PM, Christian Szpilfogel <span dir="ltr"><<a href="mailto:chrisznews4@rogers.com">chrisznews4@rogers.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
</blockquote></div></blockquote>
Interesting. It is probably more accurate to say what ever you tell the STB to do, it responds with "on". It is interesting to me that it is responding at all. If it wasn't you would get an error like : "Command Failed, No Response".<br>
<br>
If it is properly responding to the "on" command then that is fine just not ideal in terms of minimizing delay. If it is toggling then that would be a little weird but hey! most of these STB's have quirks.<br>
<br>
The spec is at: <a href="http://s2i.das.ufsc.br/docs/s2igrab/s2igrab/apostilas/Doc1998001.pdf" target="_blank">http://s2i.das.ufsc.br/docs/s2igrab/s2igrab/apostilas/Doc1998001.pdf</a><br>
Check out section 9.1 (p.38) for the actual rules (specified in 1998).<br></blockquote><div><br></div><div>Ah, that is excellent. Now I can understand how the commands are formatted. Using Mike's suggestion of the root menu, I was able to use his code to reliably always set the STB to an on state. The command used is 00487C09. So control command, subunit type 9, subunit id 0, pass through (7C), operand root menu (9), followed by a second quadlet set to 0.</div>
<div><br></div><div>I was unable to get a status that different between when the unit was on and when it was off.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I'm completely jammed for a while but if you want to make code suggestions that have worked for you, I will merge them in (with credit of course).<br>
<br>
I've discovered most of these unit commands and the panel commands by poking at the STB with properly structured commands but at some point I will have to get a proper ieee1394 dev package (suggestions welcome) so I can more efficiently interact with the device and ask it important things like "What do you support" :). Ideally, I would like to improve on this code by adding in the suite of "panel" commands which would be very useful.</blockquote>
<div><br></div><div>I was able to google a version 3.0 of that document, which has sections on descriptors and commands for obtaining them. Looks like this might allow you to enumerate subunits and discover other info about them. At this point I haven't had a chance to read that section carefully.</div>
<div><br></div><div>-Jerry</div></div>