[Linux-Discussion] Re: serial...

  • To: linux-discussion@xxxxxxxxxxxxxx
  • Date: Sun, 18 Jun 2000 14:38:26 -0500

On Sun, 18 Jun 2000, you wrote:
> I think they are seperate but yet control the same thing.
> setserial prob works different on one than the other.
> cat/proc/serial?/driver?

"Each serial port may have 2 possible names in the /dev directory: ttyS and
cua. Their drivers behave slightly differently. The cua device is deprecated
and will not be used in the future."

"What's the difference? The main difference between cua and ttyS has to do with 
what happens in a C-program when an ordinary "open"
command tries to open the port. If a cua port has been set to check modem
control signals, the port can be opened even if the DCD modem control signal
says not to. Astute programming (by adding additional lines to the program) can
force a ttyS port to behave this way also. But a cua port can be more easily
programmed to open for dialing out on a modem even when the modem fails to
assert DCD (since no one has called into it and there's no carrier). That's why
cua was once used for dial-out and ttyS used for dial-in. "

So yes, cuaN will probably respond to setserial commands differently, but
either way, you shouldn't be using it. :)

John


-- 
# John Madden  weez@xxxxxxxxxxxxxx ICQ: 2EB9EA
# Sys-Admin / Webmaster, Avenir Web: http://avenir.dhs.org
# LANdb: Network Admin Database - http://avenir.dhs.org/landb/
# NCPweb: Web-based frontend to ncpfs - http://avenir.dhs.org/ncpweb/
# "A kernel compile a day keeps the blue screens away."


=============================================================
Avenir Web's Linux Discussion List

List info: http://avenir.dhs.org/linux/discussion.html

To unsubscribe: email linux-discussion-request@xxxxxxxxxxxxxx
with 'unsubscribe' in the Subject line.

Administrative contact: weez@xxxxxxxxxxxxxx
=============================================================

Other related posts: