mode2, smode2, xmode2 - shows the pulse/space length of infrared signals  


mode2 [options]  


The main purpose of these programs is to check operation of your home-brew LIRC receiver hardware and to see the IR waveform of the remote controller without an expensive oscilloscope. Very useful for debugging. Of course this program won't work with hardware that decodes the signals itself like e.g. TV cards or the Irman.

mode2 will simply print pulse&space lengths to stdout.

-h --help
display usage summary
-v --version
display version
-d --device=device
read from given device
-H --driver=driver
use given driver
-m --mode
enable alternative display mode
-r --raw
access device directly

[LIRC homepage]
The LIRC Manual, last update: 10-June-2014