At least for my SA4250HD, I was able to modify the mythtv code slightly in order to turn on the STB when it begins capturing and turn it off when the stream stops. For example, if I hit watch tv, myth will turn on my STB, and tune the channel. Switching channels does not toggle power. When I quit watching tv, myth will turn my STB off. However, this does require a firewire connection to the box.
<br><br>There are certain codes that you can send over firewire to turn on/off the SA STBs and even query their on/off state. I think I found the codes from a mailing list archive entry about the SA3250HD, but the same codes worked for my SA4250HD (even though 4250HDs aren't even supposed to work at all in myth right now, I believe).
<br><br>I'm at work right now, so I don't have the details, but I can pass on the relevant info once I get home.<br><br><div class="gmail_quote">On Jan 10, 2008 8:40 PM, Evuraan::ഏവൂരാന് <<a href="mailto:evuraan@gmail.com">
evuraan@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">Adam Hirsch wrote:<br>> The files will be slightly different, so diff won't help you... but I'll
<br>> tell you what will: gzip. 10 seconds of all-black video will compress down<br>> to a very small file, while 10 seconds of actual running video with<br>> changing images and sound will not. Someone smart on this list suggested
<br>> this solution to me a year ago, and it's worked a treat for me since then.<br>><br><br></div>(1) cat needs to be killed sometimes<br>(2) 10 seconds is too much time to wait.<br><br>check out the link<br><a href="http://evuraan.blogspot.com/2008/01/how-to-ensure-set-top-box-stb-is.html" target="_blank">
http://evuraan.blogspot.com/2008/01/how-to-ensure-set-top-box-stb-is.html</a>,<br>it takes just 2 seconds to run.<br>Plus, it checks multiple frame to be very sure, before it sends a power<br>flick signal.<br><br>For optimal results, I made my channel change script call this, that way
<br>read access to your video device is almost 100% guaranteed.<br><br>You can view the script here also:<br><a href="http://malayalam.homelinux.net/evuraan/check_stb.txt" target="_blank">http://malayalam.homelinux.net/evuraan/check_stb.txt
</a><br><div><div></div><div class="Wj3C7c"><br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></div></div></blockquote></div><br>