[mythtv] Trouble switching between dvb cards

George Salisbury george at kanigan.com
Thu Jul 29 18:30:52 EDT 2004


Hi, I have been trying to fix this issue for the last few days but 
haven't made any progress. Hopefully some of you who have a similar 
setup can point me in the right direction.

I have 2 dvb cards in my mythtv pc, one dvb-t (DVICO FusionHDTV) and one 
dvb-s (Nexus-s).

They both work fine in mythtv, but I cannot figure out how to get mythtv 
to switch between them, to go from a dvb-t channel to a dvb-s channel. I 
have searched the lists but haven't came across anything similar to my 
problem. I am using gentoo and switched to the cvs version a few days 
ago. Here are some of my logs:

This is the backend log when trying to go from dvb-t channel (channel 5 
using DVB#0) to dvb-s channel (channel 1 using DVB#1)

   2004-07-29 14:48:18 Failed to find channel(1) on current input
   (DVBInput) of card (1).
   2004-07-29 14:48:18 Failed to find channel(1) on any input of card (1).

Backend starting up and watching dvb-t channel for 8 seconds and then 
hitting y to change sources, causing mythtv to quit:

   2004-07-29 14:53:30 DVB#0 Using DVB card 0, with frontend DVICO
   FusionHDTV DVB-T1.
   2004-07-29 14:53:30 DVB#0 Trying to tune to channel 5.
   2004-07-29 14:53:30 DVB#0 Frequency: 529500000. BW:7Mhz HP:2/3
   LP:2/3 C:64 TM:8K H:Auto GI:1/8
   2004-07-29 14:53:30 DVB#0 Waiting for frontend event after tune.
   2004-07-29 14:53:30 DVB#0 WARNING - Status: NO LOCK!
   2004-07-29 14:53:31 DVB#0 Status: CARRIER | VITERBI | SIGNAL | SYNC
   | LOCK.
   2004-07-29 14:53:31 DVB#0 Successfully tuned to channel 5.
   2004-07-29 14:53:31 DVB#1 Using DVB card 1, with frontend
   STV0299/TSA5059/SL1935 based.
   2004-07-29 14:53:31 DVB#1 CAM - Initialized successfully.
   2004-07-29 14:53:31 DVB#1 Trying to tune to channel 1.
   2004-07-29 14:53:31 DVB#1 Frequency: 12407000 Symbol Rate: 30000000
   Pol: V Inv:Auto
   2004-07-29 14:53:31 DVB#1 Setting LNB: Tone ON 13V
   2004-07-29 14:53:31 DVB#1 Waiting for frontend event after tune.
   2004-07-29 14:53:31 DVB#1 WARNING - Status: NO LOCK!
   2004-07-29 14:53:31 DVB#1 WARNING - Status: SIGNAL | NO LOCK!
   2004-07-29 14:53:32 DVB#1 Status: CARRIER | VITERBI | SIGNAL | SYNC
   | LOCK.
   2004-07-29 14:53:32 DVB#1 Successfully tuned to channel 1.
   2004-07-29 14:53:32 DVB#1 CAM - Cached PMT found.
   2004-07-29 14:53:32 mythbackend version: 0.15.20040528-1 www.mythtv.org
   2004-07-29 14:53:32 Enabled verbose msgs :all
   2004-07-29 14:53:34 Found changes in the todo list.
   2004-07-29 14:53:34 PruneOldRecords...
   2004-07-29 14:53:34 AddNewRecords...
   Query 0: /record.search = 0 AND program.title = record.title
   2004-07-29 14:53:34  |-- Start DB Query 0...
   2004-07-29 14:53:34  |-- Processing 0 results...
   2004-07-29 14:53:34  +-- Cleanup...
   2004-07-29 14:53:34 Sort by time...
   2004-07-29 14:53:34 PruneOverlaps...
   2004-07-29 14:53:34 Sort by priority...
   2004-07-29 14:53:34 BuildListMaps...
   2004-07-29 14:53:34 SchedNewRecords...
   2004-07-29 14:53:34 Scheduling:
   2004-07-29 14:53:34 ClearListMaps...
   2004-07-29 14:53:34 Sort by time...
   2004-07-29 14:53:34 PruneRedundants...
   --- print list start ---
   Title - Subtitle                    Chan ChID Day Start  End   S C
   I  T N Pri
   ---  print list end  ---
   2004-07-29 14:53:34 Scheduled 0 items in 0.002301 seconds.
   2004-07-29 14:53:34 Seem to be woken up by USER
   2004-07-29 14:53:37 DVB#1 CAM - Sending PMT to slot 0.
   2004-07-29 14:53:40 13      ACCEPT[]:[]12
   2004-07-29 14:53:40 MainServer::HandleAnnounce Playback
   2004-07-29 14:53:40 adding: ashtaka as a client (events: 0)
   2004-07-29 14:53:40 2       OK
   2004-07-29 14:53:40 Getting next free recorder after : -1
   2004-07-29 14:53:40 Card 1 is local.
   2004-07-29 14:53:40 24      1[]:[]127.0.0.1[]:[]6543
   2004-07-29 14:53:40 13      ACCEPT[]:[]12
   2004-07-29 14:53:40 13      ACCEPT[]:[]12
   2004-07-29 14:53:40 MainServer::HandleAnnounce Playback
   2004-07-29 14:53:40 adding: ashtaka as a client (events: 1)
   2004-07-29 14:53:40 2       OK
   2004-07-29 14:53:40 MainServer::HandleAnnounce Playback
   2004-07-29 14:53:40 adding: ashtaka as a client (events: 0)
   2004-07-29 14:53:40 2       OK
   2004-07-29 14:53:40 92        
rbuf://127.0.0.1:6543/mnt/video/livetv/ringbuf1...
   2004-07-29 14:53:40 MainServer::HandleAnnounce Playback
   2004-07-29 14:53:40 adding: ashtaka as a client (events: 0)
   2004-07-29 14:53:40 2       OK
   2004-07-29 14:53:40 adding: ashtaka as a remote ringbuffer
   2004-07-29 14:53:40 2       OK
   2004-07-29 14:53:40 Changing from None to WatchingLiveTV
   2004-07-29 14:53:40 Using profile 'Live TV' to record
   2004-07-29 14:53:40 DVB#0 Recorder: Card opened successfully.
   2004-07-29 14:53:40 DVB#0 Adding pid 103, type 0
   2004-07-29 14:53:40 DVB#0 Adding pid 102, type 1
   2004-07-29 14:53:40 2       ok
   2004-07-29 14:53:40 1       1
   2004-07-29 14:53:40 5       29.97
   2004-07-29 14:53:40 82       []:[] []:[] []:[] []:[] []:[]
   []:[]1000[]:[]no...
   2004-07-29 14:53:40 6       128000
   2004-07-29 14:53:40 7       0[]:[]0
   2004-07-29 14:53:40 6       128000
   2004-07-29 14:53:40 6       128000
   2004-07-29 14:53:41 6       128000
   2004-07-29 14:53:41 6       128000
   2004-07-29 14:53:41 6       128000
   2004-07-29 14:53:41 6       128000
   2004-07-29 14:53:41 6       128000
   2004-07-29 14:53:41 6       128000
   2004-07-29 14:53:41 8       0[]:[]54
   2004-07-29 14:53:41 79        
0[]:[]0[]:[]0[]:[]0[]:[]0[]:[]25[]:[]0[]:[]4573...
   2004-07-29 14:53:41 6       256000
   2004-07-29 14:53:42 2       ok
   2004-07-29 14:53:42 6       256000
   2004-07-29 14:53:42 6       256000
   2004-07-29 14:53:42 6       256000
   2004-07-29 14:53:43 6       256000
   2004-07-29 14:53:43 6       256000
   2004-07-29 14:53:43 6       256000
   2004-07-29 14:53:43 6       256000
   2004-07-29 14:53:44 6       256000
   2004-07-29 14:53:44 6       256000
   2004-07-29 14:53:44 6       256000
   2004-07-29 14:53:44 6       256000
   2004-07-29 14:53:45 6       256000
   2004-07-29 14:53:45 6       256000
   2004-07-29 14:53:45 6       256000
   2004-07-29 14:53:45 6       256000
   2004-07-29 14:53:46 6       256000
   2004-07-29 14:53:46 6       256000
   2004-07-29 14:53:46 6       256000
   2004-07-29 14:53:46 6       256000
   2004-07-29 14:53:47 6       256000
   2004-07-29 14:53:47 6       256000
   2004-07-29 14:53:47 6       256000
   2004-07-29 14:53:47 6       256000
   2004-07-29 14:53:48 6       256000
   2004-07-29 14:53:48 Changing from WatchingLiveTV to None
   2004-07-29 14:53:48 49      BACKEND_MESSAGE[]:[]DONE_RECORDING 1
   12[]:[]empty
   2004-07-29 14:53:48 Closing DVB recorder
   2004-07-29 14:53:48 DVB#0 Expiring DVB quality data older than 1 day(s)
   2004-07-29 14:53:48 2       ok
   2004-07-29 14:53:48 2       OK

Corresponding frontend output:

   mythtv at ashtaka mythtv $ /usr/local/bin/mythtv
   2004-07-29 15:26:07 Connecting to backend server: 127.0.0.1:6543
   (try 1 of 5)
   2004-07-29 15:26:07 Using protocol version 12
   2004-07-29 15:26:07 Using protocol version 12
   2004-07-29 15:26:07 Using protocol version 12
   2004-07-29 15:26:09 Opening OSS audio device '/dev/dsp'.
   2004-07-29 15:26:09 Audio fragment size: 4096
   2004-07-29 15:26:09 Using XV port 113
   2004-07-29 15:26:09 Changing from None to WatchingLiveTV
   2004-07-29 15:27:17 Changing from WatchingLiveTV to None
   2004-07-29 15:27:18 Changing from None to None

Backend log when watching dvb-t channel and hitting c, this causes the 
backend to quit, with Killed as the final terminal ouput, and leaves the 
frontend hanging.

   2004-07-29 15:20:18 6       256000
   2004-07-29 15:20:18 6       256000
   2004-07-29 15:20:18 6       256000
   2004-07-29 15:20:19 6       256000
   2004-07-29 15:20:19 6       256000
   2004-07-29 15:20:19 6       256000
   2004-07-29 15:20:20 6       256000
   2004-07-29 15:20:20 6       256000
   2004-07-29 15:20:20 6       256000
   2004-07-29 15:20:20 16      0[]:[]2093482167
   2004-07-29 15:20:20 16      0[]:[]2093445303
   2004-07-29 15:20:20 16      0[]:[]2093365669
   2004-07-29 15:20:20 6       256000
   2004-07-29 15:20:20 16      0[]:[]2093326743
   2004-07-29 15:20:20 2       ok

The channel data should be ok as each card works individually in mythtv. 
I have looked through the database with phpmyadmin and all the settings 
look ok.

I hope someone knows something about this. It is my last hurdle to get 
over. Both cards work fine together, I have had dvbstream streaming both 
cards at once.

George.


More information about the mythtv-dev mailing list