ir-ctl --version (return code: 0)
IR raw version 1.12.5
ir-ctl --help (return code: 0)
Usage: ir-ctl [OPTION...] --features
or: ir-ctl [OPTION...] --record [save to file]
or: ir-ctl [OPTION...] --send [file to send]
or: ir-ctl [OPTION...] --scancode [scancode to send]
or: ir-ctl [OPTION...] [to set lirc option]
Record IR, send IR and list features of lirc device
You will need permission on /dev/lirc for the program to work
On the options below, the arguments are:
DEV - the /dev/lirc* device to use
FILE - a text file containing pulses and spaces
CARRIER - the carrier frequency to use for sending
DUTY - the duty cycle to use for sending
EMITTERS - comma separated list of emitters to use for sending, e.g. 1,2
RANGE - set range of accepted carrier frequencies, e.g. 20000-40000
TIMEOUT - set length of space before recording stops in microseconds
SCANCODE - protocol:scancode, e.g. nec:0xa814
Note that most lirc setting have global state, i.e. the device will remain
in this state until set otherwise.
-d, --device=DEV lirc device to use
-f, --features list lirc device features
-r, --record[=FILE] record IR to stdout or file
-s, --send=FILE send IR pulse and space file
-S, --scancode=SCANCODE send IR scancode in protocol specified
-v, --verbose verbose output
Recording options:
-1, --one-shot end recording after first message
-m, --measure-carrier report carrier frequency
-M, --no-measure-carrier disable reporting carrier frequency
-n, --no-wideband use normal narrowband receiver, disable learning
mode
-p, --timeout-reports report when a timeout occurs
-P, --no-timeout-reports disable reporting when a timeout occurs
-R, --carrier-range=RANGE set receiver carrier range
-t, --timeout=TIMEOUT set recording timeout
-w, --wideband use wideband receiver aka learning mode
Sending options:
-c, --carrier=CARRIER set send carrier
-D, --duty-cycle=DUTY set duty cycle
-e, --emitters=EMITTERS set send emitters
-?, --help Give this help list
--usage Give a short usage message
-V, --version Print program version
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
Report bugs to Sean Young <sean@mess.org>.