Serial Ports

Sun computers normally come with two onboard serial ports, although some have one physical port that is internally wired to provide two ports when a special “splitter cable” is used.

Each port has two devices associated with it. They are defined in a way that follows a similar convention to the SCSI devices mentioned in Chapter 17, “Adding SCSI Devices.” This means that they have an instance number, a physical device name, and a logical device name. Here, we'll only concern ourselves with the logical device names, which will be found in the term and cua subdirectories of /dev:

 hydrogen# cd /dev hydrogen# ls -lL cua total 0 crw------- 1 uucp uucp 29,131072 Sep 4 1997 a crw------- 1 uucp uucp 29,131073 Feb 11 1996 b hydrogen# ls -lL ...

Get Solaris™ Operating Environment Boot Camp now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.