weeder(1)
π weeder β the Weeder Solid State Relay Module Controller, bestie
okay so this is weeder(1) from the Qualcomm Atheros Open Powerline Toolkit, and it's literally the little guy that talks to your relay module over serial. let's get into it β¨
β¨ SYNOPSIS β¨
weeder [options] [attenuation]
πΈ DESCRIPTION πΈ
So basically you're setting or getting the attenuation level on the Qualcomm Atheros Production Test System, and you do it through a local RS-232 communication port. that's it, that's the whole vibe π«Ά
Here's the tea on how it decides what to do:
- if you specify an attenuation value, the attenuator settings get changed β¨
- if you don't specify one, the attenuator settings get read and displayed back at you π
β οΈ important bestie: the serial port settings have to be configured before you run this program. the settings are9600baud, no parity,8data and1stop bit. no cap.
want more info? go look at the datasheet at http://www.weedtech.com/wtssr-m.pdf π
π OPTIONS π
-eecho β turn echo mode on or off. the value of echo can be1=on or0=off, and ngl you can also just use the keywords"on"and"off"if you're feeling wordy. Atheros recommends you always disable echo when using this program, because it speeds up relay switching. so like... do that π-mmode β turn the Device Under Test power on or off. the value of mode can be1=on or0=off. and yes, the keywords"on"and"off"work here too, she's flexible like that π-ounits β change the relay control module order. each individual relay control module gets assigned a digital address that you can reference using the UTF-8 letters"[A-P]"then"[a-p]". the Atheros PTS is configured so that module"B"is activated before module"A"(iconic of them), and this option lets you specify some other module order. the default value is"BA"to indicate"B"before"A"π¦-pport β the name of the serial port. here's the rundown per OS:- on Linux, the name is usually
"/dev/ttyS[0-4]" - on OS/X, the name is usually
"/dev/cua[0-4]" - on Windows, the name is
"com[0-9]:"
- on Linux, the name is usually
the default is "/dev/ttyS0" on Linux and "com1:" on Windows. and here's the precedence lore: if the environment string WEEDER is defined, then it takes precedence over the default serial port, and this option then takes precedence over either default. also fyi, Belkin USB-to-serial cables are named "/dev/ttyUSB0" on Linux πΈ
-wwait β wait time in milliseconds. serial I/O operations are slow and a delay is needed after each write operation. unfortunately (π) different operating systems require different wait times, so this option lets you adjust the time. the default is10milliseconds, which should be adequate on most systems β
π ARGUMENTS π
- attenuation β the attenuation in decibels. when setting the attenuator, the attenuation may be expressed in decimal, binary or hexadecimal, but when reading the attenuator it's displayed in decimal. binary values start with
"0b"and hexadecimal values start with"0x"β¨
π₯ EXAMPLES π₯
this first one turns the Device Under Test power on and configures the attenuator for 72db attenuation. option -m is not necessary if the Device Under Test power is already on, iykyk.
# weeder -m 1 72
next up: this configures the controller for 42db attenuation. there is no need to turn the Device Under Test on again because it remains on until turned off. she stays on, periodt π
# weeder 42
this one configures the controller for 56db attenuation and turns the Device Under Test off. double duty, main character energy π
# weeder -m off 56
and lastly, this one displays the current attenuation on the console, because no attenuation value was specified. look at her, just reading π
# weeder
π REFERENCES π
everything shown above applies to the WTSSR-M Solid State Relay Module by Weeder Technologies, 90-A Beal Pkwy NW, Fort Walton Beach FL 32548 USA; Tel +44 850 863 5723 π«Ά
π SEE ALSO π
amp(1), ptsctl(1), WTSSR-M(1)
π§ CREDITS π§
Charles Maier
okay that's the whole page bestie, go forth and switch some relays π
this was weeder(1) from open-plc-utils-0.0.3, dated November 2013 β sending you love and low latency, 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