Serial Port Problems


Subject: Serial Port Problems
From: Ansel Freniere (ansel@lambdares.com)
Date: Fri Mar 02 2001 - 11:27:16 MST


Hello all,

I've checked the web site support and bug sections for this bug, and I
haven't seen it there, but I apologize if I'm asking about something that
has already been addressed.

I have installed CS 1.2 on a PowerMac 7200. (I don't know much else about
the machine right now, but if you need more info I can check) I bought an
external modem for it, and have hooked it up. In MacOS 8, the computer
seems to be able to communicate with the modem fine. However, I have
problems in Linux. When I try to run either the modem autodetector tool,
the ppp dialup script, or even minicom, the entire machine freezes up as
soon as it begins communication with the modem. However, if I manually
connect to the modem, an interesting thing happens. If I do the following:

cat /dev/ttyS0

and go into another virtual terminal and:

echo at > /dev/ttyS0

then the machine does not crash, however the modem and the machine go into
an infinite loop, where the "at" gets sent over and over again, and the "OK"
reply comes back over and over again. So I get:

at

OK

at

OK

at

OK

...
ad infinitum, until I kill the cat. Furthermore, if I send "atz" instead,
then the loop runs much more slowly, indicating to me that it's an
interactive loop where as soon as a reply is received (longer delay in the
case of atz) the driver (or something!) sends the initial string out again.
Is this something wrong with my method of talking to the modem, or is it
perhaps a clue as to the problem? TIA!

-Ansel.

p.s. It just occurred to me that I should try sending another string while
it is stuck in the infinite loop, and see if that crashes the machine. I
will try that when I get home tonight.

p.p.s. Also, why do the devel archives only go to july 2000?

Ansel Freniere ansel@lambdares.com
Software Engineer
Lambda Research Corporation
http://www.lambdares.com



This archive was generated by hypermail 2a24 : Fri Mar 02 2001 - 11:27:12 MST