<div dir="ltr"><div><br></div><div class="gmail_extra"><div class="gmail_quote">On Fri, Aug 16, 2013 at 6:41 AM, Joseph Bebel <span dir="ltr">&lt;<a href="mailto:joseph.bebel@gmail.com" target="_blank">joseph.bebel@gmail.com</a>&gt;</span> wrote:<br>
<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><div>Hi Ron and Matt,</div><div><br></div>
<div>Here is a mega-data-dump which I hope you will find informative. The first part is the network activity from changing the channel using the web interface in Chrome. The second is the output from mythbackend. The third is the HTTP transcript between that running of mythbackend and the ceton device, as best I could get (I&#39;m not a networks guy :) )</div>

<div><br></div><div>Thanks for helping!</div><div>Joe</div><div><br></div><div>------------------------------------</div><div>Request URL: <a href="http://192.168.1.8/channel_request.cgi" target="_blank">http://192.168.1.8/channel_request.cgi</a><br>

Request Method: POST<br>Status Code:302 Found<div><br>Request Headers<br>Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8<br>Accept-Encoding: gzip,deflate,sdch<br>Accept-Language: en-US,en;q=0.8<br>

Cache-Control: max-age=0<br>Connection: keep-alive<div>Content-Length: 26<br>Content-Type: application/x-www-form-urlencoded<br>Host: 192.168.1.8<br>Origin: <a href="http://192.168.1.8" target="_blank">http://192.168.1.8</a><br>
Referer: <a href="http://192.168.1.8/Services/1/Tuner.html" target="_blank">http://192.168.1.8/Services/1/Tuner.html</a><br>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36<br>Form Dataview sourceview URL encoded<br>instance_id: 0<br>channel: 1002<br><br>Response Headers<br>

Content-Type: text/html<br>DATE: Thu, 01 Jan 1970 00:00:55 GMT<br>Location: <a href="http://192.168.1.8/Services/1/Tuner.html" target="_blank">http://192.168.1.8/Services/1/Tuner.html</a><br>SERVER: Linux/3.0.1+, UPnP/1.0</div>
</div></div>
<div>--------------------------------------------------------</div><div>$ mythbackend -v channel,record</div><div>2013-08-16 02:24:51.344643 C  mythbackend version: fixes/0.26 [v0.26.0-220-g92dbb43] <a href="http://www.mythtv.org" target="_blank">www.mythtv.org</a><br>

</div><div>2013-08-16 02:24:51.344651 C  Qt version: compile: 4.8.4, runtime: 4.8.4</div><div>2013-08-16 02:24:51.344654 N  Enabled verbose msgs:  general channel record</div><div>2013-08-16 02:24:51.344658 N  Setting Log Level to LOG_INFO</div>

<div>2013-08-16 02:24:51.344805 I  Added logging to the console</div><div>2013-08-16 02:24:51.345059 I  Setup Interrupt handler</div><div>2013-08-16 02:24:51.345063 I  Setup Terminated handler</div><div>2013-08-16 02:24:51.345066 I  Setup Segmentation fault handler</div>

<div>2013-08-16 02:24:51.345068 I  Setup Aborted handler</div><div>2013-08-16 02:24:51.345071 I  Setup Bus error handler</div><div>2013-08-16 02:24:51.345073 I  Setup Floating point exception handler</div><div>2013-08-16 02:24:51.345076 I  Setup Illegal instruction handler</div>

<div>2013-08-16 02:24:51.345081 I  Setup Real-time signal 0 handler</div><div>2013-08-16 02:24:51.345099 N  Using runtime prefix = /usr</div><div>2013-08-16 02:24:51.345104 N  Using configuration directory = /home/bebel/.mythtv</div>

<div>2013-08-16 02:24:51.345215 I  Assumed character encoding: en_US.UTF-8</div><div>2013-08-16 02:24:51.345420 N  Empty LocalHostName.</div><div>2013-08-16 02:24:51.345425 I  Using localhost value of localhost</div><div>

2013-08-16 02:24:51.350476 N  Setting QT default locale to en_US</div><div>2013-08-16 02:24:51.350518 I  Current locale en_US</div><div>2013-08-16 02:24:51.350536 N  Reading locale defaults from /usr/share/mythtv//locales/en_us.xml</div>

<div>2013-08-16 02:24:51.352230 I  Current MythTV Schema Version (DBSchemaVer): 1307</div><div>2013-08-16 02:24:51.352361 I  Loading en_us translation for module mythfrontend</div><div>2013-08-16 02:24:51.352482 N  MythBackend: Starting up as the master server.</div>

<div>2013-08-16 02:24:51.353644 I  TVRec(1): Start channel: 1002.</div><div>2013-08-16 02:24:51.353660 I  CetonChan(192.168.1.8-RTP.0): Opening Ceton channel</div><div>2013-08-16 02:24:51.567599 I  Added logging to mythlogserver at TCP:35327</div>

<div>2013-08-16 02:24:51.579412 I  CetonSH(192.168.1.8-RTP.0): Ceton device 192.168.1.8 initialized. SN: ***removed***, Firmware ver. 13.5.24.142, Hardware ver. 7359</div><div>2013-08-16 02:24:51.668085 I  CetonSH(192.168.1.8-RTP.0): Cable card installed (Motorola) - Validated, validation message is received, authenticated, and the IDs match those in the current binding</div>

<div>2013-08-16 02:24:51.668130 I  CetonSH: Creating new stream handler 192.168.1.8-RTP.0 for 192.168.1.8-RTP.0</div><div>2013-08-16 02:24:51.671080 I  ChannelBase(1): Input #1: &#39;MPEG2TS&#39; schan(1002) sourceid(2) ccid(1)</div>

<div>2013-08-16 02:24:51.671135 I  ChannelBase(1): Current Input #1: &#39;MPEG2TS&#39;</div><div>2013-08-16 02:24:51.672268 I  DTVChan(192.168.1.8-RTP.0): SetChannelByString(1002): </div><div>2013-08-16 02:24:51.673233 I  CetonSH(192.168.1.8-RTP.0): ClearProgramNumber()</div>

<div>2013-08-16 02:24:51.673244 I  CetonSH(192.168.1.8-RTP.0): PerformTuneVChannel(0)</div><div>2013-08-16 02:24:51.822106 I  CetonSH(192.168.1.8-RTP.0): TuneVChannel()</div><div>2013-08-16 02:24:51.822109 I  CetonSH(192.168.1.8-RTP.0): PerformTuneVChannel()</div>

<div>2013-08-16 02:24:51.863643 I  DTVChan(192.168.1.8-RTP.0): SetChannelByString(1002): success</div><div>2013-08-16 02:24:51.910402 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 1</div><div>2013-08-16 02:24:52.062492 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 2</div>

<div>2013-08-16 02:24:52.214483 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 3</div><div>2013-08-16 02:24:52.361389 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 4</div><div>2013-08-16 02:24:52.508289 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 5</div>

<div>2013-08-16 02:24:52.655382 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 6</div><div>2013-08-16 02:24:52.797241 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 7</div><div>2013-08-16 02:24:52.943636 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 8</div>

<div>2013-08-16 02:24:53.089754 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 9</div><div>2013-08-16 02:24:53.231293 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 10</div><div>2013-08-16 02:24:53.398814 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 11</div>

<div>2013-08-16 02:24:53.545796 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 12</div><div>2013-08-16 02:24:53.692759 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 13</div><div>2013-08-16 02:24:53.839795 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 14</div>

<div>2013-08-16 02:24:53.986891 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 15</div><div>2013-08-16 02:24:54.134155 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 16</div><div>2013-08-16 02:24:54.281275 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 17</div>

<div>2013-08-16 02:24:54.428257 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 18</div><div>2013-08-16 02:24:54.570099 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 19</div><div>2013-08-16 02:24:54.727050 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 20</div>

<div>2013-08-16 02:24:54.874124 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 21</div><div>2013-08-16 02:24:55.021262 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 22</div><div>2013-08-16 02:24:55.168406 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 23</div>

<div>2013-08-16 02:24:55.314911 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 24</div><div>2013-08-16 02:24:55.461907 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 25</div><div>2013-08-16 02:24:55.619247 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 26</div>

<div>2013-08-16 02:24:55.781647 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 27</div><div>2013-08-16 02:24:55.928673 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 28</div><div>2013-08-16 02:24:56.075807 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 29</div>

<div>2013-08-16 02:24:56.222976 I  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() got 0 on attempt 30</div><div>2013-08-16 02:24:56.323130 E  CetonSH(192.168.1.8-RTP.0): GetProgramNumber() failed to get a non-zero program number</div>

<div>2013-08-16 02:24:56.323172 I  CetonSH(192.168.1.8-RTP.0): TuneFrequency(0, qam_256)</div><div>2013-08-16 02:24:56.421185 I  CetonSH(192.168.1.8-RTP.0): TuneVChannel(0)</div><div>2013-08-16 02:24:56.421199 I  CetonSH(192.168.1.8-RTP.0): PerformTuneVChannel(0)</div>

<div>2013-08-16 02:24:56.480996 I  TVRec(1): SetFlags(RunMainLoop,) -&gt; RunMainLoop,</div><div>2013-08-16 02:24:56.481021 I  TVRec(1): ClearFlags(ExitPlayer,FinishRecording,) -&gt; RunMainLoop,</div><div>2013-08-16 02:24:56.484895 I  Found 1 distinct programid authorities</div>

<div>2013-08-16 02:24:56.485286 I  New static DB connectionSchedCon</div><div>2013-08-16 02:24:56.491451 I  Listening on TCP <a href="http://127.0.0.1:6544" target="_blank">127.0.0.1:6544</a></div><div>2013-08-16 02:24:56.491565 I  Listening on TCP [::1]:6544</div>

<div>2013-08-16 02:24:56.493870 N  MediaServer:: Loopback address specified - 127.0.0.1. Disabling UPnP</div><div>2013-08-16 02:24:56.493882 I  Main::Registering HttpStatus Extension</div><div>2013-08-16 02:24:56.495993 I  Listening on TCP <a href="http://127.0.0.1:6543" target="_blank">127.0.0.1:6543</a></div>

<div>2013-08-16 02:24:56.496108 I  Listening on TCP [::1]:6543</div><div>2013-08-16 02:24:56.498183 N  AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min</div><div>2013-08-16 02:24:59.491078 I  Reschedule requested for MATCH 0 0 0 - SchedulerInit</div>

<div>2013-08-16 02:24:59.523203 I  Scheduled 0 items in 0.0 = 0.01 match + 0.00 check + 0.01 place</div><div>2013-08-16 02:24:59.527315 I  Scheduler: Seem to be woken up by USER</div><div>2013-08-16 02:25:06.487737 I  Running housekeeping thread</div>

<div>2013-08-16 02:25:17.416328 C  Received Interrupt: Code 128, PID 0, UID 0, Value 0x00000000</div><div>2013-08-16 02:25:17.417459 N  MythBackend exiting</div><div>2013-08-16 02:25:17.422598 I  TVRec(1): ClearFlags(RunMainLoop,) -&gt; 0x0</div>

<div>2013-08-16 02:25:17.422710 I  CetonChan(192.168.1.8-RTP.0): Closing Ceton channel</div><div>2013-08-16 02:25:17.422720 I  CetonSH: Closing handler for 192.168.1.8-RTP.0</div><div>2013-08-16 02:25:17.422731 I  CetonSH(192.168.1.8-RTP.0): TuneFrequency(0, qam_256)</div>

<div>2013-08-16 02:25:17.520825 I  CetonSH(192.168.1.8-RTP.0): TuneVChannel(0)</div><div>2013-08-16 02:25:17.520840 I  CetonSH(192.168.1.8-RTP.0): PerformTuneVChannel(0)</div><div>2013-08-16 02:25:17.572819 I  TVRec(1): ClearFlags(RecorderRunning,) -&gt; 0x0</div>

<div>2013-08-16 02:25:17.572857 I  Waiting for threads to exit.</div></div><div>----------------------------------------------------</div><div>HTTP Transcript</div>GET /get_var.json?i=0&amp;s=diag&amp;v=Host_IP_Address HTTP/1.1<br>

<div>{ &quot;result&quot;: &quot;192.168.1.8&quot; }<br></div><div>GET /get_var.json?i=0&amp;s=cas&amp;v=CardStatus HTTP/1.1<br></div><div>{ &quot;result&quot;: &quot;Inserted&quot; }<br></div><div>GET /get_var.json?i=0&amp;s=diag&amp;v=Host_Serial_Number HTTP/1.1<br>

</div><div>{ &quot;result&quot;: &quot;actual ceton serial number removed here&quot; }<br></div><div>GET /get_var.json?i=0&amp;s=diag&amp;v=Host_Firmware HTTP/1.1<br></div><div>{ &quot;result&quot;: &quot;13.5.24.142&quot; }<br>

</div><div>GET /get_var.json?i=0&amp;s=diag&amp;v=Hardware_Revision HTTP/1.1<br></div><div>{ &quot;result&quot;: &quot;7359&quot; }<br></div><div><div>GET /get_var.json?i=0&amp;s=cas&amp;v=CardManufacturer HTTP/1.1</div>
</div>
<div>{ &quot;result&quot;: &quot;Motorola&quot; }<br></div><div><div>GET /get_var.json?i=0&amp;s=cas&amp;v=CardAuthorization HTTP/1.1</div></div><div>{ &quot;result&quot;: &quot;Validated, validation message is received, authenticated, and the IDs match those in the current binding&quot; }<br>

</div><div><div>POST /channel_request.cgi HTTP/1.1</div><div>content-type: application/x-www-form-urlencoded<br></div><div>content-length: 23</div><div>instance_id=0&amp;channel=0<br></div></div><div><div>HTTP/1.1 302 Found</div>

<div>Content-Type: text/html</div><div>DATE: Thu, 01 Jan 1970 00:07:38 GMT</div><div>SERVER: Linux/3.0.1+, UPnP/1.0</div><div>Location: /</div></div><div><div>GET /get_var.json?i=0&amp;s=mux&amp;v=ProgramNumber HTTP/1.1</div>

</div><div>{ &quot;result&quot;: &quot;0&quot; }<br></div><div>POST /channel_request.cgi HTTP/1.1<br></div><div><div>content-type: application/x-www-form-urlencoded</div><div>content-length: 22</div><div>instance_id=0&amp;channel=<br>

</div></div><div><div>GET /get_var.json?i=0&amp;s=mux&amp;v=ProgramNumber HTTP/1.1</div></div><div>{ &quot;result&quot;: &quot;0&quot; }<br></div><div>***a lot more of the same GET / { &quot;result&quot;: &quot;0&quot; } pair, removed***</div>

<div><div>POST /tune_request.cgi HTTP/1.1</div><div>content-type: application/x-www-form-urlencoded<br></div><div>content-length: 78</div><div>instance_id=0&amp;frequency=0&amp;modulation=2&amp;tuner=1&amp;demod=1&amp;rst_chnl=0&amp;force_tune=0<br>

</div></div><div><div>HTTP/1.1 302 Found</div><div>Content-Type: text/html</div><div>DATE: Thu, 01 Jan 1970 00:07:43 GMT</div><div>SERVER: Linux/3.0.1+, UPnP/1.0</div><div>Location: /</div></div><div><div>POST /channel_request.cgi HTTP/1.1</div>

<div>content-type: application/x-www-form-urlencoded</div><div>content-length: 23</div><div>instance_id=0&amp;channel=0</div></div><div><div>HTTP/1.1 302 Found</div><div>Content-Type: text/html</div><div>DATE: Thu, 01 Jan 1970 00:07:43 GMT</div>

<div>SERVER: Linux/3.0.1+, UPnP/1.0</div><div>Location: /</div></div></div>
<br>_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<br></blockquote></div><br><br><div>The definite good news here is that it appears the problem is not due to a difference in the devices behavior. Based on the info you&#39;ve provided, It appears (at least so far) to be compatible with the 4 tuner models protocols.</div>
<div><br></div><div>Beyond that, I&#39;m a little uncertain. The first thing I notice when looking at your logs, is the following in the HTTP log:</div><div><br></div><div><div style="font-family:arial,sans-serif;font-size:13px">
POST /channel_request.cgi HTTP/1.1<br></div><div style="font-family:arial,sans-serif;font-size:13px"><div>content-type: application/x-www-form-urlencoded</div><div>content-length: 22</div><div>instance_id=0&amp;channel=</div>
<div><br></div><div>Note that the channel parameter is blank in your last line. Then I look in the backend logs and see:</div><div>CetonSH(192.168.1.8-RTP.0): PerformTuneVChannel()<br></div><div><br></div><div>I double checked the code, and PerformTuneVChannel should be getting passed a channel number as a parameter, and that channel number should have been included in the log. So it would seem it&#39;s trying to tune a blank channel number. Looking at the code, it&#39;s a little complex to trace down, but the only way I can see that happening is if your channel configuration is a bit screwy. So that&#39;s my current theory. Where did your current channel configuration come from? Did you create it from scratch, or did you reuse one you already had setup for a different tuner? If the latter, what type of tuner was it created for? Different tuners fill in different values in the database fields, so channel configs for one tuner type is not always compatible with another tuner type.</div>
<div><br></div><div>My suggestion is going to be to create a brand new channel lineup, just for your ceton device. So create a brand new video source linked to the same same schedules direct lineup, assign it to your ceton tuner in the Input Connections screen and then click &quot;Fetch channels from listing source&quot;. You might need to then run mythfilldatabase again (not positive).</div>
<div><br></div></div></div><div><br></div>-- <br>Ron Frazier
</div></div>