Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

statserial(1) [debian man page]

STATSERIAL(1)							   User Commands						     STATSERIAL(1)

NAME
statserial - display serial port modem status lines SYNOPSIS
statserial [-n | -d | -x] <device-name> DESCRIPTION
Statserial displays a table of the signals on a standard 9-pin or 25-pin serial port, and indicates the status of the handshaking lines. It can be useful for debugging problems with serial ports or modems. The optional device-name parameter is the full name of the device file for the serial port in question. If not specified, the default is taken from the environment variable MODEM if set, otherwise /dev/cua1. COMMAND-LINE OPTIONS Each of the command line options is mutually exclusive. -n Normally statserial will loop continuously, updating the status at one second intervals; you can exit using Control-C. The -n option disables looping. -d With this option the status of the modem is printed as a decimal number. The bits are encoded as follows (XXX indicates unused bits): +---+---+---+---+---+---+---+---+---+ | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | +---+---+---+---+---+---+---+---+---+ |DSR|RI |DCD|CTS|XXX|XXX|RTS|DTR|XXX| +---+---+---+---+---+---+---+---+---+ -x This option is the same as -d, except that the output is in hexadecimal. BUGS
/LIMITATIONS Statserial only works with devices that support the TIOCMGET ioctl. You need permission to read the device file. The device file may be locked if other applications are using it. AUTHOR
Statserial was written by Jeff Tranter (Jeff_Tranter@Mitel.COM), later updated by Frank Baumgart (godot@uni-paderborn.de) and is released under the conditions of the GNU General Public License. See the file COPYING and notes in the source code for details. SEE ALSO
setserial(8) stty(1) /usr/src/linux/drivers/char/serial.c /usr/include/linux/termios.h Linux 17 December 1994 STATSERIAL(1)

Check Out this Related Man Page

BAYCOM(9)						      Kernel Reference Guide							 BAYCOM(9)

NAME
baycom - amateur (AX.25) packet radio network driver for baycom modems SYNOPSIS
#include <linux/baycom.h> #include <linux/hdlcdrv.h> DESCRIPTION
The driver currently supports three different modems: ser12, par96 and par97. ser12 This is a very simple 1200 baud AFSK modem. The modem consists only of a modulator/demodulator chip, usually a TI TCM3105. The computer is responsible for regenerating the receiver bit clock. The modem connects to a serial port, hence the name. Since the serial port is not used as an async serial port, the kernel driver for serial ports cannot be used, and this driver only supports standard serial hardware (8250, 16450, 16550). par96 This is a modem for 9600 baud FSK compatible to the G3RUH standard. The modem does all the filtering and regenerates the receiver clock. Data is transferred from and to the PC via a shift register. The shift register is filled with 16 bits and an interrupt is signalled. The PC then empties the shift register in a burst. This modem connects to the parallel port, hence the name. par97 This is a redesign of the par96 modem by Henning Rech, DF9IC. The modem is protocol compatible to par96, but uses only three low power ICs and can therefore be fed from the parallel port and does not require an additional power supply. IOCTL CALLS
The ioctl calls follow the implementation in the hdlcdrv. BAYCOMCTL_GETMODEMTYPE returns the modem type (i.e. ser12 or par96) and the options in effect (currently only the source of the DCD signal) BAYCOMCTL_SETMODEMTYPE sets the modem type and the options. Only superuser can do this. BAYCOMCTL_GETDEBUG return some debugging values. Not always available. SEE ALSO
baycom (9), soundmodem (9), linux/drivers/net/hdlcdrv.c, AUTHOR
baycom was written by Thomas Sailer, HB9JNX/AE4WA, (t.sailer@alumni.ethz.ch). Linux 2.1.x 2 October 1996 BAYCOM(9)
Man Page