mode2 (1) - Linux Man Pages
mode2: shows the pulse/space length of infrared signals
NAMEmode2, xmode2 - shows the pulse/space length of infrared signals
DESCRIPTIONThe 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
DRIVER LOADINGDrivers are loaded dynamically. The search path used for this is determined by (falling priority):
- The --plugindir option if available.
- The 'plugindir' entry in the [lircd] section of the lirc_options.conf file.
- The environment variable LIRC_PLUGINDIR.
A hardcoded default (usually /usr/lib/lirc/plugins).
Debug output. Setting the XDG_CACHE_HOME environment variable relocates this
file to $XDG_CACHE_HOME/mode2.log
SEE ALSOmode2(1), xmode2(1)
The documentation for lirc is maintained as html pages. They are located under html/ in the documentation directory.