LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Assign IRQ to PCI video card. (https://www.linuxquestions.org/questions/linux-hardware-18/assign-irq-to-pci-video-card-310866/)

Borelian 04-07-2005 04:46 PM

Assign IRQ to PCI video card.
 
Hi.

I have a Intel 865motherboard with an agp video card (primary) I have also a pci tv tuner video card (secundary) and in in order to use the tuner capabilities in linux i need to assign an irq to the pci video card, but i don't know how to do it.

1rst, the bios don't have the usual "assign irq to video pci?" question.

When linux boot, it say:
PCI: Cannot allocate resource region 0 of device 0000:01:02.0
PCI: Cannot allocate resource region 1 of device 0000:01:02.0

and lspci -v say:
01:02.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro (rev 5c) (prog-if 00 [VGA])
Subsystem: ATI Technologies Inc: Unknown device 0000
Flags: bus master, stepping, medium devsel, latency 0, IRQ 159
Memory at 20000000 (32-bit, prefetchable) [disabled] [size=16M]
I/O ports at <ignored> [disabled]
Memory at fffff000 (32-bit, non-prefetchable) [disabled] [size=4K]
Expansion ROM at fffe0000 [disabled] [size=128K]


Note: IRQ 159!?!?!?

Any help? may be a boot parameter?

thanks.

t3gah 04-08-2005 04:54 PM

Re: Assign IRQ to PCI video card.
 
Quote:

Originally posted by Borelian
Hi.

I have a Intel 865motherboard with an agp video card (primary) I have also a pci tv tuner video card (secundary) and in in order to use the tuner capabilities in linux i need to assign an irq to the pci video card, but i don't know how to do it.

1rst, the bios don't have the usual "assign irq to video pci?" question.

When linux boot, it say:
PCI: Cannot allocate resource region 0 of device 0000:01:02.0
PCI: Cannot allocate resource region 1 of device 0000:01:02.0

and lspci -v say:
01:02.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro (rev 5c) (prog-if 00 [VGA])
Subsystem: ATI Technologies Inc: Unknown device 0000
Flags: bus master, stepping, medium devsel, latency 0, IRQ 159
Memory at 20000000 (32-bit, prefetchable) [disabled] [size=16M]
I/O ports at <ignored> [disabled]
Memory at fffff000 (32-bit, non-prefetchable) [disabled] [size=4K]
Expansion ROM at fffe0000 [disabled] [size=128K]


Note: IRQ 159!?!?!?

Any help? may be a boot parameter?

thanks.

In the case of interrupts, what's the output of the following?

cat /proc/interrupts


In the BIOS disable everything you never intend on using like serial ports or the parallel port, etc. Then either set the BIOS to reset, if the option is there or shutdown the machine, unplug the cord and reinsert the PCI video card in its slot. Then run the command above again as a comparison.

As for forcing an IRQ onto a driver. That can be done as long as you know the memory addresses and IRQ to force it to. All of which you need from the command I supplied and also:

cat /proc/iomem and cat /proc/ioports

Prodiving of course that they are free from conflict with something else.


All times are GMT -5. The time now is 12:28 AM.