[vdr] DVB-T card on the move

Rainer Zocholl UseNet-Posting-Nospam-74308- at zocki.toppoint.de
Wed Feb 6 20:08:00 CET 2008


malte.forkel at berlin.de(Malte Forkel)  05.02.08 08:11


>> So how can i "nail" this moving DVB-T card to a fixed postition?
>>
>>
>You might try to blacklist the driver modules used for the cards in
>/etc/modprobe.d/blacklist and then enter them in /etc/modules in an
>order of your liking. If you can read German, have a look at
>http://www.vdr-wiki.de/wiki/index.php/Reihenfolge_der_DVB-Treiber_fest
>legen.

Tried hacking "blacklist"


After "reboot" i got:

vdr:~# dmesg |grep -i front
DVB: registering frontend 0 (Zarlink MT352 DVB-T)...
DVB: registering frontend 1 (ST STV0299 DVB-S)...
DVB: registering frontend 2 (ST STV0299 DVB-S)...
DVB: registering frontend 3 (ST STV0299 DVB-S)...


 that's "stable" but not really what i want ;-)

BTW:
Sometimes i got the note "recording starts in 5 minutes"
and my livs display is switched to that transponder.
I can only zapp betwen the channles on this transponder
if i switch the transponder, it is tunned back after a few seconds.

Is that caused by that bad hardware handling of linux?


vdr:~# lsmod |awk '/^dvb_core/ {i=split($4, arr, /,/); for (;i>1;i--) printf
"%s ",arr[i];print arr[1]}'
lgdt330x or51211 dst dst_ca dvb_bt8xx stv0299 dvb_ttpci budget_core budget_ci
vdr:~#
vdr:~#


vdr:~# lsmod
Module                  Size  Used by
ipv6                  243364  18
ac                      6660  0
battery                13320  0
lirc_serial            15508  1
lirc_dev               15236  1 lirc_serial
aoe                    26144  0
budget_ci              18948  0
budget_core            12164  1 budget_ci
tda1004x               15364  1 budget_ci
dvb_ttpci              94152  50
lnbp21                  3328  2 budget_ci,dvb_ttpci
l64781                  7812  1 dvb_ttpci
saa7146_vv             46464  1 dvb_ttpci
saa7146                19848  4 budget_ci,budget_core,dvb_ttpci,saa7146_vv
ves1820                 7300  1 dvb_ttpci
tda8083                 6788  1 dvb_ttpci
sp8870                  7820  1 dvb_ttpci
stv0297                 8192  2 budget_ci,dvb_ttpci
ves1x93                 7300  1 dvb_ttpci
ttpci_eeprom            3584  2 budget_core,dvb_ttpci
stv0299                10888  2 budget_ci,dvb_ttpci
hwmon_vid               3968  0
k8temp                  6656  0
eeprom                  8208  0
i2c_nforce2             7424  0
cpufreq_ondemand        9356  0
freq_table              6432  1 cpufreq_ondemand
loop                   18436  0
tsdev                   9280  0
dvb_bt8xx              15876  2
nxt6000                 8068  1 dvb_bt8xx
mt352                   7172  1 dvb_bt8xx
dvb_pll                11396  1 dvb_bt8xx
sp887x                  8068  1 dvb_bt8xx
dst_ca                 13952  1 dvb_bt8xx
dst                    28040  2 dvb_bt8xx,dst_ca
or51211                 8836  1 dvb_bt8xx
zl10353                 7048  1 dvb_bt8xx
lgdt330x                9220  1 dvb_bt8xx
dvb_core               75688  9
budget_ci,budget_core,dvb_ttpci,stv0299,dvb_bt8xx,dst_ca,dst,or51211,lgdt330x
bt878                  12008  2 dvb_bt8xx,dst
cx24110                 8580  1 dvb_bt8xx
parport_pc             35620  0
parport                35528  1 parport_pc
bttv                  168948  2 dvb_bt8xx,bt878
video_buf              24708  2 saa7146_vv,bttv
firmware_class         10752  8
budget_ci,tda1004x,dvb_ttpci,sp8870,dvb_bt8xx,sp887x,or51211,bttv
ir_common              35204  2 budget_ci,bttv
compat_ioctl32          2432  1 bttv
i2c_algo_bit            7044  1 bttv
psmouse                37520  0
btcx_risc               5896  1 bttv
tveeprom               16144  1 bttv
i2c_core               24832  28
budget_ci,budget_core,tda1004x,dvb_ttpci,lnbp21,l64781,ves1820,tda8083,sp8870
,stv0297,ves1x93,ttpci_eeprom,stv0299,eeprom,i2c_nforce2,dvb_bt8xx,nxt6000,mt
352,dvb_pll,sp887x,dst,or51211,zl10353,lgdt330x,cx24110,bttv,i2c_algo_bit,tve
eprom
snd_intel8x0           33180  0
button                  9360  0
snd_ac97_codec         92192  1 snd_intel8x0
serio_raw               7812  0
ac97_bus                3456  1 snd_ac97_codec
videodev               28032  2 saa7146_vv,bttv
floppy                 55908  0
v4l2_common            17792  3 saa7146_vv,bttv,videodev
snd_pcm                73476  2 snd_intel8x0,snd_ac97_codec
snd_timer              22404  1 snd_pcm
snd                    50020  4 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore               9056  1 snd
snd_page_alloc         11272  2 snd_intel8x0,snd_pcm
rtc                    13848  0
v4l1_compat            13572  3 saa7146_vv,bttv,videodev
shpchp                 32276  0
pci_hotplug            29856  1 shpchp
sis_agp                10244  1
agpgart                32972  1 sis_agp
evdev                  10624  0
ext3                  127112  5
jbd                    68276  1 ext3
dm_mirror              23168  0
dm_snapshot            18088  0
dm_mod                 54208  2 dm_mirror,dm_snapshot
generic                 5892  0 [permanent]
sd_mod                 28672  8
sis5513                13192  0 [permanent]
ide_core              118084  2 generic,sis5513
sata_sis                9988  7
ata_generic             8836  0
pata_sis               14852  2 sata_sis
ehci_hcd               32396  0
ohci_hcd               21764  0
sis900                 23680  0
mii                     6400  1 sis900
usbcore               132744  3 ehci_hcd,ohci_hcd
libata                114996  3 sata_sis,ata_generic,pata_sis
scsi_mod              138252  2 sd_mod,libata
thermal                16668  0
processor              36936  1 thermal
fan                     6148  0



vdr:~# cat /etc/hotplug/blacklist.d/vdr
dvb_core
dvb_ttpci
budget_core
budget_ci
dvb_bt8xx
stv0299
lgdt330x
or51211
dst
dst_ca

vdr:~# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

loop
powernow-k8
cpufreq-ondemand

# Generated by sensors-detect on Sat Oct 20 03:59:47 2007
# I2C adapter drivers
i2c-nforce2
# Chip drivers
eeprom
k8temp
w83627ehf

dvb_ttpci
budget_ci
dvb_bt8xx
stv0299
lgdt330x
or51211
dst
dst_ca



vdr:~# tail -10  /etc/modprobe.d/blacklist
#don't load the dvb drivers automatically
blacklist dvb_ttpci
blacklist b2c2_flexcop_pci
blacklist stv0299
blacklist dvb_ttpci
blacklist lgdt330x
blacklist or51211
blacklist dst
blacklist dst_ca
blacklist dvb_bt8xx



/usr/sbin/runvdr

get_modulenames

[ -z "$MODULES" ] && load_dvb_modules

if [ "$VDSB_WORKAROUND" = "yes" ] && [ -x /usr/bin/szap ] ; then
    channel=àwk '/^[^:]/ {print NR; exit}' /var/lib/vdr/channels.conf`
    szap -a 0 -n $channel -c /var/lib/vdr/channels.conf >/dev/null &
    szap -a 1 -n $channel -c /var/lib/vdr/channels.conf >/dev/null &
    szap -a 2 -n $channel -c /var/lib/vdr/channels.conf >/dev/null &
    szap -a 3 -n $channel -c /var/lib/vdr/channels.conf >/dev/null &
    sleep 5
    killall szap
fi





vdr:~# cat /tmp/vdrinfo.log
**************************************
*        c't VDR Übersicht           *
**************************************

c't VDR: 1.4.7-3ctvdr1
Kernel : 2.6.23x2

Patches:
--------------------------------------
liemikuutio
jumpplay
subtitles-ttxtsubs
audioindexer
iptv
disableDoubleEpgEntrys
noepg
wareagle-icons
rotor
yaepg
sourcecaps
graphtft-0.1
cuttime

Plugins (APIVERSION 1.4.5):
( N = Native Plugin       )
( ! = Falscher Patchlevel )
( - = Deaktiviert         )
--------------------------------------
  vdr-plugin-autotimeredit (0.1.8-19)
  vdr-plugin-console (0.6.0-33)
  vdr-plugin-control (0.0.2a-33)
  vdr-plugin-epgsearch (0.9.24~beta3-5) conflictcheckonly
  vdr-plugin-epgsearch (0.9.24~beta3-5)
  vdr-plugin-examples (1.4.7-3ctvdr1) osddemo
  vdr-plugin-femon (1.1.4-1)
  vdr-plugin-osdpip (0.0.8-30)
  vdr-plugin-osdteletext (0.5.1-31)
  vdr-plugin-undelete (0.0.6-20)

Addon-Packages:
--------------------------------------
vdr-addon-acpiwakeup (0.0.6)
vdr-addon-noad (0.6.0-8)
vdr-addon-tvmovie2vdr (0.5.14-1)
vdr-genindex (0.1.3-1)
vdr-xpmlogos (0.0.1-3)

vdr:~# apt-cache policy vdr
vdr:
  Installiert:1.4.7-3ctvdr1
  Mögliche Pakete:1.4.7-4ctvdr1
  Versions-Tabelle:
     1.4.7-4ctvdr1 0
        800 http://e-tobi.net etch/vdr-multipatch Packages
 *** 1.4.7-3ctvdr1 0
        100 /var/lib/dpkg/status
     1.4.4-1 0
        500 http://ftp.de.debian.org etch/main Packages





More information about the vdr mailing list