Re: how to find out the serial I/O address and IRQ?



freegnu wrote:
how to find out the serial I/O address and IRQ?
hi,all. i try to use google to resolve the problem , according some ones
said it can find out the serial I/O address and IRQ int
/proc/pci, but i cant find it.

I'd suggest using the 'lspci -v' command instead (which in turn access /proc/pci but prints its contents in a more user friendly manner).

This is part of the output of 'lspci -v' on one of my systems:

00:0b.0 Serial controller: Lava Computer mfg Inc Lava Octo A (prog-if 02 [16550])
Subsystem: Lava Computer mfg Inc Lava Octo A
Flags: slow devsel, IRQ 10
I/O ports at 9400 [size=8]
I/O ports at 9000 [size=8]
I/O ports at 8800 [size=8]
I/O ports at 8400 [size=8]

00:0b.1 Serial controller: Lava Computer mfg Inc Lava Octo B (prog-if 02 [16550])
Subsystem: Lava Computer mfg Inc Lava Octo B
Flags: slow devsel, IRQ 10
I/O ports at 8000 [size=8]
I/O ports at 7800 [size=8]
I/O ports at 7400 [size=8]
I/O ports at 7000 [size=8]

That makes it pretty clear what the IRQ and I/O addresses are for my multi-port serial card.

Of course, this doesn't really help if you're talking about serial ports that are part of the motherboard's I/O chipset. But for those, the standard addresses of 0x3f8 IRQ=4, and 0x2f8 IRQ=3 are common defaults.

.