Sponsored Content
Full Discussion: Serial Lines Explained
Top Forums UNIX for Dummies Questions & Answers Serial Lines Explained Post 302930455 by sreyan32 on Sunday 4th of January 2015 11:15:36 AM
Old 01-04-2015
Okay from what I have read in this thread I can understand that in the older days you would have a monitor and a keyboard with a serial port connecting to the central CPU. You would communicate with the CPU using signals sent via the serial port. I know this is an over simplification but is it correct ?

Can someone explain how serial ports can be used for session control in a little more detail ?

What baffles me is that is why still use serial ports ? Why not remove them ? On a normal desktop or laptop serial ports are not used the way they were used back in the olden days, so keep them ?

For example as Corona688 mentioned in a earlier thread
stty still gives the baud rate. This is not required so why still keep it.

Why adopt an old standard forcefully when it is not required is my point
 

We Also Found This Discussion For You

1. Ubuntu

Ubuntu 9.04 Serial application to telnet to serial device

Hello! I am working on an application which reads environmental instruments which have serial ports. The application requires a serial port to be present to talk to the device (i.e. /dev/ttyS0 ). In some instances the environmental devices will be 100's of yards away from the computer, so a... (5 Replies)
Discussion started by: mvona
5 Replies
dc(4)							     Kernel Interfaces Manual							     dc(4)

Name
       dc - serial line/mouse/keyboard

Syntax
       device	 dc0  at ibus?	vector dcintr

Description
       The  serial line controller provides four ports, with modem control on two of the ports.  The DECstation 3100 and DECstation 2100 only pro-
       vide partial modem control.  The DECstation 5000 provides full modem control. The ports are used as follows:

       Port	 Usage
       0	 Graphics device keyboard at 4800 BPS
       1	 Mouse or tablet at 4800 BPS
       2	 Communications port 1 (w/modem control)/local terminal
       3	 Communications port 2 (w/modem control)/local terminal

       Each communication port from the serial line controller behaves as described in and can be set to run at any of 16 speeds.  For the  encod-
       ing, see

       When  a	graphics device is not being used as the system console, communications port 2 becomes the system console.  In this configuration,
       the port can only be used at 9600 BPS and no modem control is supported.

       The serial line driver operates in interrupt-per-character mode (all pending characters are flushed from the silo on each interrupt).

Restrictions
       Speed must be set to 9600 BPS on the console port and 4800 BPS on ports used by graphics devices.  The serial  line  driver  enforces  this
       restriction; that is, changing speeds with the command may not always work on these ports.

Files
       console terminal

       local terminal

       local terminal

See Also
       console(4), devio(4), tty(4), ttys(5), MAKEDEV(8)

								       RISC								     dc(4)
All times are GMT -4. The time now is 09:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy