Solved

Adding a third com port now X (mouse) causes problems

Posted on 1997-06-29
2
198 Views
Last Modified: 2013-12-15
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.
I know all the hardware is working correctly by themselves.
I have connected:

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 I boot all 3 are recognised by the BIOS and then by the
linux probe. I can then use the modem and send data out the
testing port.Both ttyS0 and ttyS1 work correctly.
It only when I run X that my problem shows up. Under X, the
mouse works and the modem works.
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.
Reading the Serial Howto it seems I should be able to share interupts like this so what else have I missed.
When I Switch back to a Text screen <CTL><ALT>1 The port
works again as it should.
Even though the Linux probe finds the seial ports correctly I still use setserial to make sure the ports are configured correctly.
0
Comment
Question by:dksayers
2 Comments
 
LVL 3

Accepted Solution

by:
sauron earned 200 total points
ID: 1628435
It is possible to share serial ports for some applications, but it depends what devices you have on the ports (mice/modems are frequently poor neighbours). You definitely have an IRQ conflict. Reconfigure one of your serial ports to use a different IRQ, and the invoke setserial from your /etc/rc.local to correctly configure that serial port at boot time. I run my modem on COM3 and IRQ 5 to avoid exactly this sort of problem.
0
 

Author Comment

by:dksayers
ID: 1628436
An answer I did not want to here as I am low on IRQs. It did
resolve the probem but I would still like to share IRQ 4 with
COM1 and COM3.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question