On 5/12/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;">
Brian Meehan wrote:<br>&gt; I've been watching this discussion in hopes of learning something to<br>&gt; get my firewire capture running too. I also have no picture, but I've<br>&gt; noticed that the channel changing is crazy. I have channel 09 set as
<br>&gt; the startup channel for firewire input (local cable news broadcast,<br>&gt; probably not 5C encrypted). The SA3250 changes the channel to 48. ???!<br>&gt; When I set it to channel 508 (G4 TV) it changes to 13hundred
<br>&gt; something. But it's always consistent. Channel 9 is always channel 48.<br>&gt; Channel 508 is always that 13xx channel. I'll try some more and see if<br>&gt; I can find a pattern.<br>&gt;<br>&gt; Could that be the patched channel changer you were talking about? I'm
<br>&gt; running Myth from ATRPMs on FC5.<br><br>The behavior you are seeing is similar to what I saw when I allowed mythbackend<br>to use its internal channel changing code for my SA3250HD.&nbsp;&nbsp;I too would get<br>changes to channel 48 for a lot of different channels I tested on.
<br><br>I am attaching the diff for my changes to mythtv/contrib/sa3250ch.c.<br><br>You'd have to grab sa3250cs.c from svn, patch it, compile it, and install it<br>somewhere, then in the mythtv-setup screen (I believe it's when you link the
<br>video source to the capture card) where you can define an external change<br>channel command, you put the full path to sa3250ch that you built and installed.<br><br>I got this patch from someone in the #mythtv-users channel.&nbsp;&nbsp;Their SA3250HD had
<br>a different vendor id as displayed when using gscanbus, so they updated the<br>sa3250ch.c to recognize the particular vendor id of their hardware.&nbsp;&nbsp;Mine<br>matched the vendor id already in sa3250ch.c, so I left it alone and just made
<br>the changes to the code that sends the commands.<br><br><br>-matt<br><br>--<br>matt mead<br><br><a href="http://collectivity.goof.com/">http://collectivity.goof.com/</a><br><br><br>*** sa3250ch.c.orig&nbsp;&nbsp;&nbsp;&nbsp; 2006-04-07 18:01:
29.000000000 -0400<br>--- sa3250ch.c&nbsp;&nbsp;2006-04-18 21:50:33.000000000 -0400<br>***************<br>*** 121,127 ****<br>--- 121,130 ----<br>&nbsp;&nbsp;&nbsp;&nbsp; dig[0] = 0x30 | ((chn % 1000) / 100);<br><br>&nbsp;&nbsp;&nbsp;&nbsp; cmd[0] = CTL_CMD0 | AVC1394_SA3250_OPERAND_KEY_PRESS;
<br>+&nbsp;&nbsp;&nbsp;&nbsp;/* MCM<br>&nbsp;&nbsp;&nbsp;&nbsp; cmd[1] = CTL_CMD1 | (dig[0] &lt;&lt; 16) | (dig[1] &lt;&lt; 8) | dig[2];<br>+&nbsp;&nbsp;&nbsp;&nbsp;*/<br>+&nbsp;&nbsp;&nbsp;&nbsp;cmd[1] = CTL_CMD1 | (chn &lt;&lt; 8);<br>&nbsp;&nbsp;&nbsp;&nbsp; cmd[2] = CTL_CMD2;<br><br>&nbsp;&nbsp;&nbsp;&nbsp; if (verbose)<br>***************
<br>*** 130,135 ****<br>--- 133,140 ----<br><br>&nbsp;&nbsp;&nbsp;&nbsp; avc1394_transaction_block(handle, 0, cmd, 3, 1);<br>&nbsp;&nbsp;&nbsp;&nbsp; cmd[0] = CTL_CMD0 | AVC1394_SA3250_OPERAND_KEY_RELEASE;<br>+&nbsp;&nbsp;&nbsp;&nbsp;cmd[1] = CTL_CMD1 | (chn &lt;&lt; 8);<br>+&nbsp;&nbsp;&nbsp;&nbsp;cmd[2] = CTL_CMD2;
<br><br>&nbsp;&nbsp;&nbsp;&nbsp; if (verbose)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;AV/C Command: %d%d%d = cmd0=0x%08x cmd2=0x%08x cmd3=0x%08x\n&quot;,<br><br><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><br><br></blockquote></div><br>I saw the exact same thing last night. I am a newbie to using SVN, but when you say get it is that from the mythtv svn or where? Is there a wiki for setting up channel changing through firewire?
<br><br>Allan<br>