[linux-dvb] Two card config question

Philip Prindeville philipp_subx at redfish-solutions.com
Sun Oct 30 02:42:15 CET 2005


Michael Krufky wrote:

> Philip Prindeville wrote:
>
>>
>> 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 v4l2 driver version 0.0.4 loaded
>> ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 12
>> PCI: setting IRQ 12 as level-triggered
>> ACPI: PCI Interrupt 0000:00:14.0[A] -> Link [LNKB] -> GSI 12 (level, 
>> low) -> IRQ 12
>> cx88[0]: subsystem: 7063:3000, board: pcHDTV HD3000 HDTV 
>> [card=22,autodetected]
>> tuner 0-0061: chip found @ 0xc2 (cx88[0])
>> tuner 0-0061: type set to 52 (Thomson DDT 7610 (ATSC/NTSC))
>> cx88[0]/0: found at 0000:00:14.0, rev: 5, irq: 12, latency: 32, mmio: 
>> 0xde000000cx88[0]/0: registered device video0 [v4l2]
>> cx88[0]/0: registered device vbi0
>> cx88[0]/0: registered device radio0
>> cx2388x dvb driver version 0.0.4 loaded
>> 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)...
>> 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,autodetected]
>> bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
>> bttv0: using tuner=4
>> bttv0: add subdevice "dvb0"
>> 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
>> 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
>>
>> So it looked to me like the card was being detected properly...
>
>
> [snip]
>
>> So I'm not sure what's going on...  Perhaps udev doesn't correctly 
>> support
>> more than one DVB adapter?  Is there any way to force which adapter
>> numbers get used?
>
>
> You have to explicitly call:
>
> modprobe dvb-bt8xx
> modprobe dst
>
> (this is covered in linux/Documentation/dvb/bt8xx.txt)
>

Maybe I'm just being dense, but I read it and it still isn't clear.  
Running the commands
is one thing, but setting them up for /etc/modprobe.conf is something else.

Currently I have:

alias char-major-81 bttv
## added on (Card No. 113, Twinhan DVB card)
options bttv0 card=113 i2c_hw=1
options bttv1 card=112
options dst0 verbose=5 dst_addons=0
options cx8802 debug=5
options cx88_dvb debug=5
options bt878 debug=5
options dvb_core dvb_shutdown_timeout=0
install bttv0 /sbin/modprobe --ignore-install bttv && /sbin/modprobe 
dvb-bt8xx && /sbin/modprobe dst
install bttv1 /sbin/modprobe --ignore-install bttv && /sbin/modprobe 
cx88-dvb && /sbin/modprobe cx8800

But that doesn't work...  or at least, not automatically at boot.  I 
have to run
"modprobe bttv0" and then "modprobe bttv1"...  I suppose there's an easy
way to fix that, such as:

alias bttv0 ...  ummm....

Nope.  I'm drawing a blank.

Here's my logs, but as I said, I had to run the "modprobe bttv0" by hand...

Oct 29 18:17:47 tuner kernel: IrDA: Registered device irda0 (via-ircc)
Oct 29 18:17:47 tuner kernel: Linux video capture interface: v1.00
Oct 29 18:17:47 tuner kernel: cx2388x dvb driver version 0.0.4 loaded
Oct 29 18:17:47 tuner kernel: cx88[0]: subsystem: 7063:3000, board: 
pcHDTV HD3000 HDTV [card=22,autodetected]
Oct 29 18:17:47 tuner kernel: ACPI: PCI Interrupt Link [LNKB] enabled at 
IRQ 12
Oct 29 18:17:47 tuner kernel: PCI: setting IRQ 12 as level-triggered
Oct 29 18:17:47 tuner kernel: ACPI: PCI Interrupt 0000:00:14.2[A] -> 
Link [LNKB] -> GSI 12 (level, low) -> IRQ 12
Oct 29 18:17:47 tuner kernel: cx88[0]/2: found at 0000:00:14.2, rev: 5, 
irq: 12, latency: 32, mmio: 0xdf000000
Oct 29 18:17:47 tuner kernel: cx88[0]/2: cx2388x based dvb card
Oct 29 18:17:47 tuner kernel: DVB: registering new adapter (cx88[0]).
Oct 29 18:17:47 tuner kernel: DVB: registering frontend 0 (pcHDTV HD3000 
HDTV)...
Oct 29 18:17:47 tuner kernel: cx2388x v4l2 driver version 0.0.4 loaded
Oct 29 18:17:47 tuner kernel: ACPI: PCI Interrupt 0000:00:14.0[A] -> 
Link [LNKB] -> GSI 12 (level, low) -> IRQ 12
Oct 29 18:17:47 tuner kernel: cx88[0]/0: found at 0000:00:14.0, rev: 5, 
irq: 12, latency: 32, mmio: 0xde000000
Oct 29 18:17:47 tuner kernel: tuner 0-0061: chip found @ 0xc2 (cx88[0])
Oct 29 18:17:47 tuner kernel: tuner 0-0061: type set to 52 (Thomson DDT 
7610 (ATSC/NTSC))
Oct 29 18:17:47 tuner kernel: cx88[0]/0: registered device video0 [v4l2]
Oct 29 18:17:47 tuner kernel: cx88[0]/0: registered device vbi0
Oct 29 18:17:47 tuner kernel: cx88[0]/0: registered device radio0
Oct 29 18:17:47 tuner kernel: bttv: driver version 0.9.15 loaded
Oct 29 18:17:47 tuner kernel: bttv: using 8 buffers with 2080k (520 
pages) each for capture
Oct 29 18:17:47 tuner kernel: bttv: Bt8xx card found (0).
Oct 29 18:17:47 tuner kernel: ACPI: PCI Interrupt 0000:00:13.0[A] -> 
Link [LNKA] -> GSI 10 (level, low) -> IRQ 10
Oct 29 18:17:47 tuner kernel: bttv0: Bt878 (rev 17) at 0000:00:13.0, 
irq: 10, latency: 32, mmio: 0xe0001000
Oct 29 18:17:47 tuner kernel: bttv0: detected: ChainTech digitop 
DST-1000 DVB-S [card=113], PCI subsystem ID is 270f:fc00
Oct 29 18:17:47 tuner kernel: bttv0: using: Twinhan DST + clones 
[card=113,autodetected]
Oct 29 18:17:47 tuner kernel: bttv0: using tuner=4
Oct 29 18:17:47 tuner kernel: bttv0: add subdevice "dvb0"
Oct 29 18:17:47 tuner kernel: bt878: no version for "struct_module" 
found: kernel tainted.
Oct 29 18:17:47 tuner kernel: bt878: AUDIO driver version 0.0.0 loaded
Oct 29 18:17:47 tuner kernel: bt878: Bt878 AUDIO function found (0).
Oct 29 18:17:47 tuner kernel: ACPI: PCI Interrupt 0000:00:13.1[A] -> 
Link [LNKA] -> GSI 10 (level, low) -> IRQ 10
Oct 29 18:17:47 tuner kernel: bt878(0): Bt878 (rev 17) at 00:13.1, irq: 
10, latency: 32, memory: 0xe0002000
Oct 29 18:17:47 tuner kernel: ACPI: PCI Interrupt Link [LNKD] enabled at 
IRQ 7
Oct 29 18:17:47 tuner kernel: PCI: setting IRQ 7 as level-triggered
Oct 29 18:17:47 tuner kernel: ACPI: PCI Interrupt 0000:00:10.3[D] -> 
Link [LNKD] -> GSI 7 (level, low) -> IRQ 7
...
Oct 29 19:20:29 tuner kernel: or51132: Waiting for firmware 
upload(dvb-fe-or51132-vsb.fw)...
Oct 29 19:20:39 tuner kernel: or51132: Version: 10001134-19430000 
(113-4-194-3)
Oct 29 19:20:39 tuner kernel: or51132: Firmware upload complete.
Oct 29 19:21:17 tuner kernel: DVB: registering new adapter (bttv0).
Oct 29 19:21:17 tuner kernel: dst_get_device_id: Recognise [DST-03T]
Oct 29 19:21:17 tuner kernel: DST type : satellite
Oct 29 19:21:17 tuner kernel: DST type flags : 0x2 ts204 0x4 symdiv 0x10 
firmware version = 2
Oct 29 19:21:17 tuner kernel: DVB: registering frontend 1 (DST DVB-S)...


Any more suggestions?

-Philip




More information about the linux-dvb mailing list