DOKK / manpages / debian 12 / plc-utils-extra / ttysig.1.en
ttysig(1) Qualcomm Atheros Open Powerline Toolkit ttysig(1)

ttysig - Serial Line Signal Controller

ttysig [options]

Interactively control serial line output signals (Request To Send, Data Terminal Ready), and read the current value of all control signals (Request To Send, Clear To Send, Data Set Ready, Data Terminal Ready, Data Carrier Detect, Ring Indicator).

This program is part of the Qualcomm Atheros Powerline Toolkit. See the AMP man page for an overview and installation instructions.

Specify the serial device used. The default is serial console device "/dev/ttyS0".

Set the serial control line DTR high if value is non-zero, low otherwise.

Interactive mode.

Set the serial control line RTS high if value is non-zero, low otherwise.

Print serial control line status on stdout. This is performed after -R and -D.

-?,--help
Print program help summary on stdout. This option takes precedence over other options on the command line.

-?,--version
Print program version information on stdout. This option takes precedence over other options on the command line. Use this option when sending screen dumps to Atheros Technical Support so that they know exactly which version of the Linux Toolkit you are using.

The following example sets DTR high and RTS low at program start. The user then interactively prints the current control signal values, and then sets DTR low. Since no serial devices are specified, program defaults are used.


$ ./ttysig -I -D 1 -R 0
command (D #, R #, r, q): r
RTS: -V
CTS: -V
DSR: -V
DTR: +V
DCD: -V
RI : -V
command (D #, R #, r, q): D 0
command (D #, R #, r, q):

amp(1), int6kdetect(1), int6kuart(1)


Nathaniel Houghton

November 2013 open-plc-utils-0.0.3