ttysig(1)
π ttysig β Serial Line Signal Controller π
okay bestie, welcome to ttysig(1) β yes that's the manual page, and yes I'm about to make serial ports cute. sit down, grab a boba, we're doing hardware handshakes today π«Ά
β¨ NAME β¨
ttysig β Serial Line Signal Controller
like, it's a little tool that pokes at the wires on your serial line and tells you what they're doing. very demure. very mindful. π
πΈ SYNOPSIS πΈ
ttysig [options]
that's it. that's the whole vibe. no files, no arguments, just options. iconic honestly β
π¦ DESCRIPTION π¦
so here's the tea β β ttysig lets you interactively control serial line output signals, specifically:
- Request To Send
- Data Terminal Ready
and also read the current value of all control signals, which are:
- Request To Send
- Clear To Send
- Data Set Ready
- Data Terminal Ready
- Data Carrier Detect
- Ring Indicator
so you can flip the ones you own and peek at the ones the other side is holding. it's giving "let me see what you're doing over there" π₯
Also, for the record: this program is part of the Qualcomm Atheros Powerline Toolkit. If you want the big-picture overview plus install instructions, go read the AMP man page. no cap, that's where the lore lives π
π OPTIONS π
-sdevice β pick which serial device you wanna talk to. the default is the serial console device/dev/ttyS0. yeah, it just assumes. bold of it honestly π-Dvalue β set the serial control line DTR high if value is non-zero, and low otherwise. like, literally any nonzero number means high, bestie. it's not picky π-Iβ interactive mode. you get a lil prompt and you type commands at it. this is the main character mode, fr fr π-Rvalue β set the serial control line RTS high if value is non-zero, and low otherwise. same deal as-Dβ¨-rβ print the serial control line status to stdout. and listen, the ordering matters: this happens after-Rand-D. so it reflects what you just set. no, it will not time travel π°οΈ-?,--helpβ print the program help summary on stdout. this option takes precedence over other options on the command line. it wins. periodt π-?,--versionβ print program version information on stdout. this one also takes precedence over other options on the command line. and here's a lil pro tip from the original: use this option when sending screen dumps to Atheros Technical Support so they know exactly which version of the Linux Toolkit you're using. help them help you, bestie π«Ά
β οΈ heads up: both-?,--helpand-?,--versiontake precedence over other options on the command line. so if you stack them with other flags, don't be surprised when it just prints and dips. that's the rule, I don't make them π
π EXAMPLES π
okay this example is so cute. it sets DTR high and RTS low right at program start. then the user interactively prints the current control signal values, and then sets DTR low. and since no serial devices are specified, the 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):
see how DTR: +V after -D 1? and then D 0 drops it. the prompt literally tells you your moves: D #, R #, r, q. it's giving helpful friend energy πΈ
π SEE ALSO π
amp(1)int6kdetect(1)int6kuart(1)
go read those too, they're the extended universe π¦
π CREDITS π
Nathaniel Houghton π
okay that's the whole page, you ate that. stay hydrated, check your RTS before you ship, and remember: open-plc-utils-0.0.3, from November 2013, brought to you by the Qualcomm Atheros Open Powerline Toolkit. mwah πβ¨
π¦ where this page comes from
- alpine 3.24: open-plc-utils-doc 0_git20250712-r1 Β· BSD-3-Clause-Clear
- debian bookworm: plc-utils-extra 0.0.6+git20230504.1ba7d5a0-1 Β· BSD-3
- debian trixie: plc-utils-extra 0.0.6+git20250517.7fb8ac5-1 Β· BSD-3
- ubuntu noble: plc-utils-extra 0.0.6+git20230504.1ba7d5a0-1 Β· BSD-3
- ubuntu questing: plc-utils-extra 0.0.6+git20250517.7fb8ac5-1
- ubuntu resolute: plc-utils-extra 0.0.6+git20250712.46c3506-1 Β· BSD-3
- ubuntu stonking: plc-utils-extra 0.0.6+git20250712.46c3506-1 Β· BSD-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms