1usbrelay(1) General Commands Manual usbrelay(1)
2
3
4
6 usbrelay - control or query USB HID relays
7
8
10 usbrelay [OPTION...] [ACTION...]
11
12
14 usbrelay allows for querying and setting the state of USB HID electri‐
15 cal relays. If no ACTION is passed, the state of all relays is printed
16 to stdout. RELID_N=[0|1] sets the N-th relay on module RELID to off or
17 on.
18
19 Multiple actions can be performed with one command
20
21 eg:
22
23 usbrelay REL0A_1=0 REL0A_2=1 REL0B_2=0...
24
25 The Relay module ID can be changed on DCTTECH relays: RELID_0=NEWID
26 sets the relay RELID to NEWID
27
28
30 -d, --debug
31 Produce debugging output
32
33 -q, --quiet
34 Suppress output
35
36 -?, --help
37 Print the help menu
38
39 --usage
40 Print a usage description
41
42 -V, --version
43 Print the program version
44
45
46
47usbrelay 24 Jan 2022 usbrelay(1)