<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">OK, on a hunch I looked at the mythconverg database, and I figured out where Myth is getting these whacky channel numbers:<DIV><BR class="khtml-block-placeholder"></DIV><DIV>mysql&gt; select channum,freqid from channel where channum = 9;</DIV><DIV>+---------+--------+</DIV><DIV>| channum | freqid |</DIV><DIV>+---------+--------+</DIV><DIV>| 9       | 187250 |</DIV><DIV>+---------+--------+</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>So, when I tell Myth to change to channel 9, it feeds channel 187250 to the channel changing app. Is something screwed up in my listings feed? I'm getting it from Data Direct/Zap2It or whatever, in San Francisco, CA. Or, is there some way I can tell Myth to use the channum column instead of the freqid column when I give it channels to change to? Not all of the channels are screwed up like this, but a whole lot of them are. If I tell Myth to change to a channel that is configured normally in the db, it is able to do so with no errors. I'm SO CLOSE!!</DIV><DIV><BR><DIV> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">--</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica"><A href="mailto:owen@nerdnetworks.org">owen@nerdnetworks.org</A> (Owen B. Mehegan)</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">'Though this be madness, yet there is method in't.'</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica"><SPAN class="Apple-converted-space">  </SPAN>--William Shakespeare</FONT></P>  </DIV><BR><DIV><DIV>On Jun 28, 2006, at 10:01 PM, Owen Mehegan wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">I definitely need at least the -p /dev/ttyUSB0 because the default serial port is being used by something else. This is the error I see in the mythbackend.log:<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Invalid channel: 187250</DIV><DIV>valid channels are 1 - 999</DIV><DIV>Usage: /usr/local/bin/channel [options] [channel]</DIV><DIV>  -p, --port port              serial port (default: /dev/ttyS0)</DIV><DIV>  -f, --force                  keep going after communication errors</DIV><DIV>  -o, --ok                     send OK after channel number</DIV><DIV>  -b, --blind                  send keys blindly and ignore returned data</DIV><DIV>  -n, --nopower                never attempt to turn box on</DIV><DIV>  -t, --timeout scale          scale all timeouts by this much (default 1.0)</DIV><DIV>  -q, --quiet                  suppress printing of channel on exit</DIV><DIV>  -v, --verbose                be verbose (use twice for extra debugging)</DIV><DIV>  -h, --help                   this help</DIV><DIV>  -V, --version                show program version and exit</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>So something is messed up... where is it getting that crazy channel number? That was in an attempt to switch to channel 9.</DIV><DIV><BR><DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">--</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica"><A href="mailto:owen@nerdnetworks.org">owen@nerdnetworks.org</A> (Owen B. Mehegan)</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">'Something is rotten in the state of Denmark.'</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica"><SPAN class="Apple-converted-space">  </SPAN>--William Shakespeare</FONT></DIV>  </DIV><BR><DIV><DIV>On Jun 28, 2006, at 4:21 PM, Gabe Rubin wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">On 6/28/06, Owen Mehegan &lt;<A href="mailto:owen@nerdnetworks.org">owen@nerdnetworks.org</A>&gt; wrote:</DIV> <BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I have a DCT2224 cable box, and I've got the dct-channel app changing</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">channels on it no problem from the command line. In mythtvsetup I</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">added "/usr/local/bin/channel -v -p /dev/ttyUSB0" to the appropriate</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">video source/input as the channel changing app, but Myth seems to not</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">be using it. When I go to watch live TV and try to change channels,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">nothing happens on the cable box. I don't see any errors in the</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">console output from mythfrontend. Any ideas what I could be doing wrong?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> </BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Try just "/usr/local/bin/channel", that is how I have mine set up.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">mythtv-users mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> </BLOCKQUOTE></DIV><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">mythtv-users mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>