softdevice and lnb-sharing - is it possible?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm currently struggling with lnb-sharing on my budget-only system 
(Samsung SMT7020 internal DVB-S together with an USB-based Opera S1 
DVB-S device). This is running vdr 1.6.0 with the vdr-extensions patch 
58 (with lnb-sharing and syncearly only) and softdevice (cvs from 
February 20th).

I can watch live TV fine for a few seconds/minutes, but then the picture 
freezes. I asume this is because the free dvb-device does it's 
transponder scans and switches to a wrong polarity/band.

Both devices are configured to use the same LNB:

root@samsung:~# grep LNB /etc/vdr/setup.conf
Card1usesLNBnr = 1
Card2usesLNBnr = 1
Card3usesLNBnr = 3
VerboseLNBlog = 1

The "Card3usesLNBnr" is autogenerated by vdr, and doesn't show up in the 
LNB configuration OSD menu. Setting it manually to 1 doesn't help.

This is what the log says (note that vdr thinks there is a LNB 9 available):

Apr 12 20:32:46 (none) user.err vdr: [1469] probing 
/dev/dvb/adapter0/frontend0
Apr 12 20:32:46 (none) user.err vdr: [1492] tuner on device 1 thread 
started (pid=1492, tid=1492)
Apr 12 20:32:46 (none) user.err vdr: [1493] section handler thread 
started (pid=1493, tid=1493)
Apr 12 20:32:46 (none) user.err vdr: [1469] probing 
/dev/dvb/adapter1/frontend0
Apr 12 20:32:46 (none) user.err vdr: [1495] tuner on device 2 thread 
started (pid=1495, tid=1495)
Apr 12 20:32:46 (none) user.err vdr: [1496] section handler thread 
started (pid=1496, tid=1496)
Apr 12 20:32:46 (none) user.err vdr: [1469] found 2 video devices
Apr 12 20:32:46 (none) user.err vdr: [1469] initializing plugin: 
softdevice (0.4.0): A software emulated MPEG2 device
Apr 12 20:32:46 (none) user.err vdr: [1469] [softdevice] videoOut OK !
[...]
Apr 12 20:36:03 (none) user.err vdr: [8596] [VideoOut]: 720x576 [0,0 
720x576] -> 720x576 [0,0 720x576]
Apr 12 20:36:05 (none) user.err vdr: [8575] changing pids of channel 2 
from 110+110:120=deu,121=2ch;125=dd:0:130 to 
110+110:120=deu,121=2ch;125=dd:131=deu:130
Apr 12 20:36:05 (none) user.err vdr: [8561] retuning due to modification 
of channel 2
Apr 12 20:36:05 (none) user.err vdr: [8561] LNB 9: Request for channel 2 
on device 2. MaxBadPriority is -2
Apr 12 20:36:05 (none) user.err vdr: [8561] LNB 9: Device check for 
channel 2, LNBstate 1 on device 2, current LNBstate -1. No other devices 
affected
Apr 12 20:36:05 (none) user.err vdr: [8561] switching to channel 2
Apr 12 20:36:05 (none) user.err vdr: [8591] transfer thread ended 
(pid=8591, tid=8591)
Apr 12 20:36:05 (none) user.err vdr: [8561] buffer stats: 76516 (3%) used
Apr 12 20:36:05 (none) user.err vdr: [8561] LNB 1: Request for channel 2 
on device 0. MaxBadPriority is -2
Apr 12 20:36:05 (none) user.err vdr: [8561] LNB 1: Request for channel 2 
on device 1. MaxBadPriority is -2
Apr 12 20:36:05 (none) user.err vdr: [8561] LNB 9: Switching device 2 to 
channel 2
Apr 12 20:36:05 (none) user.err vdr: [8561] LNB 1: Switching device 0 to 
channel 2
Apr 12 20:36:05 (none) user.err vdr: [8606] transfer thread started 
(pid=8606, tid=8606)
Apr 12 20:36:05 (none) user.err vdr: [8593] TS buffer on device 1 thread 
ended (pid=8593, tid=8593)
Apr 12 20:36:05 (none) user.err vdr: [8592] buffer stats: 76140 (3%) used
Apr 12 20:36:05 (none) user.err vdr: [8592] receiver on device 1 thread 
ended (pid=8592, tid=8592)
Apr 12 20:36:05 (none) user.err vdr: [8607] receiver on device 1 thread 
started (pid=8607, tid=8607)
Apr 12 20:36:05 (none) user.err vdr: [8608] TS buffer on device 1 thread 
started (pid=8608, tid=8608)
Apr 12 20:36:05 (none) user.err vdr: [8611] [softdevice-audio]: xrun
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
130 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
63 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
62 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
54 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 1 
on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
71 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 2 
on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
60 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
68 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
24 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
88 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 3 
on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
23 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
36 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
34 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
15 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 4 
on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
40 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
148 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
21 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
10 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
112 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
53 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
116 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
52 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
48 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
51 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
19 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
16 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
72 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
14 on device 0. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
130 on device 1. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Request for channel 
130 on device 1. MaxBadPriority is -2
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Device check for 
channel 130, LNBstate 0 on device 1, current LNBstate -1. Conflict with 
device 0, LNBstate 1
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Switching device 0 to 
channel 130
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Device check for 
channel 130, LNBstate 0 on device 1, current LNBstate -1. No other 
devices affected
Apr 12 20:37:02 (none) user.err vdr: [8561] LNB 1: Switching device 1 to 
channel 130

So it looks like vdr detects that there is a conflict, but switches 
anyway? I tried to fix all devices to use LNB 1 by hacking the vdr 
source (to get rid of this LNB 9), but this resulted in "channel not 
available" for all channels.

Unfortunately I have no clue how softdevice works, but to me it looks 
like vdr thinks it has an exclusive LNB which it doesn't have to share.

Does anyone run lnbsharing together with softdevice successfully, or am 
I wasting my time on this?

Thanks,

Andreas


_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux