PCI/IRQ hardware question

Rick Miles <[email protected]>
Newsgroups gmane.org.user-groups.mlug.main
Message-ID <[email protected]>
I've been sitting on a DVICO DVB-T card since Christmas and now that the 
drivers are included in the kernel I compiled a 2.6.12-rc4 this weekend and 
had a look at setting up digital tv on something simple, xawtv-4.x which is 
simple and stable enough for my needs, and most importantly, it comes with 
some diagnostic aps. 

After compiling xawtv I found that I can't scan for analog stations but that 
the dvb option is greyed out and not available.

So this made me think that maybe my dvb pci card is not being recognised 
correctly. According to dmesg it is correctly identified and devices are 
created. But on a closer look I noticed that it is being assigned IRQ 11 and 
then following that my ethernet card is also being assigned IRQ 11.

When I do an lspci I find that this card is listed after my nic and that the 
dvb-t card is then listed as an "unkown device"

I'm thinking that both cards can't live at the same IRQ and that the nic keeps 
that IRQ because its the last assigned it. Consequently this is why I can't 
access the dvb-t card with xawtv to use for dvb tv. Its recognised crooectly 
at boot but ends up with no IRQ address.

I'll past in relevant section of dmesg and output of lspci below:
I also just thought to look at lsdev and while I'm not sure how to read it yet 
I've also pasted it below.

dmesg<snip>
Linux video capture interface: v1.00
cx2388x blackbird driver version 0.0.4 loaded
cx88[0]: subsystem: 18ac:db10, board: DVICO FusionHDTV DVB-T Plus 
[card=21,autodetected]
cx2388x v4l2 driver version 0.0.4 loaded
ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKD] -> GSI 11 (level, low) -> 
IRQ 11
cx88[0]: subsystem: 18ac:db10, board: DVICO FusionHDTV DVB-T Plus 
[card=21,autodetected]
cx88[0]/0: found at 0000:00:0b.0, rev: 5, irq: 11, latency: 32, mmio: 
0xe2000000
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> 
IRQ 11
8139too Fast Ethernet driver 0.9.27
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKB] -> GSI 11 (level, low) -> 
IRQ 11
<snipped>

root@rick:/home/rick# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8378 [KM400] Chipset Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL-8139/8139C/8139C+ (rev 10)
00:0a.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
00:0b.0 Multimedia video controller: Conexant: Unknown device 8800 (rev 05)
00:0b.2 Multimedia controller: Conexant: Unknown device 8802 (rev 05)
00:10.0 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] 
(rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] 
(rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] 
(rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. 
VT82C586A/B/VT82C686/A/B/VT823x/A/C/VT8235 PIPC Bus Master IDE (rev 06)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 
400] (rev b2)

root@rick:/home/rick# lsdev
Device            DMA   IRQ  I/O Ports
------------------------------------------------
0000:00:09.0                 d000-d0ff
0000:00:0a.0                 d400-d4ff
0000:00:10.0                 d800-d81f
0000:00:10.1                 dc00-dc1f
0000:00:10.2                 e000-e01f
0000:00:11.1                 e400-e40f
8139too                        d000-d0ff
acpi                      9
cascade             4     2
CMI8738-MC6                    d400-d4ff
dma                          0080-008f
dma1                         0000-001f
dma2                         00c0-00df
eth0                     11
fpu                          00f0-00ff
GPE0_BLK                       4020-4023
i8042                  1 12
ide0                     14  01f0-01f7 03f6-03f6   e400-e407
ide1                     15  0170-0177 0376-0376   e408-e40f
keyboard                     0060-006f
motherboard                  4000-407f 40f0-40ff 5000-500f
nvidia                   10
PCI                          0cf8-0cff
pic1                         0020-0021
pic2                         00a0-00a1
PM1a_CNT_BLK                   40f0-40f1
PM1a_EVT_BLK                   4000-4003
PM_TMR                         4008-400b
rtc                       8  0070-0077
serial                       02f8-02ff 03f8-03ff
timer                     0
timer0                       0040-0043
timer1                       0050-0053
uhci_hcd                       d800-d81f   dc00-dc1f   e000-e01f
vesafb                       03c0-03df
viapro-smbus                   5000-5007



-- 
Cheers,

Rick Miles

Movement stopped is no movement,
and rest set in motion is no rest.

Written on Sweetmorn, the 63rd of Discord, 3171 
http://www.members.optusnet.com.au/~rickfrm/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.