[linux-dvb] Two card config question

Philip Prindeville philipp_subx at redfish-solutions.com
Wed Nov 2 07:57:52 CET 2005


Manu Abraham wrote:

> when you specify card=113, i2c_hw=1 is assumed by newer changes in 
> bttv as i can see. So you need not explicitly state i2c_hw=1, unless 
> there have been changes to bttv again. Can't state that for sure, 
> since bttv undergoes changes every now and then.
>
> so that would mean you can pass arguments like bttv card=113 card=112, 
> these will mean card0, card1 etc.
>
> Manu
>


Well, I ended up with the following:

options bt878 debug=5
options bttv card=113 i2c_hw=1
options cx8802 debug=5
options cx88_dvb debug=5
options dst verbose=5 dst_addons=0
options dvb_core dvb_shutdown_timeout=0

install bttv /sbin/modprobe --ignore-install bttv
remove bttv { /sbin/modprobe -r --ignore-remove bttv; }

install bt878 /sbin/modprobe --ignore-install bt878 && /sbin/modprobe 
dst && /sbin/modprobe dvb-bt8xx
remove bt878 { /sbin/modprobe -r dvb-bt8xx; /sbin/modprobe -r dst; 
/sbin/modprobe -r --ignore-remove bt878; /sbin/modprobe -r bttv; }

install cx88_dvb /sbin/modprobe --ignore-install cx88_dvb
remove cx88_dvb { /sbin/modprobe -r --ignore-remove cx88_dvb; }

install cx8800 /sbin/modprobe --ignore-install cx8800
remove cx8800 { /sbin/modprobe -r --ignore-remove cx8800; }



which mostly works, except that a "modprobe -r bt878" seems to cause 
recursion.

Otherwise, works great:

via-ircc: dongle probing not supported, please specify dongle_id module 
parameter.
IrDA: Registered device irda0 (via-ircc)
Linux video capture interface: v1.00
cx2388x dvb driver version 0.0.4 loaded
cx88[0]: subsystem: 7063:3000, board: pcHDTV HD3000 HDTV 
[card=22,autodetected]
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 12
PCI: setting IRQ 12 as level-triggered
ACPI: PCI Interrupt 0000:00:14.2[A] -> Link [LNKB] -> GSI 12 (level, 
low) -> IRQ 12
cx88[0]/2: found at 0000:00:14.2, rev: 5, irq: 12, latency: 32, mmio: 
0xdf000000cx88[0]/2: cx2388x based dvb card
DVB: registering new adapter (cx88[0]).
DVB: registering frontend 0 (pcHDTV HD3000 HDTV)...
cx2388x v4l2 driver version 0.0.4 loaded
ACPI: PCI Interrupt 0000:00:14.0[A] -> Link [LNKB] -> GSI 12 (level, 
low) -> IRQ 12
cx88[0]/0: found at 0000:00:14.0, rev: 5, irq: 12, latency: 32, mmio: 
0xde000000tuner 0-0061: chip found @ 0xc2 (cx88[0])
tuner 0-0061: type set to 52 (Thomson DDT 7610 (ATSC/NTSC))
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx88[0]/0: registered device radio0
bttv: driver version 0.9.15 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
ACPI: PCI Interrupt 0000:00:13.0[A] -> Link [LNKA] -> GSI 10 (level, 
low) -> IRQ 10
bttv0: Bt878 (rev 17) at 0000:00:13.0, irq: 10, latency: 32, mmio: 
0xe0001000
bttv0: detected: ChainTech digitop DST-1000 DVB-S [card=113], PCI 
subsystem ID is 270f:fc00
bttv0: using: Twinhan DST + clones [card=113,insmod option]
bttv0: using tuner=4
bttv0: add subdevice "dvb0"
bt878: no version for "struct_module" found: kernel tainted.
bt878: AUDIO driver version 0.0.0 loaded
bt878: Bt878 AUDIO function found (0).
ACPI: PCI Interrupt 0000:00:13.1[A] -> Link [LNKA] -> GSI 10 (level, 
low) -> IRQ 10
bt878(0): Bt878 (rev 17) at 00:13.1, irq: 10, latency: 32, memory: 
0xe0002000
DVB: registering new adapter (bttv0).
rdc_8820_reset: Resetting DST
dst_gpio_outb: mask=[0004], enbb=[0004], outhigh=[0000]
dst_gpio_outb: mask=[0004], enbb=[0004], outhigh=[0004]
dst_comm_init: Initializing DST..
dst_gpio_outb: mask=[ffffffff], enbb=[0001], outhigh=[0000]
rdc_reset_state: Resetting state machine
dst_gpio_outb: mask=[0002], enbb=[0002], outhigh=[0000]
dst_gpio_outb: mask=[0002], enbb=[0002], outhigh=[0002]
write_dst writing 00 06 00 00 00 00 00 fa
dst_gpio_outb: mask=[ffffffff], enbb=[0000], outhigh=[0000]
read_dst reply is 0xff
dst_wait_dst_ready: dst wait ready after 1
read_dst reply is 0x44
 0x53 0x54 0x2d 0x30 0x33 0x54 0x31
dst_gpio_outb: mask=[ffffffff], enbb=[0000], outhigh=[0000]
dst_get_device_id: Recognise [DST-03T]
DST type : satellite
DST type flags : 0x2 ts204 0x4 symdiv 0x10 firmware version = 2
DVB: registering frontend 1 (DST DVB-S)...
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 7
PCI: setting IRQ 7 as level-triggered
ACPI: PCI Interrupt 0000:00:10.3[D] -> Link [LNKD] -> GSI 7 (level, low) 
-> IRQ 7
...
or51132: Waiting for firmware upload(dvb-fe-or51132-vsb.fw)...
or51132: Version: 10001134-19430000 (113-4-194-3)
or51132: Firmware upload complete.
[root at tuner ~]#






More information about the linux-dvb mailing list