[mythtv-users] How to ensure STB is on

George Galt george.galt at gmail.com
Wed May 5 19:58:45 UTC 2010


On Wed, May 5, 2010 at 3:42 PM, M.A.E.M. Hanson
<hansonorders at verizon.net> wrote:
> I had a change to play with my Verizon Motorola QIP-6200 (my box is actually
> QIP-6200-2 if that makes a bit of difference) this morning. Here's what I
> found...
>
> sa3250cmd -v -n0 status # always return "on"
>
> sa3250cmd -v -n0 on # does nothing when the QIP-6200 is in any state
>
> sa3250cmd -v -n0 off # toggles the on/off state of the QIP-6200.
>
> 6200ch -v -n0 -w # toggles the on/off state of the QIP-6200.
>
>
>
> Now for my custom compiled versions of 6200ch...
>
> 6200ch-on -v -n0 -q # Sends discrete power on ; does nothing.
>
> 6200ch-off -v -n0 -q # Sends discrete power off ; does nothing.
>
> 6200ch-menu -v -n0 -q # Sends the ROOT_MENU command ; turns off the screen
> saver or effectively turns "on" the QIP-6200 when in the "off" state.  When
> the QIP-6200 is in the "on" state, it displays the full screen FiOS TV
> configuration menu (I did not catch if the screen had a specific title, so
> that's what I'm calling it for now).
>
> 6200ch-exit -v -n0 -q # Sends the EXIT command ; does nothing when the
> QIP-6200 is in "on" or "off" states, but does clear the full screen FiOS TV
> configuration menu if it is being displayed.
>
> With the QIP-6200 in the "off" state the following was sent:
>
> 6200ch-menu -v -n0 -q ; 6200ch -v -n0 -4 570
>
> It clears the screen saver, but channel change "misfires" and the "5" is not
> sent or sent before the QIP-6200 was ready for it.  I also tried sending
> "0570" but again, only "70" made it to the QIP-6200.
>
> So again in the "off" state, the following was sent:
>
> 6200ch-menu -v -n0 -q ; sleep 1 ; 6200ch -v -n0 -4 570
>
> The screen saver was cleared bringing the QIP-6200 to the "on" state and the
> channel change was sucessful.  I tried this 8-10 times and it worked every
> time.
>
> So I propose, to create a switch (i.e. -q) that sends ROOT_MENU followed by
> EXIT.  That way we can ensure the screen saver is clearerd if it is on or
> the menu is cleared if the screen saver is NOT on... Unless we can figure
> out a reliable was to get the state of the QIP-6200. :)
>
> Mike
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

Mike:

Thanks for looking into this.  One suggestion I might make is to make
the sending of the ROOT_MENU command and the EXIT command as separate
command line switches.  That way, if someone has a timing issue (i.e.,
they need a bit of a delay between sending the ROOT_MENU command and
the EXIT command) they can configure it through a script rather than
having to edit the source.  This probably isn't crucial, but just a
suggestion.

FYI, I'd be happy to test code when you have it.

George

P.S.  I assume you'll submit this as a patch to the devs?


More information about the mythtv-users mailing list