🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.hardware
Article #360

Re: Problems installing COM3 serial port

#360
From: M. Buchenrieder
Date: Tue, 01 Jul 1997 00:00
46 lines
2374 bytes
Daryl Sayers <daryl@stonemicro.com.au> writes:


>I have 2 onboard 16550 serial ports that have been working great. I need
>to install a third port so I got a basic 8250 seial card and installed this
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>card as COM1 I then moved the 2 onboard serial ports to COM2 and COM3.

[...]

>ttyS0 Testing (COM1 8250 serial card IRQ 4 at 3F8)
                                      ^^^^^
>ttyS1 Modem   (COM2 16550 onboard serial IRQ 3 at 2F8)
>ttyS2 Mouse   (COM3 16550 onboard serial IRQ 4 at 3E8)
                                          ^^^^^

[...]
>When sending data out the testing port (ttyS0) it is VERY slow but not
>corrupt. A single character is sent about every 10seconds. Too my
>amazement when I moved the mouse the data then got sent. It seems that
>when the mouse (ttyS2 Irq 4) generates an interupt the service routine
>also checks the Transmit buffer of ttyS0 also at Irq 4.

And that's exactly what Linux is telling you.

>Reading the Serial Howto it seems I should be able to share interupts
>like this so what else have I missed. 

Read again. It explicitely states that you can NOT do this, unless
you're using a multiport card that knows how to share IRQs between several
devices, or do some soldering on the ISA bus yourself. The standard
PC's hardware architecture is broken where it comes to IRQ sharing
on the ISA bus.

>Even though the Linux probe finds the seial ports correctly I still
>use setserial to make sure the ports are configured correctly.

Put the first serial port on an interrupt of its own.

Michael
-- 
   Michael Buchenrieder * mibu@scrum.muc.de / mibu@scrum.greenie.muc.de 
**************************************************************************
Portable, adj.:
                          Survives system reboot.
Technical Details
Message-ID: <ECM7rw.2Lv@scrum.muc.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <u5k9jb291t.fsf@odtdev.stone.oz.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,2b5ae91da27e529a
X-Google-Attributes: gid102983,public
X-Google-Thread: 102b32,2b5ae91da27e529a
X-Google-Attributes: gid102b32,public
From: mibu@scrum.muc.de (M. Buchenrieder)
Subject: Re: Problems installing COM3 serial port
Date: 1997/07/01
Message-ID: <ECM7rw.2Lv@scrum.muc.de>
X-Deja-AN: 253745932
References: <u5k9jb291t.fsf@odtdev.stone.oz.au>
Organization: private Linux-site
Newsgroups: comp.os.linux.hardware,aus.computers.linux