Linux-Hams archive - April 1998: Re: serial port/TNC problem

Re: serial port/TNC problem

Kirk A Wolff (zfvt@monsanto.com)
Thu, 2 Apr 1998 00:26:02 -0600 (CST)


On Wed, 1 Apr 1998, PaulDNY wrote:

>
> << If you are getting this error, it could mean that you don't
> have the serial card configured correctly : i.e. interrupt or IO conflict? >>
>
> I double checked the card, it's set for COM5 irq10 COM6 irq11. My two original
> comports are standard COM2 and COM3.
>
> <<look in the kernel code or docs (/usr/src/linux/Documentation) for
> specification of addresses that your card is probed for.>>
>
> I'll check this out tonight.....
>
> <<What kind of serial interface are you using to add serial ports to your
> computer? I take it that you are adding 2 to sum up to 5(or 6) serial
> ports?>>
>
> I bought the card from Byterunner. Model TC-200 dual port card. Adding two
> ports I'll have a total of four.
>
> <<In your next message send me a copy of 'cat /proc/irq ; cat /proc/ioports
> ; cat /proc/devices' so I can have a better idea of what is going on.>>

Try running this line from the command prompt:
setserial -bg /dev/cua? /dev/cua??
after trying different configurations.

First thing that you will have to do is determine what the io port
assignments of COM5 and COM6. Only then can you use setserial. Make sure
that what you find is correct. This might be a jumper on the serial
board.

You make SURE that the interrupts 10 and 11 are not being used by anything
else right?

OK, here is what I get when I run the above command:
---------
/dev/cua0 at 0x03f8 (irq = 4) is a 16550A
/dev/cua1 at 0x02f8 (irq = 3) is a 16550A
/dev/cua4: Permission denied
/dev/cua5: Permission denied
/dev/cua6: Permission denied
/dev/cua7: Permission denied
/dev/cua8: Permission denied
etc...
---------
evidently, the kernel does not report serial port interrupts in the
/proc/interrupts file, only God(& Linus) knows why.
the information from the above command will only be correct for everything
if you run the setserial command (with exception of com1-4)
As I indicated in a previous message, you need setserial to set any
non-standard serial ports.

After you verify the assignment of io address of the ports on your card,
then we can try some setserial commands to set your new ports up.

Sorry this is taking so long...

>

/--------------------------------------------\
| Kirk Wolff wcvlu.xqguvx@fedtel.net
|
| "Well, that was a piece of cake, eh K-9?"
|
| "Piece of cake, Master? Radial slice of baked confection ...
| coefficient of relevance to Key of Time: zero."
\ -- Dr. Who