[mythtv-users] 0.24 cannot record or watch Live TV, works fine in 0.23

Erik Sejr esejr at wildroseinternet.ca
Wed Nov 24 03:15:43 UTC 2010


Hi,
I recently attempted to upgrade to 0.24-fixes Rev 27327 from 0.23-fixes.
In order to get my DCX-3400-M cable box to work (in 0.23 or 0.24) I have
made the following changes:

--- firewiredevice.cpp.orig     2010-11-23 18:31:04.911712730 -0700
+++ firewiredevice.cpp  2010-11-23 19:24:07.974770643 -0700
@@ -424,6 +424,8 @@
     {
         /* DCH-3200, DCX-3200 */
         0x1c11,    0x1cfb,    0x1fc4,    0x23a3,    0x23ee,    0x25f1,
+       /* DCX-3400 */
+       0x25f1,
         /* DCX-3432 */
         0x24a0,
         /* DCH-3416 */
@@ -458,6 +460,7 @@
     {
         id_to_model[motorola_vendor_ids[i] << 32 | 0xf740] = "DCX-3200";
         id_to_model[motorola_vendor_ids[i] << 32 | 0xfa07] = "DCX-3200";
+       id_to_model[motorola_vendor_ids[i] << 32 | 0xe741] = "DCX-3400";
         id_to_model[motorola_vendor_ids[i] << 32 | 0xea05] = "DCX-3432";
         id_to_model[motorola_vendor_ids[i] << 32 | 0xd330] = "DCH-3200";
         id_to_model[motorola_vendor_ids[i] << 32 | 0xb630] = "DCH-3416";
@@ -508,6 +511,7 @@
             (model == "PACE-779") ||
             (model == "QIP-6200") ||
             (model == "QIP-7100") ||
+           (model == "DCX-3400") ||
             (model == "GENERIC"));
 }

--- videosource.cpp.orig        2010-11-23 18:35:25.380523364 -0700
+++ videosource.cpp     2010-11-23 18:36:16.851587015 -0700
@@ -1182,6 +1182,7 @@
     addSelection(QObject::tr("Generic"), "GENERIC");
     addSelection("DCH-3200");
     addSelection("DCX-3200");
+    addSelection("DCX-3400");
     addSelection("DCT-3412");
     addSelection("DCT-3416");
     addSelection("DCT-6200");

This all works fine in 0.23, I can record and watch live TV via the
firewire interface. I need to use a similarly modified 6200ch to change
the channels on this box as the internal changer in 0.23 does not work
with it. When I select liveTV in mythfrontend I can see the channel
digits it is sending on the LED display on the front of the STB, the 3
channel digits are sent, and after a few seconds (3-4 seconds) the video
starts.

However 0.24 does something odd. I no longer need 6200ch on 0.24, when I
select liveTV in mythfrontend I see the 3 digits sent to the STB the
same as in 0.23. I also see the OSD come up and show "Signal 100% TLAM
Lock", but before the playback can start (1-2 seconds later) I see the 3
channel digits get sent to the STB again, then the frontend returns to
the menu with an error. I have tried to change the tuner timeout in
mythtv-setup to as high as 20000ms but it appears to make no difference.
I have included the backend and frontend logs from 0.24 below:

Frontend Log:

2010-11-23 19:40:34.197 mythfrontend version:
branches/release-0-24-fixes [27327M] www.mythtv.org
2010-11-23 19:40:34.197 Using runtime prefix = /usr
2010-11-23 19:40:34.197 Using configuration directory = /home/mythtv/.mythtv
2010-11-23 19:40:34.198 ThreadPool:HTTP: Initial 1, Max 25, Timeout 60000
2010-11-23 19:40:35.896 Empty LocalHostName.
2010-11-23 19:40:35.896 Using localhost value of mythbox.sejr.ca
2010-11-23 19:40:35.902 New DB connection, total: 1
2010-11-23 19:40:35.905 Connected to database 'mythconverg' at host:
localhost
2010-11-23 19:40:35.908 Closing DB connection named 'DBManager0'
2010-11-23 19:40:35.909 Connected to database 'mythconverg' at host:
localhost
2010-11-23 19:40:35.909 Current locale EN_US
2010-11-23 19:40:35.909 Reading locale defaults from
/usr/share/mythtv//locales/en_us.xml
2010-11-23 19:40:36.114 ScreenSaverX11Private: Gnome screen saver
support enabled
2010-11-23 19:40:36.116 DPMS is active.
2010-11-23 19:40:36.159 Desktop video mode: 1920x1080 60.000 Hz
2010-11-23 19:40:36.175 Enabled verbose msgs:  important general
2010-11-23 19:40:36.196 Connecting to lcd server: 127.0.0.1:6545 (try 1
of 10)
2010-11-23 19:40:36.199 Loading en_us translation for module mythfrontend
2010-11-23 19:40:36.199 New DB connection, total: 2
2010-11-23 19:40:36.199 Connected to database 'mythconverg' at host:
localhost
2010-11-23 19:40:36.212 LIRC: Successfully initialized
'/var/run/lirc/lircd' using '/home/mythtv/.lircrc' config
2010-11-23 19:40:36.212 JoystickMenuThread: Joystick disabled - Failed
to read /home/mythtv/.mythtv/joystickmenurc
2010-11-23 19:40:36.240 Using Frameless Window
2010-11-23 19:40:36.240 Using Full Screen Window
2010-11-23 19:40:36.243 Using the OpenGL painter
2010-11-23 19:40:36.465 OpenGL: OpenGL vendor  : NVIDIA Corporation
2010-11-23 19:40:36.465 OpenGL: OpenGL renderer: GeForce GT 220/PCI/SSE2
2010-11-23 19:40:36.465 OpenGL: OpenGL version : 3.3.0 NVIDIA 256.35
2010-11-23 19:40:36.465 OpenGL: Max texture size: 8192 x 8192
2010-11-23 19:40:36.465 OpenGL: Max texture units: 4
2010-11-23 19:40:36.465 OpenGL: Direct rendering: Yes
2010-11-23 19:40:36.465 OpenGL: Initialised MythRenderOpenGL
2010-11-23 19:40:36.609 Current MythTV Schema Version (DBSchemaVer): 1264
2010-11-23 19:40:37.112 Registering Internal as a media playback plugin.
2010-11-23 19:40:37.128 Loading en_us translation for module mytharchive
2010-11-23 19:40:37.131 Registering WebBrowser as a media playback plugin.
2010-11-23 19:40:37.131 Loading en_us translation for module mythbrowser
2010-11-23 19:40:37.153 MMUnix::AddDevice() Error: failed to stat /dev/bdi,
                        eno: No such file or directory (2)
2010-11-23 19:40:37.157 MMUnix::AddDevice() Error: failed to stat
/dev/power,
                        eno: No such file or directory (2)
2010-11-23 19:40:37.165 MMUnix::AddDevice() Error: failed to stat
/dev/trace,
                        eno: No such file or directory (2)
2010-11-23 19:40:37.168 MMUnix::AddDevice() Error: failed to stat /dev/bdi,
                        eno: No such file or directory (2)
2010-11-23 19:40:37.170 MMUnix::AddDevice() Error: failed to stat
/dev/power,
                        eno: No such file or directory (2)
2010-11-23 19:40:37.173 MMUnix::AddDevice() Error: failed to stat
/dev/trace,
                        eno: No such file or directory (2)
2010-11-23 19:40:37.175 MonitorRegisterExtensions(0x100, gif,jpg,png)
2010-11-23 19:40:37.175 Loading en_us translation for module mythgallery
2010-11-23 19:40:37.180 Loading en_us translation for module mythgame
2010-11-23 19:40:37.193 Current MythMusic Schema Version
(MusicDBSchemaVer): 1017
2010-11-23 19:40:37.211 MonitorRegisterExtensions(0x40,
mp3,mp2,ogg,oga,flac,wma,wav,ac3,oma,omg,atp,ra,dts,aac,m4a,aa3,tta,mka,aiff,swa,wv)
2010-11-23 19:40:37.215 Loading en_us translation for module mythmusic
2010-11-23 19:40:37.217 Loading en_us translation for module mythnetvision
2010-11-23 19:40:37.221 Loading en_us translation for module mythnews
2010-11-23 19:40:37.227 Current MythVideo Schema Version
(mythvideo.DBSchemaVer): 1038
2010-11-23 19:40:37.239 Loading en_us translation for module mythvideo
2010-11-23 19:40:37.244 Loading en_us translation for module mythweather
2010-11-23 19:40:37.307 Found mainmenu.xml for theme 'Terra'
2010-11-23 19:40:37.518 MythCoreContext: Connecting to backend server:
127.0.0.1:6543 (try 1 of 1)
2010-11-23 19:40:37.519 Using protocol version 63
2010-11-23 19:40:38.960 TV: Attempting to change from None to WatchingLiveTV
2010-11-23 19:40:38.960 MythCoreContext: Connecting to backend server:
127.0.0.1:6543 (try 1 of 1)
2010-11-23 19:40:38.960 Using protocol version 63
2010-11-23 19:40:38.979 Spawning LiveTV Recorder -- begin
2010-11-23 19:40:39.079 Spawning LiveTV Recorder -- end
2010-11-23 19:40:39.086 We have a
playbackURL(/mythrecordings/1707_20101123194039.mpg) & cardtype(DUMMY)
2010-11-23 19:40:39.087 We have a RingBuffer
2010-11-23 19:40:39.940 Clearing OpenGL painter cache.
2010-11-23 19:40:40.009 VDPAU: Created 2 output surfaces.
2010-11-23 19:40:40.009 VDPAU: Version 1
2010-11-23 19:40:40.009 VDPAU: Information NVIDIA VDPAU Driver Shared
Library  256.35  Wed Jun 16 19:14:02 PDT 2010
2010-11-23 19:40:40.009 VDPAU: Created VDPAU render device 1920x1080
2010-11-23 19:40:40.034 Player(0): Video timing method: USleep with busy
wait
2010-11-23 19:40:40.034 TV: Changing from None to WatchingLiveTV
2010-11-23 19:40:40.034 TV: State is LiveTV & mctx == ctx
2010-11-23 19:40:40.035 TV: UpdateOSDInput done
2010-11-23 19:40:40.035 TV: UpdateLCD done
2010-11-23 19:40:40.035 TV: ITVRestart done
2010-11-23 19:40:40.141 VDPAU: Added 2 output surfaces (total 4, max 4)
2010-11-23 19:40:40.155 ScreenSaverX11Private: DPMS Deactivated 1
2010-11-23 19:40:43.129 RingBuf(/mythmedia2/1707_20101123194040.mpg)
Error: OpenFile(): File too small (0B).
2010-11-23 19:40:43.130 Player(0), Error: JumpToProgram's OpenFile
failed (card type: FIREWIRE).
2010-11-23 19:40:43.130
LiveTVChain has 2 entries
   DUMMY: 1707 (19:40:39 to 19:40:40)
* FIREWIRE: 1707 (19:40:40 to 20:00:00) discontinuous

2010-11-23 19:40:43.130 Player(0), Error: Unknown recorder error,
exiting decoder
2010-11-23 19:40:43.194 TV: Attempting to change from WatchingLiveTV to None
2010-11-23 19:40:43.196 VDPAU Painter: Clearing VDPAU painter cache.
2010-11-23 19:40:43.197 MythPainter: 6 images not yet de-allocated.
2010-11-23 19:40:43.366 TV: Changing from WatchingLiveTV to None
2010-11-23 19:40:43.387 ScreenSaverX11Private: DPMS Reactivated 1
2010-11-23 19:40:43.387 TV: Attempting to change from None to None
2010-11-23 19:40:43.411 TV: Attempting to change from None to WatchingLiveTV
2010-11-23 19:40:43.411 MythCoreContext: Connecting to backend server:
127.0.0.1:6543 (try 1 of 1)
2010-11-23 19:40:43.412 Using protocol version 63
2010-11-23 19:40:43.428 Spawning LiveTV Recorder -- begin
2010-11-23 19:40:43.509 Spawning LiveTV Recorder -- end
2010-11-23 19:40:43.516 We have a
playbackURL(/mythrecordings/1707_20101123194043.mpg) & cardtype(DUMMY)
2010-11-23 19:40:43.516 We have a RingBuffer
2010-11-23 19:40:43.516 playCtx, Error: Attempting to setup a player,
but it already exists.
2010-11-23 19:40:43.516 TV Error: LiveTV not successfully started
2010-11-23 19:40:51.628 OpenGL: Deleting OpenGL Resources
2010-11-23 19:40:51.674 Deleting UPnP client...

Backend Log:

2010-11-23 19:42:17.910 mythbackend version: branches/release-0-24-fixes
[27327M] www.mythtv.org
2010-11-23 19:42:17.951 Using runtime prefix = /usr
2010-11-23 19:42:17.965 Using configuration directory = /root/.mythtv
2010-11-23 19:42:17.974 Empty LocalHostName.
2010-11-23 19:42:17.982 Using localhost value of mythbox.sejr.ca
2010-11-23 19:42:17.998 New DB connection, total: 1
2010-11-23 19:42:18.010 Connected to database 'mythconverg' at host:
localhost
2010-11-23 19:42:18.020 Closing DB connection named 'DBManager0'
2010-11-23 19:42:18.024 Connected to database 'mythconverg' at host:
localhost
2010-11-23 19:42:18.033 Current locale EN_US
2010-11-23 19:42:18.040 Reading locale defaults from
/usr/share/mythtv//locales/en_us.xml
2010-11-23 19:42:18.056 Current MythTV Schema Version (DBSchemaVer): 1264
2010-11-23 19:42:18.068 ThreadPool:HTTP: Initial 1, Max 25, Timeout 60000
2010-11-23 19:42:18.077 MediaServer:: Loopback address specified -
127.0.0.1. Disabling UPnP
2010-11-23 19:42:18.082 MythBackend: Starting up as the master server.
2010-11-23 19:42:18.092 New DB connection, total: 2
2010-11-23 19:42:18.099 Connected to database 'mythconverg' at host:
localhost
2010-11-23 19:42:18.107 mythbackend: MythBackend started as master server
2010-11-23 19:42:18.783 New DB connection, total: 3
2010-11-23 19:42:18.790 Connected to database 'mythconverg' at host:
localhost
2010-11-23 19:42:20.329 SetLastChannel(707): cleared: no
2010-11-23 19:42:20.338 New DB scheduler connection
2010-11-23 19:42:20.340 Connected to database 'mythconverg' at host:
localhost
2010-11-23 19:42:20.350 Main::Registering HttpStatus Extension
2010-11-23 19:42:20.356 Enabled verbose msgs:  important general
2010-11-23 19:42:20.388 AutoExpire: CalcParams(): Max required Free
Space: 1.0 GB w/freq: 15 min
2010-11-23 19:42:23.262 MainServer::ANN Monitor
2010-11-23 19:42:23.306 adding: mythbox.sejr.ca as a client (events: 0)
2010-11-23 19:42:23.332 MainServer::ANN Monitor
2010-11-23 19:42:23.348 adding: mythbox.sejr.ca as a client (events: 1)
2010-11-23 19:42:23.351 Reschedule requested for id -1.
2010-11-23 19:42:24.728 Scheduled 728 items in 1.4 = 0.03 match + 1.34 place
2010-11-23 19:42:24.740 scheduler: Scheduled items: Scheduled 728 items
in 1.4 = 0.03 match + 1.34 place
2010-11-23 19:42:24.750 Seem to be woken up by USER
2010-11-23 19:42:30.062 MainServer::ANN Monitor
2010-11-23 19:42:30.072 adding: mythbox.sejr.ca as a client (events: 0)
2010-11-23 19:42:30.081 MainServer::ANN Monitor
2010-11-23 19:42:30.089 adding: mythbox.sejr.ca as a client (events: 1)
2010-11-23 19:42:30.351 mythbackend: Running housekeeping thread
2010-11-23 19:42:31.379 MainServer::ANN Playback
2010-11-23 19:42:31.381 adding: mythbox.sejr.ca as a client (events: 0)
2010-11-23 19:42:31.391 TVRec(1): Changing from None to WatchingLiveTV
2010-11-23 19:42:31.400 TVRec(1): HW Tuner: 1->1
2010-11-23 19:42:31.408 LoadFromScheduler(): Error, called from backend.
2010-11-23 19:42:31.463 AutoExpire: CalcParams(): Max required Free
Space: 3.0 GB w/freq: 14 min
2010-11-23 19:42:32.979 SetLastChannel(707): cleared: yes
2010-11-23 19:42:33.039 LFireDev(0025F1FFFE8E7F81): Buffered packets
2000 (8000 KB)
2010-11-23 19:42:33.260 Finished recording KING 5 News: channel 1707
2010-11-23 19:42:33.265 scheduler: Finished recording: KING 5 News:
channel 1707
2010-11-23 19:42:33.276 LoadFromScheduler(): Error, called from backend.
2010-11-23 19:42:33.295 Finished recording KING 5 News: channel 1707
2010-11-23 19:42:33.309 AutoExpire: CalcParams(): Max required Free
Space: 3.0 GB w/freq: 14 min
2010-11-23 19:42:33.311 LFireDev(0025F1FFFE8E7F81): Buffered packets
2000 (8000 KB)
2010-11-23 19:42:35.703 TVRec(1): Changing from WatchingLiveTV to None
2010-11-23 19:42:35.736 Finished recording KING 5 News: channel 1707
2010-11-23 19:42:35.855 MainServer::ANN Playback
2010-11-23 19:42:35.864 adding: mythbox.sejr.ca as a client (events: 0)
2010-11-23 19:42:35.873 TVRec(1): Changing from None to WatchingLiveTV
2010-11-23 19:42:35.883 TVRec(1): HW Tuner: 1->1
2010-11-23 19:42:35.914 LoadFromScheduler(): Error, called from backend.
2010-11-23 19:42:35.944 AutoExpire: CalcParams(): Max required Free
Space: 3.0 GB w/freq: 14 min
2010-11-23 19:42:35.980 TVRec(1): Changing from WatchingLiveTV to None
2010-11-23 19:42:36.022 Finished recording KING 5 News: channel 1707
2010-11-23 19:42:37.477 SetLastChannel(707): cleared: yes
2010-11-23 19:42:40.352 Expiring 0 MB for 1707 at 2010-11-23T19:40:39 =>
"KING 5 News"
2010-11-23 19:42:40.361 autoexpire: Expiring Program: Expiring 0 MB for
1707 at 2010-11-23T19:40:39 => "KING 5 News"
2010-11-23 19:42:40.368 Expiring 0 MB for 1707 at 2010-11-23T19:40:40 =>
"KING 5 News"
2010-11-23 19:42:40.378 autoexpire: Expiring Program: Expiring 0 MB for
1707 at 2010-11-23T19:40:40 => "KING 5 News"
2010-11-23 19:43:40.407 AutoExpire: CalcParams(): Max required Free
Space: 1.0 GB w/freq: 15 min
2010-11-23 19:44:41.197 Expiring 0 MB for 1707 at 2010-11-23T19:40:43 =>
"KING 5 News"
2010-11-23 19:44:41.212 autoexpire: Expiring Program: Expiring 0 MB for
1707 at 2010-11-23T19:40:43 => "KING 5 News"
2010-11-23 19:44:41.219 Expiring 0 MB for 1707 at 2010-11-23T19:42:31 =>
"KING 5 News"
2010-11-23 19:44:41.228 autoexpire: Expiring Program: Expiring 0 MB for
1707 at 2010-11-23T19:42:31 => "KING 5 News"
2010-11-23 19:44:41.236 Expiring 0 MB for 1707 at 2010-11-23T19:42:33 =>
"KING 5 News"
2010-11-23 19:44:41.245 autoexpire: Expiring Program: Expiring 0 MB for
1707 at 2010-11-23T19:42:33 => "KING 5 News"
2010-11-23 19:44:41.252 Expiring 0 MB for 1707 at 2010-11-23T19:42:35 =>
"KING 5 News"
2010-11-23 19:44:41.262 autoexpire: Expiring Program: Expiring 0 MB for
1707 at 2010-11-23T19:42:35 => "KING 5 News"

I had saved my database prior to the upgrade. I reverted 0.23 and my
backup database and I am watching TV once again. Thoughts?

Thanks,
Erik


More information about the mythtv-users mailing list