Each serial port on a UNIX system has one or" name="description" />

Linux 下使用rs232

发表于:2007-07-04来源:作者:点击数: 标签:
Linux 下的串口通信(RS232) Serial Programming Guide for POSIX Operating Systems 5th Edition Michael R. Sweet Copyright 1994-1999, All Rights Reserved. Serial Port Files MI LY: 'Times New Roman'">Each serial port on a UNIX system has one or
Linux 下的串口通信(RS232)


Serial Programming Guide for POSIX Operating Systems


5th Edition
Michael R. Sweet
Copyright 1994-1999, All Rights Reserved.

Serial Port Files

MILY: 'Times New Roman'">Each serial port on a UNIX system has one or more device files (files in the /dev directory) associated with it:

Table 2 - Serial Port Device Files

System

Port 1

Port 2

IRIX®

/dev/ttyf1

/dev/ttyf2

HP-UX

/dev/tty1p0

/dev/tty2p0

Solaris®/SunOS®

/dev/ttya

/dev/ttyb

Linux®

/dev/ttyS0

/dev/ttyS1

Digital UNIX®

/dev/tty01

/dev/tty02

原文转自:http://www.ltesting.net