Subject: Re: Serial under 1.1?
To: Jack Culpepper <jackc@wallace.st.hmc.edu>
From: The Great Mr. Kurtz <davagatw@mars.utm.edu>
List: port-mac68k
Date: 12/06/1995 09:03:03
On Wed, 6 Dec 1995, Jack Culpepper wrote:

> Hi everyone!
> 
> Is it just me, or has serial i/o stopped working altogether in 1.1??
That's strange.  It works fine in 1.1-Alpha
I have
> been running 1.1 since it was released, not needing to use my serial ports
> for anything.  I know they worked under 1.0.  Now, however, this results:
> 
> wallace# cu -l /dev/tty00
> cu: open (/dev/tty00): Permission denied
> cu: /dev/tty00: Line in use
> Exit 1
> wallace#

The second cu line appears to be in response to the first.  My guess 
would be incorrect access priviledges for the tty00 file.  Login as 
root and try a chmod u+x tty00.  Not sure, but I suspect it needs to 
execute as well as read & write.

> Here is my /etc/ttys:
> 
> tty00   "/usr/libexec/getty std.9600"   vt100 off secure
> tty01   "/usr/libexec/getty std.9600"   vt100 off secure
> 
> Here are the permissions on /dev/tty00:
> 
> crw-------  1 root  wheel   12,   0 Dec  4 00:39 /dev/tty00

> I am positive no other process is using /dev/tty00 (so the "Line in use"
> certainly isn't valid).  Also, I have noticed that when I check the "serial
> boot echo" box in the booter, nothing comes out the port (at least, not that
> I can see on my PowerMac).  It should come out the modem port, right?

To my knowledge, serial boot echo has been dead for a long time.  The 
serial console works, though.  Just remember to set it to whichever port 
you plug into.

> I
> have tested my cable using ZTerm under MacOS on both ends, and it works fine.
> What am I doing wrong?
> 

Probably nothing.  The boot echo is MacOS-side (a function of the 
booter).  Maybe that's something to consider adding back for 1.9 or 
whatever.  Any thoughts?

> Thanks in advance!  (And thanks for a cool OS for my Mac, too!)
> 
> Jack
> 

 /---------------------------------------------------------------------\
|David A. Gatwood             And Richard Cory, one calm summer night,  |
|davagatw@mars              Went home and put a bullet through his head.|
|dgatwood@nyx.cs.du.edu              --Edwin Arlington Robinson         |
|http://mars.utm.edu/~davagatw -or- http://nox.cs.du.edu:8001/~dgatwood |
 \---------------------------------------------------------------------/

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2

mQCNAzCraEwAAAEEAJlVaeG2osJE2drdewPEV/ssLERPIZg09/k+OZpWOIorU3o+
zXiwenI5APPAIN5p3+S0hQSuVWJOOTR/KNddw4Dfcr2lOWudta/C/544bnv7iJaD
L1QOtIq9G+nkLrL9e46+1r9kQR8DtBhJlZIhVe2gPY5k8MHCZkSZBMmqe7G1AAUT
tChEYXZpZCBBLiBHYXR3b29kIDxkYXZhZ2F0d0BtYXJzLnV0bS5lZHU+
=adqs
-----END PGP PUBLIC KEY BLOCK-----