MODE2(1) 0.10.2" MODE2(1) (NAME) mode2 - LIRC (SYNOPSIS) mode2 --driver [--device ] [other options] mode2 --raw --device [other options] mode2 --driver --list-devices (DESCRIPTION) LIRC (IR) . mode2 lirc . mode2 LIRC_MODE_MODE2 (pulse) (space) . LIRC_MODE_LIRCCODE ( irman) . 0.9.4 mode2 . (enumeration) ( ) . mode2 . --raw /dev/lirc* . usb . usb . . (OPTIONS) -d --device=device . -H --driver=driver . -m --mode / (raw). LIRCCODE . -s --scope=time (us) . lirccode . -k --keep-root (root) . << (RUNNING AS ROOT)>> . -l --list-devices . . -g --gap=time (gap). . -r --raw . rc /dev/lirc*. . -A --driver-options=key:value[|key:value...] key . -U --plugindir=directory . << (DRIVER LOADING)>> . -O, --options-file . . [ (FILES)] . -D --loglevel=level . [level] syslog : 'error' 'warning' 'info' 'notice' 'debug'. lirc 'trace' 'trace1' 'trace2' ('trace2' ). 'debug' . ( ) . -h --help . -v --version . (RUNNING AS ROOT) mode2 . . mode2 . sudo(1) : $ sudo mode2 --raw /dev/lirc0 sudo SUDO_USER : # SUDO_USER=$LOGNAME mode2 --raw /dev/lirc0 --keep-root mode2 . (EXAMPLES) MODE2 mode2 / (space/mark) : al@snorken $ ./mode2 --driver default --device /dev/lirc0 Using driver default on device /dev/lirc0 Trying device: /dev/lirc0 Using device: /dev/lirc0 pulse 2750 space 800 pulse 500 space 350 pulse 550 space 350 pulse 550 ... LIRCCODE mode2 : $ ./mode2 --driver atilibusb Using driver atilibusb on device /dev/lirc0 Trying device: /dev/bus/usb/001/007 Using device: /dev/bus/usb/001/007 code: 0x14709b0000 code: 0x14709b0000 code: 0x14709b0000 code: 0x14709b0000 code: 0x14709b0000 ... mode2 --list-devices devinput usb X10 RF : $ ./mode2 --list-devices --driver devinput /dev/input/event12 [0bc7:0006] X10 WTI RF receiver vers: 1.10 serial: ? /dev/input/by-id/usb-X10_WTI_RF_receiver-event-if00 -> ../event12 /dev/input/by-path/pci-0000:0b:00.0-usb-0:1:1.0-event -> ../event12 (DRIVER LOADING) . : - --plugindir. - 'plugindir' [lircd] lirc_options.conf. - LIRC_PLUGINDIR. - (/usr/lib/lirc/plugins). (ENVIRONMENT) LIRC_LOGLEVEL --loglevel . --loglevel << (OPTIONS)>> . (FILES) /etc/lirc/lirc_options.conf [mode2] . debug plugindir driver device [mode2] mode2 [lircd] . -O/--options-file LIRC_OPTIONS_PATH . ~/.cache/mode2.log (Debug log). XDG_CACHE_HOME $XDG_CACHE_HOME/mode2.log . LIRC_LOGLEVEL debug lirc_options.conf . (SEE ALSO) xmode2(1) lirc(4) lirc html . html/ . mode2 Last change: Jan 2017 MODE2(1)