[mythtv-users] Ceton infinitv 6 Eth & mythtv? (Ronald Frazier)

Joseph Bebel joseph.bebel at gmail.com
Thu Aug 15 18:52:35 UTC 2013


Sorry for the delay, I've had to work on other stuff.

I tried what you suggest in chrome and the request/response I get does look
like you describe (getting get_var.json?i=1&s=mux&v=ProgramNumber,
returning { "result": "nonzero program number" }). It doesn't look like the
API there has changed if that's the case.

I did dump all the HTTP traffic between myth and the ceton and I did see
the packets where myth requested version/cablecard status/etc., and the
ceton responded to all of them properly. The problem seemed to be that myth
then requested channel 0 and the ceton responded with program 0 (leading me
to think I failed to configure myth properly). I'll get a bunch more
details to you later tonight when I play with it again.

One note, I had to update to the latest beta firmware in order for the
ceton device to tune at all, even through the web interface (though the
beta firmware seems to work great)

Thanks a lot for all your help!
Joe

On Thu, Aug 15, 2013 at 12:36 PM, Ronald Frazier <ron at ronfrazier.net>
wrote:

> can you enable the channel and record verbose flags for mythbackend and
> get me a log?
>
> Also, I want to know if any of the parameters have changes in the web
> request. Do you have Google Chrome installed? If so, do the following in
> chrome:
> 1) Go to the device's web interface, and open the tuner tab for any tuner
> not currently in use
> 2) ctrl-shift-I or choose Developer Tools from the Tools menu
> 3) in the panel that opens up at the bottom, click on the "Network"
> button/tab.
> 4) Now try changing the channel (type a channel number in the Channel box
> and click Set Channel button)
> 5) you will see a list of entries pop up in the developer tools panel.
> look at the first entry, which should be "channel_request.cgi". Click on
it.
> 6) select the Headers tab on the right panel.
> 7) Can you send me all the info that appears in that tab (request header,
> form data, etc)?
>
> If you don't have chrome but do have firefox and the firebug plugin, you
> can get the same info from there (but the steps will be slightly
different)
>
>
> On Tue, Aug 13, 2013 at 9:37 PM, Matt Mossholder <matt at mossholder.com
>wrote:
>
>> On Tue, Aug 13, 2013 at 8:45 PM, Matt Mossholder <matt at mossholder.com>
>> wrote:
>> >
>> >
>> > Hey all,
>> >       Not the original poster, but I did bite the bullet and buy a 6
>> Eth anyway. It looks like it doesn't work with MythTV at the moment, as
it
>> would require you to set the 'card' to RTP, which everyone seems to have
>> problems with.
>> >
>> > If I use the python client and VLC, I can stream fine, but if I use
>> mythtv, I get notices about not being able to get the PAT and PMT. There
is
>> something different about using the RTP 'card' that isn't working right.
>> >
>> >      --Matt
>> >
>> > P.S. more than willing to work on getting this resolved. Just let me
>> know what is needed and I should be able to do it.
>>
>>
>>
>> Replying to myself. Here are some logs from my eth6, both for a
>> client.py/VLC session, and mythbackend.  Not sure why tuning fails for
>> the mythbackend instance, but that seems to be where it all goes
>> downhill.
>>
>>
>>      --Matt
>>
>>
>> First client.py/VLC:
>>
>> Jan  1 00:05:20 ocur[21]: ocur: new channel map equal to old
>> Jan  1 00:05:20 ocur[21]: ocur: accumulated channel map same as old
>> Jan  1 00:06:22 ocur[21]: upnp: [192.168.0.1] Get(av[5]):
>> AVTransportURI "rtsp://192.168.0.60:8554/cetonmpeg5"
>> Jan  1 00:06:22 ocur[21]: upnp: allocate[5]
>> uuid:89333102-EBE5-11D8-AC9A-000008083316 c0a80001
>> Jan  1 00:06:22 ocur[21]: upnp: [192.168.0.1] Calling Action(cm[5])
>> PrepareForConnection
>> Jan  1 00:06:22 ocur[21]: upnp: Event(cm[5]): CurrentConnectionIDs, "0"
>> Jan  1 00:06:23 ocur[21]: upnp: [192.168.0.1] Action(cm[5])
>> PrepareForConnection success
>> Jan  1 00:06:23 ocur[21]: libctn91xx: Setting mpeg_eth headers for
>> instance 5
>> Jan  1 00:06:23 ocur[21]: libctn91xx: rip C0A80001 lip C0A8003C rp 5010
>> lp 43012
>> Jan  1 00:06:23 ocur[21]: ocur: [5] rtp setup for client 192.168.0.1:5010
>> Jan  1 00:06:23 ocur[21]: upnp: [192.168.0.1] Calling Action(av[5]) Play
>> Jan  1 00:06:23 ocur[21]: upnp: [192.168.0.1] Action(av[5]) Play success
>> Jan  1 00:06:23 ocur[21]: upnp: [192.168.0.1] Calling Action(cas[5])
>> SetChannel
>> Jan  1 00:06:23 ocur[21]: ocur: [5] Attempting to SetChannel
>> (Channel=1225  SourceId=0  Mode=0)
>> Jan  1 00:06:23 ocur[21]: upnp: [192.168.0.1] Action(cas[5]) SetChannel
>> success
>> Jan  1 00:06:23 ocur[21]: ocur: Disabled table monitor for instance 0
>> Jan  1 00:06:23 ocur[21]: ocur: [5] Program number set to 0, was 1
>> Jan  1 00:06:23 ocur[21]: ocur: [5] Tune to 1225 (mod=q256,
>> freq=735000, program=1, std=9)
>> Jan  1 00:06:23 ocur[21]: ocur: [5] Program number set to 1, was 0
>> Jan  1 00:06:23 ocur[21]: ocur: Disabled table monitor for instance 0
>> Jan  1 00:06:23 ocur[21]: ocur: [5] Locked: 0 Acc E: 0
>> Jan  1 00:06:23 ocur[21]: ocur: [5] Tune finished to freq 735000
>> Jan  1 00:06:23 ocur[21]: ocur: [5] Getting pmt for program 1
>> Jan  1 00:06:24 ocur[21]: ocur: [5] Got pmt for program# 1
>> Jan  1 00:06:24 ocur[21]: ocur: [5] Adding pid 0x1ffc
>> Jan  1 00:06:24 ocur[21]: ocur: [5] Adding pid 0x003c
>> Jan  1 00:06:24 ocur[21]: ocur: [5] Adding pid 0x003d
>> Jan  1 00:06:24 ocur[21]: ocur: [5] Adding pid 0x003e
>> Jan  1 00:06:24 ocur[21]: upnp: Event(tuner[5]): PCRLock, "1"
>> Jan  1 00:06:24 ocur[21]: ocur: [5] Adding pid 0x0000
>> Jan  1 00:06:24 ocur[21]: ocur: [5] Adding pid 0x0e7d
>> Jan  1 00:06:24 ocur[21]: ocur: [5] Adding pid 0x010c
>> Jan  1 00:06:24 ocur[21]: ocur: [5] Adding pid 0x0e7e
>> Jan  1 00:06:24 ocur[21]: ocur: [5] Adding pid 0x0e7f
>> Jan  1 00:06:24 ocur[21]: ocur: Disabled table monitor for instance 0
>> Jan  1 00:06:24 ocur[21]: ocur: Enabled table monitor for instance 0
>> Jan  1 00:06:24 ocur[21]: ocur: [5] Channel is scrambled, expecting CCI
>> Jan  1 00:06:24 ocur[21]: ocur: [5] Sending ca_pmt to CableCARD for
>> program number 1 index 0
>> Jan  1 00:06:24 ocur[21]: ocur: [5] CCI 00 arrived for program# 1
>> Jan  1 00:06:25 ocur[21]: ocur: [5] Carrier lock is 1
>>
>> Here is what happens once mythbackend takes over:
>>
>>
>> Jan  1 00:31:13 ocur[21]: ocur: [0] Attempting to SetChannel
>> (Channel=1225  SourceId=0  Mode=0)
>> Jan  1 00:31:13 ocur[21]: ocur: Disabled table monitor for instance 0
>> Jan  1 00:31:13 ocur[21]: ocur: [0] Program number set to 0, was 0
>> Jan  1 00:31:13 ocur[21]: ocur: [0] Tune to 1225 (mod=q256,
>> freq=735000, program=1, std=9)
>> Jan  1 00:31:13 ocur[21]: ocur: [0] Program number set to 1, was 0
>> Jan  1 00:31:13 ocur[21]: ocur: Disabled table monitor for instance 0
>> Jan  1 00:31:13 ocur[21]: ocur: [0] Locked: 0 Acc E: 0
>> Jan  1 00:31:15 ocur[21]: libcetontune: ERROR: Failed to set frequency
>> on instance 0
>> Jan  1 00:31:15 ocur[21]: ocur: WARNING: [0] Frequency set did not
>> take. Freq: 735000 Std 9
>> Jan  1 00:31:15 ocur[21]: ocur: WARNING: [0] Channel change failed
>> Jan  1 00:31:15 ocur[21]: ocur: [0] Getting pmt for program 1
>> Jan  1 00:31:20 ocur[21]: mpeg: WARNING: [ID-0] Failed to get pat
>> Jan  1 00:31:20 ocur[21]: ocur: ERROR: [0] No pat returned
>> Jan  1 00:31:20 ocur[21]: ocur: [0] PCR Lock: 0
>> Jan  1 00:31:20 ocur[21]: ocur: [0] Packets: 0 (0 - 0) Data Ready 0
>> Jan  1 00:31:20 ocur[21]: mpeg: [ID-0] ready 00000000 pkts 00000000
>> filter 00000000 sections 00000000 no_filters 00000000 zero_pid
>> 00000000
>> Jan  1 00:31:20 ocur[21]: libctn91xx: 0.6 read 00000000 comp 00000000
>> Jan  1 00:31:20 ocur[21]: mpeg: [ID-0] ready 00000000 pkts 00000000
>> filter 00000000 sections 00000000 no_filters 00000000 zero_pid
>> 00000000
>> Jan  1 00:31:20 ocur[21]: libctn91xx: 0.6 read 00000000 comp 00000000
>> Jan  1 00:31:20 ocur[21]: libctn91xx: 00000000 00000000 00000000
>> 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>> 00000000
>> Jan  1 00:31:20 ocur[21]: libctn91xx: 00000000 00000000 00000000
>> 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>> 00000000
>> Jan  1 00:31:20 ocur[21]: libctn91xx: 00000000 00000000 00000000
>> 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>> 00000000
>> Jan  1 00:31:20 ocur[21]: libctn91xx: 00000000 00000000 00000000
>> 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>> 00000000
>> Jan  1 00:31:20 ocur[21]: libctn91xx: 00000000 00000000 00000000
>> 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>> 00000000
>> Jan  1 00:31:20 ocur[21]: libctn91xx: 00000000 00000000 00000000
>> 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>> 00000000
>> Jan  1 00:31:20 ocur[21]: libctn91xx: 00000000 00000000 00000000
>> 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>> 00000000
>> Jan  1 00:31:20 ocur[21]: libctn91xx: 00000000 00000000 00000000
>> 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>> 00000000
>> Jan  1 00:31:20 ocur[21]: libctn91xx: 00000000 00000000 00000000
>> 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>> 00000000
>> Jan  1 00:31:20 ocur[21]: libctn91xx: 00000000 00000000 00000000
>> 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>> 00000000
>> Jan  1 00:31:20 ocur[21]: libctn91xx: 00000000 00000000 00000000
>> 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>> 00000000
>> Jan  1 00:31:20 ocur[21]: libctn91xx: 00000116 00000116 00000000
>> 00000000 00000000 00000020 00000020 00000020 00000000 00000000
>> 00000000
>> Jan  1 00:31:20 ocur[21]: libctn91xx: 00338577 00000116 00000000
>> 00000974 00162946
>> Jan  1 00:31:20 ocur[21]: libctn91xx: 00000000 00000000 00000000
>> 00168685 00000000
>> Jan  1 00:31:20 ocur[21]: libctn91xx: 00000000 00000000 00000000
>> 00000000 00005856
>> Jan  1 00:31:20 ocur[21]: libctn91xx: 00000000 00000000 00000000 00000000
>> Jan  1 00:31:20 ocur[21]: libctn91xx: Pid filter for stream id 4
>> Jan  1 00:31:20 ocur[21]: enabled: 1 whitelist: 1 nullify_if_not_found: 0
>> Jan  1 00:31:20 ocur[21]:
>> Jan  1 00:31:20 ocur[21]: ocur: WARNING: [0] Could not get pmt
>> Jan  1 00:31:20 ocur[21]: ocur: WARNING: [0] Disabling video
>> Jan  1 00:31:20 ocur[21]: ocur: [0] Program number set to 0, was 1
>> Jan  1 00:31:20 ocur[21]: ocur: [0] Program number set to 65535, was 0
>> Jan  1 00:31:20 ocur[21]: ocur: Disabled table monitor for instance 0
>> Jan  1 00:31:20 ocur[21]: ocur: [0] Locked: 0 Acc E: 0
>> Jan  1 00:31:21 ocur[21]: libcetontune: ERROR: Failed to set frequency
>> on instance 0
>> Jan  1 00:31:21 ocur[21]: ocur: WARNING: [0] Frequency set did not
>> take. Freq: 0 Std 9
>> Jan  1 00:31:21 ocur[21]: ocur: WARNING: Problem tuning
>> Jan  1 00:31:21 ocur[21]: ocur: [0] Attempting to SetChannel
>> (Channel=0  SourceId=0  Mode=0)
>> Jan  1 00:31:21 ocur[21]: ocur: Disabled table monitor for instance 0
>> Jan  1 00:31:21 ocur[21]: ocur: [0] Program number set to 0, was 65535
>> Jan  1 00:31:21 ocur[21]: ocur: WARNING: [0] Channel 0 not found
>> Jan  1 00:31:22 ocur[21]: ocur: [1] Attempting to SetChannel
>> (Channel=0  SourceId=0  Mode=0)
>> Jan  1 00:31:22 ocur[21]: ocur: Disabled table monitor for instance 0
>> Jan  1 00:31:22 ocur[21]: ocur: [1] Program number set to 0, was 0
>> Jan  1 00:31:22 ocur[21]: ocur: WARNING: [1] Channel 0 not found
>> Jan  1 00:31:22 ocur[21]: ocur: [1] Attempting to SetChannel
>> (Channel=1225  SourceId=0  Mode=0)
>> Jan  1 00:31:22 ocur[21]: ocur: Disabled table monitor for instance 0
>> Jan  1 00:31:22 ocur[21]: ocur: [1] Program number set to 0, was 0
>> Jan  1 00:31:22 ocur[21]: ocur: [1] Tune to 1225 (mod=q256,
>> freq=735000, program=1, std=9)
>> Jan  1 00:31:22 ocur[21]: ocur: [1] Program number set to 1, was 0
>> Jan  1 00:31:22 ocur[21]: ocur: Disabled table monitor for instance 0
>> Jan  1 00:31:22 ocur[21]: ocur: [1] Locked: 0 Acc E: 0
>> Jan  1 00:31:23 ocur[21]: libcetontune: ERROR: Failed to set frequency
>> on instance 1
>> Jan  1 00:31:23 ocur[21]: ocur: WARNING: [1] Frequency set did not
>> take. Freq: 735000 Std 9
>> Jan  1 00:31:23 ocur[21]: ocur: WARNING: [1] Channel change failed
>> Jan  1 00:31:23 ocur[21]: ocur: [1] Getting pmt for program 1
>> Jan  1 00:31:28 ocur[21]: mpeg: WARNING: [ID-1] Failed to get pat
>> Jan  1 00:31:28 ocur[21]: ocur: ERROR: [1] No pat returned
>> Jan  1 00:31:28 ocur[21]: ocur: [1] PCR Lock: 0
>> Jan  1 00:31:29 ocur[21]: ocur: [1] Packets: 0 (0 - 0) Data Ready 0
>> Jan  1 00:31:29 ocur[21]: mpeg: [ID-1] ready 00000000 pkts 00000000
>> filter 00000000 sections 00000000 no_filters 00000000 zero_pid
>> 00000000
>> Jan  1 00:31:29 ocur[21]: libctn91xx: 0.7 read 00000000 comp 00000000
>> Jan  1 00:31:29 ocur[21]: mpeg: [ID-1] ready 00000000 pkts 00000000
>> filter 00000000 sections 00000000 no_filters 00000000 zero_pid
>> 00000000
>> Jan  1 00:31:29 ocur[21]: libctn91xx: 0.7 read 00000000 comp 00000000
>> Jan  1 00:31:29 ocur[21]: libctn91xx: 00000000 00000000 00000000
>> 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>> 00000000
>> Jan  1 00:31:29 ocur[21]: libctn91xx: 00000000 00000000 00000000
>> 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>> 00000000
>> Jan  1 00:31:29 ocur[21]: libctn91xx: 00000000 00000000 00000000
>> 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>> 00000000
>> Jan  1 00:31:29 ocur[21]: libctn91xx: 00000000 00000000 00000000
>> 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>> 00000000
>> Jan  1 00:31:29 ocur[21]: libctn91xx: 00000000 00000000 00000000
>> 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>> 00000000
>> Jan  1 00:31:29 ocur[21]: libctn91xx: 00000000 00000000 00000000
>> 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>> 00000000
>> Jan  1 00:31:29 ocur[21]: libctn91xx: 00000000 00000000 00000000
>> 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>> 00000000
>> Jan  1 00:31:29 ocur[21]: libctn91xx: 00000000 00000000 00000000
>> 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>> 00000000
>> Jan  1 00:31:29 ocur[21]: libctn91xx: 00000000 00000000 00000000
>> 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>> 00000000
>> Jan  1 00:31:29 ocur[21]: libctn91xx: 00000000 00000000 00000000
>> 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>> 00000000
>> Jan  1 00:31:29 ocur[21]: libctn91xx: 00000000 00000000 00000000
>> 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>> 00000000
>> Jan  1 00:31:29 ocur[21]: libctn91xx: 00000116 00000116 00000000
>> 00000000 00000000 00000020 00000020 00000020 00000000 00000000
>> 00000000
>> Jan  1 00:31:29 ocur[21]: libctn91xx: 00341369 00000116 00000000
>> 00000988 00164283
>> Jan  1 00:31:29 ocur[21]: libctn91xx: 00000000 00000000 00000000
>> 00170073 00000000
>> Jan  1 00:31:29 ocur[21]: libctn91xx: 00000000 00000000 00000000
>> 00000000 00005909
>> Jan  1 00:31:29 ocur[21]: libctn91xx: 00000000 00000000 00000000 00000000
>> Jan  1 00:31:29 ocur[21]: libctn91xx: Pid filter for stream id 5
>> Jan  1 00:31:29 ocur[21]: enabled: 1 whitelist: 1 nullify_if_not_found: 0
>> Jan  1 00:31:29 ocur[21]:
>> Jan  1 00:31:29 ocur[21]: ocur: WARNING: [1] Could not get pmt
>> Jan  1 00:31:29 ocur[21]: ocur: WARNING: [1] Disabling video
>> Jan  1 00:31:29 ocur[21]: ocur: [1] Program number set to 0, was 1
>> Jan  1 00:31:29 ocur[21]: ocur: [1] Program number set to 65535, was 0
>> Jan  1 00:31:29 ocur[21]: ocur: Disabled table monitor for instance 0
>> Jan  1 00:31:29 ocur[21]: ocur: [1] Locked: 0 Acc E: 0
>> Jan  1 00:31:30 ocur[21]: libcetontune: ERROR: Failed to set frequency
>> on instance 1
>> Jan  1 00:31:30 ocur[21]: ocur: WARNING: [1] Frequency set did not
>> take. Freq: 0 Std 9
>> Jan  1 00:31:30 ocur[21]: ocur: WARNING: Problem tuning
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>
>
>
>
> --
> Ron Frazier
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130815/6e6a5ce7/attachment-0001.html>


More information about the mythtv-users mailing list