Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Dec 1994 10:12:00 +0100
From:      Dick van den Burg <burg@burg.is.ge.com>
To:        hackers@freebsd.org
Subject:   bidirectional ports ?
Message-ID:  <9412220915.AA19300@ns.GE.com>

next in thread | raw e-mail | index | archive | help
I have asked this before on c.o.3.q, but I got no answers. 

I would like to set up my system such that I can call in when the one
modem is not in use for calling out. My understanding from the sio man page
is that it should be possible.

However, whe I start a getty on ttyd0, cu will give 'Line in use':

/usr/u/burg# uname -v
FreeBSD 2.0-RELEASE #5: Fri Dec  9 15:47:05 MET 1994     burg@burgpc.is.ge.com:/mnt/src/sys/compile/VDB 
/usr/u/burg# ps ax | grep getty
  112 v1  Is+    0:00.09 /usr/libexec/getty Pc ttyv1 
  113 v2  Is+    0:00.10 /usr/libexec/getty Pc ttyv2 
  162 00  Is+    0:00.07 /usr/libexec/getty std.38400 ttyd0 
/usr/u/burg# ls -l /dev/ttyd0 /dev/cua00
crw-rw-rw-  1 uucp  dialer   28, 128 Dec 20 16:35 /dev/cua00
crw-rw-rw-  1 root  wheel    28,   0 Dec 21 09:18 /dev/ttyd0
/usr/u/burg# 
/usr/u/burg# cu -s38400 -l/dev/cua00 dir
cu: /dev/cua00: Line in use
/usr/u/burg#


Am I doing something wrong, or is what I want simply not possible?

Thanks,
Dick van den Burg
burg@is.ge.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9412220915.AA19300>