[97103] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Minicom lag problem

daemon@ATHENA.MIT.EDU (Michael Jinks)
Sat Oct 31 19:50:59 1998

Date: Sun, 01 Nov 1998 01:41:46 +0000
From: Michael Jinks <michael@twopoint.com>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

I think that you and I are both having similar problems -- I just posted
a question of my own to almost the same effect.

Michael Robinet wrote:
> 
> I installed the uucp rpm and tried to run "cu -l /dev/ttyS2 -s 115200", but
> it came up with:
> cu: open (/dev/ttyS2): Permission Denied
> cu: /dev/ttyS2: Line in use

Did you do this as root or as a user?  If you did it as root, then maybe
there really is another process that thinks it's using this port.  By
default, serial ports are set up to deny access to non-root users, and I
think that cu will sometimes return an "in use" error even when it gets
denied based on file permissions, so that's one possibility.

 
> I tried to run "stty speed 115200 > /dev/ttyS2", but that gave me an error.
> So I tried "stty ispeed 115200 > /dev/ttyS2" and "stty ospeed 115200 >
> /dev/ttyS2", but i still have the same problem and it still reads 9600 baud
> for speed.  My computer is an IBM Aptiva S97 Pentium 200 MMX and is only
> about a year and a half old so I don't think that it is because I have slow
> serial ports, especially since I can connect in Win98 at high speeds.  Any
> other suggestions?

First off, yeah, it would be a pretty crummy P200 that had serial ports
that slow, so I'm betting on configuration problems over clunky
hardware.

Another wild random thought: You're using ttyS2, which is Com3 in the
DOS/Windows world; are you sure that's what you want to do?  Most
machines have only two serial ports, but those ports can be configured
to answer to different numbers.  Com1 (ttyS0) tends to share interrupt 4
with com3 (ttyS2), while Com2/ttyS1 shares irq 3 with Com4/ttyS3.  This
can lead to confusion if you don't remember to start counting your tty's
at 0, since you can get a serial port that answers, but isn't the one
you think you're using.

Come to think of it that's probably a worthless paragraph, since I
remember you saying that you can get connected, just not very well.  If
you were sending your tty commands to the wrong port, you'd be trying to
connect through your mouse or something equally hopeless, and your
problems would be different from the ones you're having.

For what it's worth, I'm also getting speed reports of 9600 from stty -a
on 16550A UART's, so maybe stty just isn't accurate.


-- 
Michael Jinks
mailto:michael@twopoint.com http://www.twopoint.com
Systems Administrator, Two Point Conversions, Inc.

"Never interfere in a boy and girl fight." -- W. S. Burroughs


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post