<div dir="ltr">On Sun, Aug 18, 2013 at 2:43 PM, Matt Mossholder <span dir="ltr">&lt;<a href="mailto:matt@mossholder.com" target="_blank">matt@mossholder.com</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="im"><span style="color:rgb(34,34,34)">Oops... sorry about the top posting and confusion on get_var.</span><br>

</div><div class="gmail_extra"><br></div><div class="gmail_extra">Another bit of information that I managed to extract... I was able to, just once, get it to record by going into the device&#39;s web interface, and setting the streaming state to &quot;started&quot; right after starting a recording. I left the ports, channel, frequency, and all other settings the same. </div>


<div class="gmail_extra"><br></div><div class="gmail_extra">I wonder if it has to do with the RTSP setup, rather than the actual tuning. Tuning seems to work right initially (indicated by a GetProgramNumber result of 2 after the initial PerformTuneVChannel), but once it starts looking for data on the RTP stream, it fails after 5 seconds. After that, it is never able to find the program number again. In fact, the specific tuner seems to get hosed until a power cycle.</div>

<span class=""><font color="#888888">
<div class="gmail_extra"><br></div><div class="gmail_extra">   --Matt</div></font></span></div>
</blockquote></div><br></div><div class="gmail_extra">Here are some logs from the Ceton that show some more detail:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="" style="padding:10px;color:rgb(0,0,0);font-family:Verdana,Helvetica,Arial">

<pre id="log_content">Jan  1 00:13:14 ocur[21]: ocur: [3] Attempting to SetChannel (Channel=14  SourceId=0  Mode=0)
Jan  1 00:13:14 ocur[21]: ocur: Disabled table monitor for instance 0
Jan  1 00:13:14 ocur[21]: ocur: [3] Program number set to 0, was 1
Jan  1 00:13:14 ocur[21]: ocur: [3] Tune to 14 (mod=q256, freq=111000, program=11, std=9)
Jan  1 00:13:14 ocur[21]: ocur: [3] Program number set to 11, was 0
Jan  1 00:13:14 ocur[21]: ocur: Disabled table monitor for instance 0
Jan  1 00:13:14 ocur[21]: ocur: [3] Locked: 0 Acc E: 0
Jan  1 00:13:14 ocur[21]: libcetonrtsp: object cetonmpeg3
Jan  1 00:13:14 ocur[21]: libctn91xx: Setting mpeg_eth headers for instance 3
Jan  1 00:13:14 ocur[21]: libctn91xx: rip C0A80014 lip C0A8003C rp 58949 lp 43012
Jan  1 00:13:14 ocur[21]: ocur: [3] rtp setup for client <a href="http://192.168.0.20:58949">192.168.0.20:58949</a>
Jan  1 00:13:14 ocur[21]: ocur: [3] Tune finished to freq 111000
Jan  1 00:13:14 ocur[21]: ocur: [3] Getting pmt for program 11
Jan  1 00:13:15 ocur[21]: ocur: [3] Got pmt for program# 11
Jan  1 00:13:15 ocur[21]: ocur: [3] Adding pid 0x0030
Jan  1 00:13:15 ocur[21]: ocur: [3] Adding pid 0x0031
Jan  1 00:13:15 ocur[21]: ocur: [3] Adding pid 0x0032
Jan  1 00:13:15 ocur[21]: ocur: [3] Adding pid 0x0033
Jan  1 00:13:15 ocur[21]: ocur: [3] Adding pid 0x0034
Jan  1 00:13:15 ocur[21]: ocur: [3] Adding pid 0x0035
Jan  1 00:13:15 ocur[21]: ocur: [3] Adding pid 0x0036
Jan  1 00:13:15 ocur[21]: ocur: [3] Adding pid 0x0037
Jan  1 00:13:15 ocur[21]: ocur: [3] Adding pid 0x0038
Jan  1 00:13:15 ocur[21]: ocur: [3] Adding pid 0x0039
Jan  1 00:13:15 ocur[21]: ocur: [3] Adding pid 0x003a
Jan  1 00:13:15 ocur[21]: ocur: [3] Adding pid 0x003b
Jan  1 00:13:15 ocur[21]: ocur: [3] Adding pid 0x003c
Jan  1 00:13:15 ocur[21]: upnp: Event(tuner[3]): PCRLock, &quot;1&quot;
Jan  1 00:13:15 ocur[21]: ocur: [3] Adding pid 0x0000
Jan  1 00:13:15 ocur[21]: ocur: [3] Adding pid 0x09c0
Jan  1 00:13:15 ocur[21]: ocur: [3] Adding pid 0x09c1
Jan  1 00:13:15 ocur[21]: ocur: [3] Adding pid 0x09c2
Jan  1 00:13:15 ocur[21]: ocur: Disabled table monitor for instance 0
Jan  1 00:13:15 ocur[21]: ocur: Enabled table monitor for instance 0
Jan  1 00:13:15 ocur[21]: ocur: [3] Channel is clear
Jan  1 00:13:15 ocur[21]: ocur: [3] Sending ca_pmt to CableCARD for program number 11 index 2
Jan  1 00:13:15 ocur[21]: ocur: [3] rtp teardown for client <a href="http://192.168.0.20:58949">192.168.0.20:58949</a>
Jan  1 00:13:15 ocur[21]: libcetonrtsp: object cetonmpeg3
Jan  1 00:13:15 ocur[21]: libctn91xx: Setting mpeg_eth headers for instance 3
Jan  1 00:13:15 ocur[21]: libctn91xx: rip C0A80014 lip C0A8003C rp 51535 lp 43012
Jan  1 00:13:15 ocur[21]: ocur: [3] rtp setup for client <a href="http://192.168.0.20:51535">192.168.0.20:51535</a>
Jan  1 00:13:15 ocur[21]: ocur: [3] Carrier lock is 1
Jan  1 00:16:41 ocur[21]: ocur: [3] rtp teardown for client <a href="http://192.168.0.20:51535">192.168.0.20:51535</a>
Jan  1 00:16:41 ocur[21]: ocur: [3] Program number set to 65535, was 11
Jan  1 00:16:41 ocur[21]: ocur: Disabled table monitor for instance 0
Jan  1 00:16:41 ocur[21]: ocur: [3] Locked: 1 Acc E: 18
Jan  1 00:16:42 ocur[21]: libcetontune: ERROR: Failed to set frequency on instance 3
Jan  1 00:16:42 ocur[21]: ocur: WARNING: [3] Frequency set did not take. Freq: 0 Std 9
Jan  1 00:16:42 ocur[21]: ocur: WARNING: Problem tuning
Jan  1 00:16:43 ocur[21]: ocur: [3] Carrier lock is 0
Jan  1 00:16:43 ocur[21]: upnp: Event(tuner[3]): PCRLock, &quot;0&quot;
Jan  1 00:16:43 ocur[21]: ocur: [3] Attempting to SetChannel (Channel=0  SourceId=0  Mode=0)
Jan  1 00:16:43 ocur[21]: ocur: Disabled table monitor for instance 0
Jan  1 00:16:43 ocur[21]: ocur: [3] Program number set to 0, was 65535
Jan  1 00:16:43 ocur[21]: ocur: WARNING: [3] Channel 0 not found
</pre></div><div class="" style="padding:10px;color:rgb(0,0,0);font-family:Verdana,Helvetica,Arial"></div></div><div class="gmail_extra"><br></div></div>