[plug] Serial port fun
Kai
vk6ksj at siwa.com.au
Sun Apr 29 21:56:39 WST 2001
----- Original Message -----
From: "John Breen" <wombat at redback.apana.org.au>
To: <plug at plug.linux.org.au>
Sent: Sunday, April 29, 2001 7:16 PM
Subject: Re: [plug] Serial port fun
> On Sun, 29 Apr 2001, Kai wrote:
> > The 4 port serial card should've come with some doco, right?
> Doco....
>
> That's that piece of paper, right?
Yeah, the card should have come with some sort of documentation so you know
how to configure it.
> > More than likely need to run cat /proc/pci and see where the addresses
are
> > so you can get Linux to see the ports and use them.
>
> Oops, my fault - like many people it seems I didn't give enough details in
the
> first place...
>
> It's a jumpered card (not Shrug 'n' Pray), and it's ISA.
what about cat /proc/interrupts ?
> We plugged in the card, did a kernel compile with extended serial support,
(for
> more than 4 ports) and rebooted. No sign of the ports. After much
hunting
> around, we did a mknod to get 4 devices to show up. So far so hoopy.
Then we
> did setserial for each of the ports (like this)
> # setserial /dev/ttyS4 irq 15 uart 16550
> # setserial /dev/ttyS5 irq 12 uart 16550
> # setserial /dev/ttyS6 irq 10 uart 16550
> # setserial /dev/ttyS7 irq 9 uart 16550
I think the card will have some sort documentation to show you how to
configure it !
> now, ignoring the obvious IRQ conflicts here, that says that the first
port is
> COM4 with an IRQ of 14, the second COM5 with IRQ 12 and so on. Am I
right?
Did you check in setserial (man setserial I think) for the commonly used
IRQ's for existing processes?
More information about the plug
mailing list