proc
# cat/proc/tty/driver/serial
serinfo:1.0 Driver revision: 0:uart:16550a port:000003f8 irq:4 tx:103686
Rx : 76876 rts| cts| dtr| dsr| CD
1:uart:unknown port:000002f8 irq:3
2:uart:unknown port:000003e8 irq:4 3:uart:unknown port:000002E8
Irq:3
4:uart:unknown port:00000000 irq:0
5:uart:unknown port:00000000
statserial
# STATSERIAL/DEV/TTYS0
Device:/dev/ttys0
Signal pin pin Direction Status
full Name ( 9) (computer) name
----- --- --- --------- ------ -----
FG 1--- Frame Ground
TxD 2 3 out - transmit Data
rxd 3 2 in - Receive Data
RTS 4 7 out 1 Request to send
CTS 5 8 in 1 clear to Send
DSR 6 6 in 1 Data Set Ready
GND 7 5 - - Signal Ground
DCD 8 1 in 1 Data Carrier detect
DTR 4 out of 1 Data Terminal Ready
RI 9 in 0 Ring Indicator
Stty
# stty-f/dev/ttys0-a speed 115200 baud; rows 0; columns 0; line = 0; intr = <undef>; qu it = <undef>; erase = <undef>; Kill = <undef>; EOF = <undef>;
EOL = <undef>; Eol2 = <undef>; Swtch = <undef>; Start = <undef>; Stop = <undef>;
Susp = <undef>; Rprnt = <undef>; Werase = <undef>; Lnext = <undef>; Flush = <undef>; min = 1;
Time = 0; -parenb-parodd CS8-HUPCL-CSTOPB Cread CLOCAL-CRTSCTS-IGNBRK-BRKINT-IGNPAR-PARMRK-INPCK-ISTRIP-INLCR-IGNCR-ICR Nl-ixon-ixoff-iuclc-ixany-imaxbel-iutf8-opost-olcuc-ocrnl-onlcr-onocr-onlret-ofill-ofdel nl0 cr0 tab0 bs0 VT 0 Ff0-isig-icanon-iexten-echo-echoe-echok-echonl-noflsh-xcase-tostop-echoprt-echoctl-echoke