Usage: ir-ctl [OPTION...] --features or: ir-ctl [OPTION...] --receive or: ir-ctl [OPTION...] --send [file to send] or: ir-ctl [OPTION...] --scancode [scancode to send] or: ir-ctl [OPTION...] --keycode [keycode to send] or: ir-ctl [OPTION...] [to set lirc option] Receive 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 GAP - gap between sending in microseconds RANGE - set range of accepted carrier frequencies, e.g. 20000-40000 TIMEOUT - set length of space before receiving stops in microseconds KEYCODE - key code in keymap SCANCODE - protocol:scancode, e.g. nec:0xa814 KEYMAP - a rc keymap file from which to send keys 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 -K, --keycode=KEYCODE send IR keycode from keymap -r, --receive receive IR to stdout -s, --send=FILE send IR pulse and space file -S, --scancode=SCANCODE send IR scancode in protocol specified -v, --verbose verbose output Receiving options: -1, --one-shot end receiving after first message --mode2 output in mode2 format -m, --measure-carrier report carrier frequency -M, --no-measure-carrier disable reporting carrier frequency -n, --narrowband use narrowband receiver, disable learning mode -R, --carrier-range=RANGE set receiver carrier range -t, --timeout=TIMEOUT set receiving timeout -w, --wideband use wideband receiver aka learning mode Sending options: -c, --carrier=CARRIER set send carrier -D, --duty-cycle=DUTY set send duty cycle -e, --emitters=EMITTERS set send emitters -g, --gap=GAP set gap between files or scancodes -k, --keymap=KEYMAP use keymap to send key from -?, --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 .