All pastes #286975 Raw Edit

jcl

public text v1 · immutable
#286975 ·published 2006-12-21 01:14 UTC
rendered paste body
After a reboot, Tuner0 shows only static... To fix it:

/etc/init.d/mythtv-backend stop
mythtv-setup > input connections > tuner 0
	clear "External channel change command" field
	clear "Preset tuner to channel" field
	set "Starting channel" to 3
/etc/init.d/mythtv-backend start

Now we have a picture but of course, cannot change channels. So, we set things back again:

/etc/init.d/mythtv-backend stop
mythtv-setup > input connections > tuner 0
	set the "External channel change command" field to /usr/local/bin/changechannel hide box_type D10-100 setup_channel
	set "Preset tuner to channel" field to 3
/etc/init.d/mythtv-backend start

Now everything works great (including changing channels)... until the next reboot. :-(

Some log snippets:

/var/log/mythtv/mythtvbackend.log (begins after a fresh reboot):

2006-12-19 20:57:46.550 Using runtime prefix = /usr
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
2006-12-19 20:57:47.286 New DB connection, total: 1
2006-12-19 20:57:47.292 Connected to database 'mythconverg' at host: localhost
2006-12-19 20:57:47.335 Current Schema Version: 1172
2006-12-19 20:57:47.362 Newest Schema Version : 1160
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
2006-12-19 20:57:47.365 New DB connection, total: 2
2006-12-19 20:57:47.366 Connected to database 'mythconverg' at host: localhost
2006-12-19 20:57:47.367 Setting Lock for Database Schema upgrade. If you see a long pause here it means the Schema is already locked and is being upgraded by another Myth process.
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
2006-12-19 20:57:47.370 New DB connection, total: 3
2006-12-19 20:57:47.371 Connected to database 'mythconverg' at host: localhost
2006-12-19 20:57:47.373 Database Schema upgrade complete, unlocking.
Starting up as the master server.
2006-12-19 20:57:47.442 mythbackend: MythBackend started as master server
2006-12-19 20:57:47.641 EITHelper: localtime offset -5:00:00 
2006-12-19 20:57:48.748 ret_pid(0) child(3550) status(0x0)
2006-12-19 20:57:49.861 ret_pid(3550) child(3550) status(0x0)
2006-12-19 20:57:49.861 External Tuning program exited with no error
QSettings: error creating /.qt
QSettings::sync: filename is null/empty
2006-12-19 20:57:50.075 New DB scheduler connection
2006-12-19 20:57:50.091 Connected to database 'mythconverg' at host: localhost
2006-12-19 20:57:50.149 Main::Starting HttpServer
2006-12-19 20:57:50.228 Main::Registering HttpStatus Extension
2006-12-19 20:57:50.445 mythbackend version: 0.20.20060828-3 www.mythtv.org
2006-12-19 20:57:50.473 Enabled verbose msgs:  important general
2006-12-19 20:57:50.730 AutoExpire: Found 1 recorders w/max rate of 72 MiB/min
2006-12-19 20:57:50.839 AutoExpire: Required Free Space: 2.1 GB w/freq: 10 min
2006-12-19 20:57:52.151 Reschedule requested for id -1.
2006-12-19 20:57:57.455 mythbackend: Running housekeeping thread
2006-12-19 20:57:59.489 Scheduled 35 items in 7.3 = 7.05 match + 0.28 place
2006-12-19 20:57:59.492 scheduler: Scheduled items: Scheduled 35 items in 7.3 = 7.05 match + 0.28 place
2006-12-19 20:57:59.497 Seem to be woken up by USER

Now we start watching live TV (and get nothing but static of course):

2006-12-19 20:59:32.691 MainServer::HandleAnnounce Monitor
2006-12-19 20:59:32.691 adding: oxygen.pixelchaos.net as a client (events: 0)
2006-12-19 20:59:32.696 MainServer::HandleAnnounce Monitor
2006-12-19 20:59:32.697 adding: oxygen.pixelchaos.net as a client (events: 1)
2006-12-19 20:59:32.755 MainServer::HandleAnnounce Playback
2006-12-19 20:59:32.755 adding: oxygen.pixelchaos.net as a client (events: 0)
2006-12-19 20:59:32.763 TVRec(1): Changing from None to WatchingLiveTV
2006-12-19 20:59:32.764 TVRec(1): HW Tuner: 1->1
2006-12-19 20:59:33.813 ret_pid(3721) child(3721) status(0x0)
2006-12-19 20:59:33.813 External Tuning program exited with no error
2006-12-19 20:59:34.288 MainServer::HandleAnnounce Playback
2006-12-19 20:59:34.288 adding: oxygen.pixelchaos.net as a client (events: 0)
2006-12-19 20:59:34.293 MainServer::HandleAnnounce FileTransfer
2006-12-19 20:59:34.294 adding: oxygen.pixelchaos.net as a remote file transfer
2006-12-19 20:59:40.811 TVRec(1): Changing from WatchingLiveTV to None
2006-12-19 20:59:41.010 Finished recording Nova "The Wave That Shook the World": channel 1023
2006-12-19 20:59:41.013 scheduler: Finished recording: Nova "The Wave That Shook the World": channel 1023