[vdr] Cannot switch channels, if primary card is not connected to satellite dish

Christian Pesch christian.pesch at coremedia.com
Tue Mar 29 21:05:40 CEST 2005


Hi,

since I've disconnected my primary DVB-s (Nexus 2.1) card from the satellite
dish, I cannot switch channels on a DVB-t (Technotrend DVB-T 1300 Budget)
card. The picture stays black until I play a recording.  As you might 
guess, this
workaround is not nice :-)

The system is linvdr 0.7. This is the shortened log:

linvdr:~# logread
Mar 25 21:02:37 linvdr syslog.info syslogd started: BusyBox v1.00 
(2004.11.01-04:47+0000)
Mar 25 21:02:37 linvdr user.info kernel: ACPI: PCI interrupt 
0000:00:09.0[A] -> GSI 12 (level, low) -> IRQ 12
Mar 25 21:02:38 linvdr user.info kernel: Linux video capture interface: 
v1.00
Mar 25 21:02:39 linvdr user.warn kernel: saa7146: register extension 'dvb'.
Mar 25 21:02:39 linvdr user.info kernel: ACPI: PCI interrupt 
0000:00:0b.0[A] -> GSI 10 (level, low) -> IRQ 10
Mar 25 21:02:39 linvdr user.warn kernel: found saa7146 @ mem d4ab4000 
(revision 1, irq 10) (0x13c2,0x0003).
Mar 25 21:02:39 linvdr user.warn kernel: DVB: registering new adapter 
(Technotrend/Hauppauge WinTV Nexus-S rev2.X).

^^^^^^^^^^^^ the Nexus-S

Mar 25 21:02:39 linvdr user.warn kernel: adapter has MAC addr = 
00:d0:5c:1f:72:1e
Mar 25 21:02:39 linvdr user.warn kernel: load boot code
Mar 25 21:02:39 linvdr user.warn kernel: load dram code
Mar 25 21:02:39 linvdr user.warn kernel: load dpram code
Mar 25 21:02:39 linvdr user.warn kernel: dvb-ttpci: gpioirq unknown 
type=0 len=0
Mar 25 21:02:39 linvdr user.warn kernel: dvb-ttpci: info @ card 0: firm 
f0240009, rtsl b0250018, vid 71010068, app 8000261d
Mar 25 21:02:39 linvdr user.warn kernel: dvb-ttpci: firmware @ card 0 
supports CI link layer interface
Mar 25 21:02:40 linvdr user.warn kernel: dvb-ttpci: adac type set to 0 @ 
card 0
Mar 25 21:02:40 linvdr user.warn kernel: saa7146 (0): registered device 
video0 [v4l2]
Mar 25 21:02:40 linvdr user.warn kernel: DVB: registering frontend 0 (ST 
STV0299 DVB-S)...
Mar 25 21:02:40 linvdr user.info kernel: dvb-ttpci: found av7110-0.
Mar 25 21:02:40 linvdr user.warn kernel: saa7146: register extension 
'budget dvb'.
Mar 25 21:02:40 linvdr user.warn kernel: saa7146: register extension 
'budget_ci dvb'.
Mar 25 21:02:40 linvdr user.info kernel: ACPI: PCI interrupt 
0000:00:0c.0[A] -> GSI 11 (level, low) -> IRQ 11
Mar 25 21:02:40 linvdr user.warn kernel: found saa7146 @ mem d4b0c000 
(revision 1, irq 11) (0x13c2,0x1011).
Mar 25 21:02:40 linvdr user.warn kernel: DVB: registering new adapter 
(TT-Budget/WinTV-NOVA-T^I PCI).
Mar 25 21:02:40 linvdr user.warn kernel: adapter has MAC addr = 
00:d0:5c:22:2f:1d
Mar 25 21:02:40 linvdr user.warn kernel: DVB: registering frontend 1 
(Philips TDA10045H DVB-T)...

^^^^^^^^^^^^^^^^^^^^^ the DVB-t

<>Mar 25 21:02:40 linvdr user.warn kernel: saa7146: register extension 
'budget dvb /w video in'.
Mar 25 21:02:43 linvdr user.debug vdr[1117]: probing 
/dev/dvb/adapter0/frontend0
Mar 25 21:02:43 linvdr user.debug vdr[1117]: probing 
/dev/dvb/adapter1/frontend0
Mar 25 21:02:43 linvdr user.debug vdr[1122]: tuner on device 1 thread 
started (pid=1122, tid=1026)
Mar 25 21:02:43 linvdr user.debug vdr[1123]: Section handler thread 
started (pid=1123, tid=2051)
Mar 25 21:02:43 linvdr user.warn kernel: tda1004x: waiting for firmware 
upload...
Mar 25 21:02:44 linvdr user.debug vdr[1128]: tuner on device 2 thread 
started (pid=1128, tid=3076)
Mar 25 21:02:44 linvdr user.debug vdr[1129]: Section handler thread 
started (pid=1129, tid=4101)
Mar 25 21:02:44 linvdr user.debug vdr[1117]: probing 
/dev/dvb/adapter2/frontend0
Mar 25 21:02:44 linvdr user.info vdr[1117]: found 2 video devices
Mar 25 21:02:45 linvdr user.info vdr[1117]: setting primary device to 1

Switching to new channel:

Mar 25 21:06:57 linvdr user.info vdr[1117]: switching to channel 2
Mar 25 21:06:58 linvdr user.debug vdr[1134]: transfer thread ended 
(pid=1134, tid=7176)
Mar 25 21:06:58 linvdr user.debug vdr[1117]: buffer stats: 0 (0%) used
Mar 25 21:07:03 linvdr user.err vdr[1117]: ERROR: device 2 has no lock, 
can't attach receiver!

^^^^^^^^^^^^^ leaves device 2 (DVB-t) without lock (how do I solve this?)

Mar 25 21:07:03 linvdr user.debug vdr[1117]: max. latency time 6 seconds
Mar 25 21:07:03 linvdr user.debug vdr[1152]: transfer thread started 
(pid=1152, tid=8200)
Mar 25 21:07:03 linvdr user.info vdr[1117]: switching to channel 2
Mar 25 21:07:03 linvdr user.debug vdr[1152]: transfer thread ended 
(pid=1152, tid=8200)
Mar 25 21:07:03 linvdr user.debug vdr[1117]: buffer stats: 0 (0%) used
Mar 25 21:07:03 linvdr user.debug vdr[1153]: transfer thread started 
(pid=1153, tid=9224)
Mar 25 21:07:03 linvdr user.debug vdr[1154]: receiver on device 2 thread 
started (pid=1154, tid=10249)
Mar 25 21:07:03 linvdr user.debug vdr[1155]: TS buffer on device 2 
thread started (pid=1155, tid=11274)
Mar 25 21:07:14 linvdr user.info vdr[1117]: switching to channel 3
Mar 25 21:07:14 linvdr user.debug vdr[1153]: transfer thread ended 
(pid=1153, tid=9224)
Mar 25 21:07:14 linvdr user.debug vdr[1155]: TS buffer on device 2 
thread ended (pid=1155, tid=11274)
Mar 25 21:07:14 linvdr user.debug vdr[1154]: buffer stats: 58280 (2%) used
Mar 25 21:07:14 linvdr user.debug vdr[1154]: receiver on device 2 thread 
ended (pid=1154, tid=10249)
Mar 25 21:07:14 linvdr user.debug vdr[1117]: buffer stats: 58656 (2%) used
Mar 25 21:07:19 linvdr user.err vdr[1117]: ERROR: device 2 has no lock, 
can't attach receiver!

^^^^^^^^^^^^ and again

Mar 25 21:07:19 linvdr user.debug vdr[1156]: transfer thread started 
(pid=1156, tid=12296)

Now the replay of a recording:

Mar 25 21:07:24 linvdr user.debug vdr[1156]: transfer thread ended 
(pid=1156, tid=12296)
Mar 25 21:07:24 linvdr user.debug vdr[1117]: buffer stats: 0 (0%) used
Mar 25 21:07:24 linvdr user.info vdr[1117]: replay 
/video0/%Coldplay_A_rush_of_blood_to_the_head/2005-01-01.05.35.99.99.rec
Mar 25 21:07:24 linvdr user.debug vdr[1117]: playing 
'/video0/%Coldplay_A_rush_of_blood_to_the_head/2005-01-01.05.35.99.99.rec/001.vdr'
Mar 25 21:07:25 linvdr user.info vdr[1117]: loading 
/video0/%Coldplay_A_rush_of_blood_to_the_head/2005-01-01.05.35.99.99.rec//marks.vdr
Mar 25 21:07:25 linvdr user.debug vdr[1157]: dvbplayer thread started 
(pid=1157, tid=13320)
Mar 25 21:07:25 linvdr user.info vdr[1157]: resuming replay at index 
28371 (0:18:54.22)
Mar 25 21:07:25 linvdr user.debug vdr[1158]: non blocking file reader 
thread started (pid=1158, tid=14345)
Mar 25 21:07:25 linvdr user.debug vdr[1157]: SetBrokenLink: no GOP 
header found in video packet
Mar 25 21:07:26 linvdr user.debug vdr[1158]: non blocking file reader 
thread ended (pid=1158, tid=14345)
Mar 25 21:07:26 linvdr user.debug vdr[1157]: dvbplayer thread ended 
(pid=1157, tid=13320)

And the switch to channel 3 which gives a picture:

Mar 25 21:07:26 linvdr user.info vdr[1117]: switching to channel 3
Mar 25 21:07:26 linvdr user.debug vdr[1159]: transfer thread started 
(pid=1159, tid=15368)
Mar 25 21:07:26 linvdr user.debug vdr[1160]: receiver on device 2 thread 
started (pid=1160, tid=16393)
Mar 25 21:07:26 linvdr user.debug vdr[1161]: TS buffer on device 2 
thread started (pid=1161, tid=17418)
Mar 25 21:08:51 linvdr user.debug vdr[1159]: transfer thread ended 
(pid=1159, tid=15368)
Mar 25 21:08:52 linvdr user.debug vdr[1161]: TS buffer on device 2 
thread ended (pid=1161, tid=17418)
Mar 25 21:08:52 linvdr user.debug vdr[1160]: buffer stats: 68244 (3%) used
Mar 25 21:08:52 linvdr user.debug vdr[1160]: receiver on device 2 thread 
ended (pid=1160, tid=16393)
Mar 25 21:08:52 linvdr user.debug vdr[1117]: buffer stats: 68620 (3%) used

Any help is appreciated.

--
Christian




More information about the vdr mailing list