Help Please with Ceton InfiniTV 4 USB- No Video

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

neil111
Newcomer
Posts: 13
Joined: Sun Apr 05, 2015 3:51 pm
United States of America

Help Please with Ceton InfiniTV 4 USB- No Video

Post by neil111 »

Hi everyone,

I'm not able to get video from this tuner. I've tried a number of different approaches and read tons of websites to try to solve it, but I'm at a loss and would really appreciate some help.

I'm obviously new to these forums but have been a member of AVS for years. I have a Ceton InfiniTV 4 USB model that worked on WMC for the past year. However, for several reasons, I've decided to switch to MythTV. I've successfully loaded Mythbuntu on the same server that previously was running WMC and Win7.

Here is some background:
1. Running Mythbuntu 14.04.01. Just installed on 2 days ago and didn't load any new versions, so running MythTV 0.27. Please note that I'm a new Linux user, but pretty savvy PC guy going back to days of DOS and have a fair amount of programming (back to assembler) under my belt several lives ago.
2. Installed the Linux drivers per Ceton's website and this link: http://www.bsmdevelopment.com/Reference ... ythTV.html. I've also updated the firmware.
3. I can access the web interface at 192.168.180.1, and it shows channels what appear to be good signals on all 4 tuners (note this is 180.1 since it is the USB version of the Ceton. PCi card would be at 200.1, and I think that is part of the issue I'm having, see below)
BTW, spent the last day thinking it wasn't properly installed because CTN0 never showed up. I finally realized that it was actually running on USB0, based on iconfig usb0:
usb0 Link encap:Ethernet HWaddr 76:09:1b:88:5d:18
inet addr:192.168.180.3 Bcast:192.168.180.255 Mask:255.255.255.0
inet6 addr: fe80::7409:1bff:fe88:5d18/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:29098 errors:0 dropped:0 overruns:0 frame:0
TX packets:3210 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9434300 (9.4 MB) TX bytes:393777 (393.7 KB)
4. When I launch the front end on this same PC and try to watch live TV, the channel name is listed but there is no vido.
5. I've tried to watch a stream with VLC, but can't figure out how to do that (i tried rtp://192.168.180.3:8000, rtp://192.168.180.255:8000, and rtp://@:8000) , but nothing happens
6. I've tried to create a file to play with mplayer, using the traditional version of nc with -l -s, etc. It seems to be running but nothing fills the .mpeg file I pipe to.
7. Here is some output of dmesg. I'm not sure what the "invalid endpoint" messages mean, or their implications
[ 1.395997] usb 3-4: new high-speed USB device number 2 using xhci_hcd
[ 1.525740] usb 3-4: config 1 interface 0 altsetting 0 has an invalid endpoint with address 0x80, skipping
[ 1.525745] usb 3-4: config 1 interface 0 altsetting 0 has an invalid endpoint with address 0x80, skipping
[ 1.525747] usb 3-4: config 1 interface 0 altsetting 0 has 6 endpoint descriptors, different from the interface descriptor's value: 4
[ 1.527064] usb 3-4: New USB device found, idVendor=2432, idProduct=0aa2
[ 1.527068] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.527071] usb 3-4: Product: Ceton InfiniTV USB
[ 1.527073] usb 3-4: Manufacturer: Ceton Corporation

8. Initially per instructions, in the backend setup I defined each tuner to be 192.168.180.1 (and it added -RTP and tuner number 0-3 to the end of each)
9. Then, when I saw that the USB0 has an inet of 192.168.180.3, I tried changing the backend setup, but that didn't work either (same results -- no video on the front end).
10. Here is my backend log: http://pastebin.com/kmvKbeVP. I noticed at line #16 it is trying to connect to 192.168.200.1 (as is used for the PCi version of the video card, but I have the USB). Then, starting at line #891 I see references to 192.168.180.3 with error messages too: "- unexpected http response: --><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">#012<html><head>#012<title>404 Not Found</title>#012</head><body>#012<h1>Not Found</h1>#012<p>The requested URL /get_var.json was not found on this server.</p>#012<hr>#012<address>Apache/2.4.7 (Ubuntu) Server at 192.168.180.3 Port 80</address>#012</body></html>#012<--"

Hopefully all of the above information can help someone help me. I'll be happy to report everything I learn to share with the community.
Best regards,
Neil
User avatar
paulh
Developer
Posts: 909
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Re: Help Please with Ceton InfiniTV 4 USB- No Video

Post by paulh »

There is a wiki page for this device that may help?
https://www.mythtv.org/wiki/Ceton_InfiniTV_4
neil111
Newcomer
Posts: 13
Joined: Sun Apr 05, 2015 3:51 pm
United States of America

Re: Help Please with Ceton InfiniTV 4 USB- No Video

Post by neil111 »

Hi Paul,

Thanks for the quick response. I have referred to that page, including trying variants of the suggested edits to setting up the network driver under the Ubuntu section: https://www.mythtv.org/wiki/Ceton_InfiniTV_4#Ubuntu

However, just below that section, it states: "Note that this was configured & tested on Mythbuntu 12.04.2 with the PCIe version of the card. If you are using the USB version, YMMV."

Unfortunately my mileage is varying :-) :-( as I'm using the USB version, not the PCIe version.

FWIW, when I added the suggested edits to the /etc/network/interfaces (including with and without the suggested network line) I lose all network/web connectivity on the PC following reboot. I had to comment it out (with #) and reboot to re-establish connectivity.

I'd welcome other advice please.
Thanks,
Neil
User avatar
bill6502
Developer
Posts: 2307
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: Help Please with Ceton InfiniTV 4 USB- No Video

Post by bill6502 »

I don't see any options for using an address other than
192.168.200.1 for the Ceton card.

I don't have one to test, but if you look at:
https://code.mythtv.org/cgit/mythtv/tre ... r.cpp#n489

then, based on your log entries, like the the URL being tried is this
192.168.180.3/get_var.json?i=0&s=diag&v=Host_IP_Address
I don't see any log results with ending with .1. The requests
are going to the host known as "media", and that looks like the
backend, not the Ceton card.

You could try the above URL ending in .1 with your browser
or curl looking for a response with "result" in it. If that works,
then use mythtv-setup to try that address again, looking for
(hopefully) new information in mythbackend.log. Otherwise,
I'd consider changing usb0 to use 192.168.200.123 (or
something other than .0, .1, .255.)
neil111
Newcomer
Posts: 13
Joined: Sun Apr 05, 2015 3:51 pm
United States of America

Re: Help Please with Ceton InfiniTV 4 USB- No Video

Post by neil111 »

Hi Bill,

Is the 200.1 hardcoded somewhere in MythTv? I can change the ip address of the Ceton 4 USB to that.

Also, how do I change the ip address for usb0 under Ubuntu? I'm happy to give both suggestions a try.
Thanks,
Neil
User avatar
bill6502
Developer
Posts: 2307
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: Help Please with Ceton InfiniTV 4 USB- No Video

Post by bill6502 »

Hi,

I'd try: 192.168.180.1/get_var.json?i=0&s=diag&v=Host_IP_Address before changing anything
( because initially, you said that 192.168.180.1 can be seen from your browser.) And I see
the Wiki entry that says that 180 is typical for USB.

192.168.180.3 is really your BE isn't it? The 404 response looks to be its
Apache webserver telling you it can't find the URL above.

I can exactly one reference to 192.168.200.1 in the code, but it's a comment. And I don't see how
to change it. I can't figure out why lines 16/17 of your original BE log were trying to go
there.

See also: http://lists.mythtv.org/pipermail/mytht ... 35108.html
that says 180 is correct.
neil111
Newcomer
Posts: 13
Joined: Sun Apr 05, 2015 3:51 pm
United States of America

Re: Help Please with Ceton InfiniTV 4 USB- No Video

Post by neil111 »

Hi. Not success, but progress? 192.168.180.3 in the browser now gives my MythWeb interface. It includes program schedule, etc. However, when I start the front end on this machine, there is still no video on any of the channels (I tried a number of them). Under the program name in the front end it says "Signal 100% | (TL__) Partial Lock". Not sure what that means.

MythWeb says the following:
Encoder Status

Encoder 1 [ CETON : 192.168.180.1-RTP.0 ] is local on media and is not recording.
Encoder 2 [ CETON : 192.168.180.1-RTP.1 ] is local on media and is not recording.
Encoder 3 [ CETON : 192.168.180.1-RTP.2 ] is local on media and is not recording.
Encoder 4 [ CETON : 192.168.180.1-RTP.3 ] is local on media and is not recording.


Also, further to your comments, when I put
http://192.168.180.1/get_var.json?i=0&s ... IP_Address
into the chromium browser window and press <Return> the browser returns the following:
{ "result": "192.168.180.1" }

I agree with you that the USB version does default to 180, both based on your reference, and the fact that http://192.168.180.1 gives me the Ceton's web interface. Here's what ifconfig returns, and for usb0 it does say the inet is 192.168.180.3. Is that what you mean by "BE"?

neil@media:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 60:a4:4c:b1:9b:5f
inet addr:192.168.2.200 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::62a4:4cff:feb1:9b5f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:34346 errors:0 dropped:188 overruns:0 frame:0
TX packets:16154 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6507433 (6.5 MB) TX bytes:3401774 (3.4 MB)
Interrupt:20 Memory:f7e00000-f7e20000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:849 errors:0 dropped:0 overruns:0 frame:0
TX packets:849 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:75661 (75.6 KB) TX bytes:75661 (75.6 KB)

usb0 Link encap:Ethernet HWaddr 76:09:1b:88:5d:18
inet addr:192.168.180.3 Bcast:192.168.180.255 Mask:255.255.255.0
inet6 addr: fe80::7409:1bff:fe88:5d18/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:434753 errors:0 dropped:0 overruns:0 frame:0
TX packets:564 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:147600551 (147.6 MB) TX bytes:70632 (70.6 KB)

It seems like we are SO CLOSE...
Thanks for the continued help!
Neil
User avatar
bill6502
Developer
Posts: 2307
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: Help Please with Ceton InfiniTV 4 USB- No Video

Post by bill6502 »

Does the MythWeb page at 192.168.180.3 you refer to look similar to this:
https://www.mythtv.org/wiki/File:MythWebList.png
neil111
Newcomer
Posts: 13
Joined: Sun Apr 05, 2015 3:51 pm
United States of America

Re: Help Please with Ceton InfiniTV 4 USB- No Video

Post by neil111 »

Yes, that's what it looks like.
User avatar
bill6502
Developer
Posts: 2307
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: Help Please with Ceton InfiniTV 4 USB- No Video

Post by bill6502 »

Good. And yes that's your BE (backend) responding via the
usb0 .3 address. And your test results of the URL that has
http://192.168.180.1/get_var.json?i=0&s ... IP_Address
into the chromium browser window and press <Return> the browser returns the following:
{ "result": "192.168.180.1" }
in it confirms that the .1 address is the Ceton card itself. That's
what the program was looking for.

The log entries you originally pastbin'ed were for the .3 address
and your BE was trying and failing to connect, thus the 404
error in the logs around line 891.

You must have changed the IP addresses in mythtv-setup to
use the .1 address. At this point, I'd paste another BE log
(which is good.) You can get a single run of the backend if
you stop it first and then type:

sudo mythbackend -v record --logpath /tmp --user mythtv

Make a single attempt to watch a channel then exit the frontend
and the backend (with a control-C.) The results will be in
/tmp/mythbackend.20150405......

Looking for any clues in the log. Although if the channel you're
trying to watch is copy protected, then that will fail. See this
and it's link: http://lists.mythtv.org/pipermail/mytht ... 64768.html

If that's the case, try watching a network program like
60 Minutes.
neil111
Newcomer
Posts: 13
Joined: Sun Apr 05, 2015 3:51 pm
United States of America

Re: Help Please with Ceton InfiniTV 4 USB- No Video

Post by neil111 »

Hi. Just a quick note to say that I am working on this. Unfortunately, I'm having some networking issues inside the house and am working to resolve those also. Thanks very much for standing by, not sure how your evening looks, but I truly appreciate everything you are doing!
neil111
Newcomer
Posts: 13
Joined: Sun Apr 05, 2015 3:51 pm
United States of America

Re: Help Please with Ceton InfiniTV 4 USB- No Video

Post by neil111 »

OK, now I'm REALLY at a loss for what is going on. We took a step forward, now I'm at 2 steps back.

Somehow the Ceton at usb0 is getting the same IP address as the host's static IP (192.168.2.200). Here is ifconfig (see in bold)
neil@media:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 60:a4:4c:b1:9b:5f
inet addr:192.168.2.200 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::62a4:4cff:feb1:9b5f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1255 errors:0 dropped:0 overruns:0 frame:0
TX packets:1136 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:697871 (697.8 KB) TX bytes:132754 (132.7 KB)
Interrupt:20 Memory:f7e00000-f7e20000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:148 errors:0 dropped:0 overruns:0 frame:0
TX packets:148 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:14249 (14.2 KB) TX bytes:14249 (14.2 KB)

usb0 Link encap:Ethernet HWaddr fe:b7:03:92:c7:e7
inet addr:192.168.2.200 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::fcb7:3ff:fe92:c7e7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:44 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14324 (14.3 KB) TX bytes:4753 (4.7 KB)

Of course, to even access the web I need to unplug the Ceton due to IP conflicts. Even stranger, I've had to add DNS entries into the network settings. Before it just had the 127.0.1.1 (media, this device). Now I've had to add entries for OpenDNS (208.67.222.222 and .220.220) as well. Otherwise I was able to ping IP addresses outside my home using their octets, but there was no DNS lookup. I have no idea what I did to cause these to occur. Certainly there is no downside to having the additional nameservers (I don't think). However, I have NO idea how the IP address for usb0 has changed.

Here is the contents of /etc/network/interfaces:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo eth0
iface lo inet loopback


I've tried plugging & unplugging both power & USB cable, tried different USB ports on the PC, and rebooted several times with the Ceton both plugged in and unplugged... all to no avail. :?

In addition, for a period of time, the usb0's IP address under ifconfig was showing up in IPv6 format -- I'm not sure why. I mention all of this in case they are related. But obviously I can't run any MythTV LOGS until the Ceton gets reconnected at 192.168.180.1.

I look forward to any advice!
Thanks,
Neil
User avatar
bill6502
Developer
Posts: 2307
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: Help Please with Ceton InfiniTV 4 USB- No Video

Post by bill6502 »

Maybe your usb0 card is setup to use DHCP (no clue how it
got set correctly originally.)

I'd make sure that your network configuration for usb0 is set
to a static address. IPv6 Link Local addresses are required
to be developed by the OS (that's the fe80/10 address you saw.) If you
don't want IPv6, you can turn it off on usb0 (at least I can on
eth1) Look for IPv6, Method, Ignore.

You've mentioned /etc/network/interfaces. Your contents there
are for the loopback address (and that's OK.) I suspect you're running the
default (for *buntu) Network Manager. You can use either
/etc/network/interfaces OR /etc/NetworkManager/system-connections,
but I've never seen anyone run both at the same time.
The results of the network configuration settings screen
end up in /etc/NetworkManager/system-connections in
files like eth0 and probably usb0 for you.
neil111
Newcomer
Posts: 13
Joined: Sun Apr 05, 2015 3:51 pm
United States of America

Re: Help Please with Ceton InfiniTV 4 USB- No Video

Post by neil111 »

OK, I've got the Ceton back up and 180.1 and showing the channels with tuning. I manually set it up with an ifconfig statement, but I think I'll still need to edit the interfaces file to make it permanent. Yes, I'm learning that there are different places to manage networking and they don't all play well together.

In addition, MythTVweb is at 180.3, and reports the following status for each tuner:
Encoder Status

Encoder 1 [ CETON : 192.168.180.1-RTP.0 ] is local on media and is not recording.
Encoder 2 [ CETON : 192.168.180.1-RTP.1 ] is local on media and is not recording.
Encoder 3 [ CETON : 192.168.180.1-RTP.2 ] is local on media and is not recording.
Encoder 4 [ CETON : 192.168.180.1-RTP.3 ] is local on media and is not recording.

Here is a link to the backend log: http://pastebin.com/usZ73UcL

Let's see how that looks!
Thanks,
Neil
User avatar
bill6502
Developer
Posts: 2307
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: Help Please with Ceton InfiniTV 4 USB- No Video

Post by bill6502 »

The log entries beginning at: Apr 6 00:19:39 are perfect. There's no indication that
you attempted to record a program (more likely went to bed ;)).

I'd suggest you don't use /etc/network. So Choose Applications (in the upper left)
-> Settings -> Network Connections and make your changes there. Setting things
up on the command line is great for testing, but for the long term, and surviving
[re]boots, you want to configure the usb0 device correctly.

Friendly tip, you don't need/want to post all of your logs, just mythbackend.log
in this case and almost always just the most recent run. You can tell by using
your favorite editor and searching backwards from the end for the pattern:
"mythbackend version:"
Post Reply