On 5/17/06, <b class="gmail_sendername">matt mead</b> &lt;<a href="mailto:m-mythtv@goof.com">m-mythtv@goof.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Allan Wilson wrote:<br>&gt; Thanks for all the help Matt you have been hanging with me through this<br>&gt; entire ordeal. I didn't apply the patch because I don't really know the<br>&gt; correct way to do this. I found the patch I think:
<br><br>[snip]<br><br>&gt; But how do I go in and make the changes to you fix the differences<br>&gt; manually or can you somehow apply this to the source code? Thanks for<br>&gt; all the help. I'll give it a try in an hour or two if I can figure out
<br>&gt; how to do it.<br><br> From mythtv root<br>cd contrib/channel_changers<br>patch -p0 &lt;file_patch_is_stored_in<br>make<br>(if all goes well)<br>cp sa3250ch /usr/local/bin (or wherever you want it installed and configured it
<br>within the mythtv-setup program).<br><br><br>-matt<br><br>--<br>matt mead<br><br><a href="http://collectivity.goof.com/">http://collectivity.goof.com/</a><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">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></blockquote></div>
<br>
Okay thanks matt we are making some progress. I ended up applying your
patch and it did not make a difference. I then spent some time looking
at the code and noticed that what was catching me was basically just
making sure everything was working correctly. Long story short I ended
up commenting out that check and I am now changing the channel running
the command manually. I commented this section in the code:<br>
<div style="margin-left: 40px;"><font size="1">/*</font><br>
<font size="1">&nbsp;&nbsp; if (device == -1) {</font><br>
<font size="1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fprintf(stderr, &quot;Could not find SA3250HD on the 1394 bus.\n&quot;);</font><br>
<font size="1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; raw1394_destroy_handle(handle);</font><br>
<font size="1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exit(1);</font><br>
<font size="1">&nbsp;&nbsp; }</font><br>
<font size="1">*/</font><br>
</div>
and I created a diff file that someone could use to patch if I created it correctly:<br>
<div style="margin-left: 40px;"><font size="1">32,33c32,33</font><br>
<font size="1">&lt; #define SA3250HD_VENDOR_ID&nbsp;&nbsp;&nbsp; 0x00001692</font><br>
<font size="1">&lt; #define SA3250HD_MODEL_ID&nbsp;&nbsp;&nbsp;&nbsp; 0x00000000</font><br>
<font size="1">---</font><br>
<font size="1">&gt; #define SA3250HD_VENDOR_ID&nbsp;&nbsp;&nbsp; 0x000011e6</font><br>
<font size="1">&gt; #define SA3250HD_MODEL_ID&nbsp;&nbsp;&nbsp;&nbsp; 0x00000be0</font><br>
<font size="1">112c112</font><br>
<font size="1">&lt; /*</font><br>
<font size="1">---</font><br>
<font size="1">&gt;</font><br>
<font size="1">118c118</font><br>
<font size="1">&lt; */</font><br>
<font size="1">---</font><br>
<font size="1">&gt;</font><br>
<font size="1">124d123</font><br>
<font size="1">&lt;&nbsp;&nbsp;&nbsp; /* MCM</font><br>
<font size="1">126,127d124</font><br>
<font size="1">&lt;&nbsp;&nbsp;&nbsp; */</font><br>
<font size="1">&lt;&nbsp;&nbsp;&nbsp; cmd[1] = CTL_CMD1 | (chn &lt;&lt; 8);</font><br>
<font size="1">136,137d132</font><br>
<font size="1">&lt;&nbsp;&nbsp;&nbsp; cmd[1] = CTL_CMD1 | (chn &lt;&lt; 8);</font><br>
<font size="1">&lt;&nbsp;&nbsp;&nbsp; cmd[2] = CTL_CMD2;</font><br>
</div>
Okay now to see if I can change channels okay inside of Myth. By the
way does anyone know hot to limit the firewire port to only certain
channels. I limited it on the zap2it guide but it looks like it still
pulled all the channels.<br>
<br>
Allan<br>