[mythtv-users] Ceton Infinitv USB issues

michael helmer micmizer at gmail.com
Tue Jan 29 04:13:49 UTC 2013


Yes I tried using the 180.3 address and the result is slightly different.
As far as I have been able to glean from lots of google foo this behavior
is expected as the USB device listens on the 192.168.180.1 address.

I have been following the Mythtv configuration mentioned here
http://www.mythtv.org/wiki/Ceton_InfiniTV_4.

Here is the 180.3 failure:

2013-01-28 21:55:58.029169 E  CetonSH(192.168.180.3-0.0):
DoGetVar(192.168.180.3,0,diag,Host_IP_Address) - unexpected http response:
--><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /get_var.json was not found on this server.</p>
<hr>
<address>Apache/2.2.22 (Ubuntu) Server at 192.168.180.3 Port 80</address>
</body></html>
<--
2013-01-28 21:55:58.029182 E  CetonSH(192.168.180.3-0.0): Ceton tuner does
not seem to be available at IP
2013-01-28 21:55:58.068216 I  Added logging to mythlogserver at TCP:35327
2013-01-28 21:55:58.106788 E  ChannelBase: CreateChannel() Error: Failed to
open device 192.168.180.3-0.0
2013-01-28 21:55:58.108913 E  Problem with capture cardsCard 9failed init

Not sure if this helps but the Ceton logs have been reporting the following
ever since it was moved behind my Mythtv backend.

Jan  1 03:24:29 ocur[21]: libcetontune:
mxl241sf_cetontune_get_oob_locked:1319 : override oob lock (sl
-49.625000 snr 25.169001)
Jan  1 03:24:30 ocur[21]: libctn91xx: ctn91xx_remove_pid:619 WARNING:
could not find pid 0000 to remove for stream_id 15
Jan  1 03:24:30 ocur[21]: ocur: get_pat_json:258 WARNING: [5] failed to get pat
Jan  1 03:24:31 ocur[21]: libcetontune:
mxl251_cetontune_get_carrier_locked:1052 INVALID ARGS: !(d)
Jan  1 03:24:31 ocur[21]: libcetontune:
mxl251_cetontune_get_pcr_locked:1098 INVALID ARGS: !(d)
Jan  1 03:24:31 ocur[21]: libcetontune:
mxl251_cetontune_get_carrier_locked:1052 INVALID ARGS: !(d)
Jan  1 03:24:31 ocur[21]: libcetontune:
mxl251_cetontune_get_pcr_locked:1098 INVALID ARGS: !(d)
Jan  1 03:24:32 ocur[21]: libcetontune:
mxl251_cetontune_get_carrier_locked:1052 INVALID ARGS: !(d)
Jan  1 03:24:32 ocur[21]: libcetontune:
mxl251_cetontune_get_pcr_locked:1098 INVALID ARGS: !(d)
Jan  1 03:24:32 ocur[21]: libcetontune:
mxl251_cetontune_get_carrier_locked:1052 INVALID ARGS: !(d)
Jan  1 03:24:32 ocur[21]: libcetontune:
mxl251_cetontune_get_pcr_locked:1098 INVALID ARGS: !(d)


I am not really sure how to troubleshoot this any further. I know for the
PCIE device you can use mplayer to read from a tuner (cat
/dev/ceton/ctn91xx_mpeg0_0 | mplayer -cache 8192 -). Does anyone know how
that is done with the USB implementation?


On Mon, Jan 28, 2013 at 9:35 PM, Frank Feuerbacher <fbacher at brisbin.net>wrote:

>  I'm a greenhorn at this myself, but have you tried setting the tuner in
> mythtv to 192.168.180.3, the same as is listed for the usb0? I believe that
> you use two addresses for this card. One for the browser app and one for
> the actual tuners.
>
> I had problems using a PCIe card via RTP and ended up using the /dev/ctn*
> devices instead. Someone at Ceton is looking at my problem.
>
> Frank
>
>
> On 13-01-28 07:38 PM, michael helmer wrote:
>
>  I am having problems getting my Ceton USB device working in mythTV.
> Currently everything works as expected in Media Center.
>
>  I can access the Ceton diagnostic page at 192.168.180.1 however once
> configured in mythtv-setup the backend exits repeatedly.
>
>  Here is the usb0 device showing up with the default IP:
>
>  eth0      Link encap:Ethernet  HWaddr 00:26:18:6d:c9:80
>           inet addr:192.168.0.198  Bcast:192.168.0.255  Mask:255.255.255.0
>           inet6 addr: fe80::226:18ff:fe6d:c980/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:33016 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:22771 errors:0 dropped:0 overruns:0 carrier:1
>           collisions:0 txqueuelen:1000
>           RX bytes:37467025 (37.4 MB)  TX bytes:2947229 (2.9 MB)
>           Interrupt:46
>
>  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:16436  Metric:1
>           RX packets:492325 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:492325 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:75994895 (75.9 MB)  TX bytes:75994895 (75.9 MB)
>
>  usb0      Link encap:Ethernet  HWaddr b6:dc:72:b2:23:96
>           inet addr:192.168.180.3  Bcast:192.168.180.255
>  Mask:255.255.255.0
>           inet6 addr: fe80::b4dc:72ff:feb2:2396/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:4497 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:3553 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:1422594 (1.4 MB)  TX bytes:432422 (432.4 KB)
>
>  Mythbackend complains that all four tuners are unavailable?
>
>  @Bun2:~/Desktop/infinitv-usbd-0.1.0$ mythbackend
> 2013-01-28 19:28:52.909743 C  mythbackend version: fixes/0.26
> [v0.26.0-89-g14aa707] www.mythtv.org
> 2013-01-28 19:28:52.909759 C  Qt version: compile: 4.8.1, runtime: 4.8.1
> 2013-01-28 19:28:52.909762 N  Enabled verbose msgs:  general
> 2013-01-28 19:28:52.909769 N  Setting Log Level to LOG_INFO
> 2013-01-28 19:28:52.910426 I  Setup Interrupt handler
> 2013-01-28 19:28:52.910433 I  Setup Terminated handler
> 2013-01-28 19:28:52.910439 I  Setup Segmentation fault handler
> 2013-01-28 19:28:52.910444 I  Setup Aborted handler
> 2013-01-28 19:28:52.910443 I  Added logging to the console
> 2013-01-28 19:28:52.910449 I  Setup Bus error handler
> 2013-01-28 19:28:52.910454 I  Setup Floating point exception handler
> 2013-01-28 19:28:52.910458 I  Setup Illegal instruction handler
> 2013-01-28 19:28:52.910466 I  Setup Real-time signal 0 handler
> 2013-01-28 19:28:52.910492 N  Using runtime prefix = /usr
> 2013-01-28 19:28:52.910502 N  Using configuration directory =
> /home/mhelmer/.mythtv
> 2013-01-28 19:28:52.910551 I  Assumed character encoding: en_US.UTF-8
> 2013-01-28 19:28:52.911035 N  Empty LocalHostName.
> 2013-01-28 19:28:52.911040 I  Using localhost value of Bun2
> 2013-01-28 19:28:52.911137 I  Testing network connectivity to
> '192.168.0.198'
> 2013-01-28 19:28:52.914623 I  Starting IO manager (read)
> 2013-01-28 19:28:52.914630 I  Starting process signal handler
> 2013-01-28 19:28:52.914696 I  Starting IO manager (write)
> 2013-01-28 19:28:52.914779 I  Starting process manager
> 2013-01-28 19:28:53.101523 N  Setting QT default locale to en_US
> 2013-01-28 19:28:53.101675 I  Current locale en_US
> 2013-01-28 19:28:53.101769 N  Reading locale defaults from
> /usr/share/mythtv//locales/en_us.xml
> 2013-01-28 19:28:53.116256 I  Current MythTV Schema Version (DBSchemaVer):
> 1307
> 2013-01-28 19:28:53.117281 I  Loading en_us translation for module
> mythfrontend
> 2013-01-28 19:28:53.118472 N  MythBackend: Starting up as the master
> server.
> 2013-01-28 19:28:53.144739 I  Added logging to mythlogserver at TCP:35327
> 2013-01-28 19:28:53.185238 E  CetonSH(192.168.180.1-0.0): Tuner device
> unavailable
> 2013-01-28 19:28:53.275488 E  ChannelBase: CreateChannel() Error: Failed
> to open device 192.168.180.1-0.0
> 2013-01-28 19:28:53.277662 E  Problem with capture cardsCard 9failed init
> 2013-01-28 19:28:53.320453 E  CetonSH(192.168.180.1-0.1): Tuner device
> unavailable
> 2013-01-28 19:28:53.406095 E  ChannelBase: CreateChannel() Error: Failed
> to open device 192.168.180.1-0.1
> 2013-01-28 19:28:53.408232 E  Problem with capture cardsCard 10failed init
> 2013-01-28 19:28:53.462107 E  CetonSH(192.168.180.1-0.2): Tuner device
> unavailable
> 2013-01-28 19:28:53.548364 E  ChannelBase: CreateChannel() Error: Failed
> to open device 192.168.180.1-0.2
> 2013-01-28 19:28:53.548893 E  Problem with capture cardsCard 11failed init
> 2013-01-28 19:28:53.596834 E  CetonSH(192.168.180.1-0.3): Tuner device
> unavailable
> 2013-01-28 19:28:53.683642 E  ChannelBase: CreateChannel() Error: Failed
> to open device 192.168.180.1-0.3
> 2013-01-28 19:28:53.684175 E  Problem with capture cardsCard 12failed init
> 2013-01-28 19:28:53.686030 I  Found 1 distinct programid authorities
> 2013-01-28 19:28:53.686343 I  New static DB connectionSchedCon
> 2013-01-28 19:28:53.691038 E  Failed listening on TCP 127.0.0.1:6544 -
> Error 8: The bound address is already in use
> 2013-01-28 19:28:53.691073 E  MediaServer::HttpServer Create Error
> 2013-01-28 19:28:53.692506 E  Failed listening on TCP 127.0.0.1:6543 -
> Error 8: The bound address is already in use
> 2013-01-28 19:28:53.692519 C  Backend exiting, MainServer initialization
> error.
>
>
>  I am running 12.04 with .26
>
>  mythbackend --version
> Please attach all output as a file in bug reports.
> MythTV Version : v0.26.0-89-g14aa707
> MythTV Branch : fixes/0.26
> Network Protocol : 75
> Library API : 0.26.20130112-1
> QT Version : 4.8.1
> Options compiled in:
>  linux profile use_hidesyms using_alsa using_oss using_pulse
> using_pulseoutput using_backend using_bindings_perl using_bindings_python
> using_bindings_php using_crystalhd using_dvb using_firewire using_frontend
> using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv
> using_joystick_menu using_libcec using_libcrypto using_libdns_sd
> using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit
> using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv
> using_bindings_perl using_bindings_python using_bindings_php
> using_mythtranscode using_opengl using_vaapi using_vdpau
> using_ffmpeg_threads using_live using_mheg using_libass using_libxml2
>
>
>  Any help would be appreciated.
>
>  Thanks,
>
>  --
> Michael
>
>
> _______________________________________________
> mythtv-users mailing listmythtv-users at mythtv.orghttp://www.mythtv.org/mailman/listinfo/mythtv-users
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
>


-- 
Michael Helmer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130128/49fc84d7/attachment.html>


More information about the mythtv-users mailing list