Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

inputlircd(8) [debian man page]

INPUTLIRCD(8)						    BSD System Manager's Manual 					     INPUTLIRCD(8)

NAME
inputlircd -- zeroconf LIRC daemon using input event devices SYNOPSIS
inputlircd [-d socket] [-f] [-c] [-r repeat-rate] [-m keycode] [-n device name] [-u username] device [device ...] DESCRIPTION
inputlircd is a small LIRC daemon that reads from /dev/input/eventX devices and sends the received keycodes to connecting LIRC clients. inputlircd needs no configuration, it uses the standardised names for the keycodes as used by the kernel. Many USB remote controls that present HID devices, as well as multimedia keyboards should work out of the box. inputlircd expects a list of input event devices as commandline parameters. It will only read events from those devices. OPTIONS
-d socket Location of the UNIX socket to which LIRC clients can connect. The default is /var/run/lirc/lircd. -f Run in the foreground. -c Capture modifier keys. This causes the CTRL, SHIFT, ALT and META keys to be treated as modifer keys that, when used in combination with another keys, change the LIRC event from that key rather than being sent as their own LIRC events. -r repeat-rate Set the repeat rate (in milliseconds) of the remote control. The default is 0. Repeated keys that arrive less than repeat-rate mil- liseconds apart will be flagged as as repeat LIRC events. -g Grab the input device(s). This gives inputlircd exclusive access to the input devices and stops events from propagating any further. -m keycode Minimum keycode to send to LIRC clients. Keycodes lower than this number are filtered out. The default is 88, this filters out the alphanumeric section and the keypad section of normal keyboards, but allows all extended keys. The rationale is that clients should not be able to grab normal keypresses, this could be a security risk. -n device name Name of an input device to read events from. This scans all available input event devices, and if the symbolic name of an event device matches device name, adds it to the list of devices to read from. The device name can contain wildcard patterns, see glob(7). To get a list of available devices and their names, cat /proc/bus/input/devices or use lsinput(8). -u username Set user and group id to that of username after opening the devices and UNIX socket as root. The default is nobody. -t path Provides the path to a file containing a mapping between input event key names and the commands which should be reported via lirc. The files should contain lines of the form KEY_FOO = bar. This is useful for backward compatibility. The default is not to use a transla- tion table. device One or more input event devices. If you want to use inputlircd to process multimedia keys on the keyboard, then /dev/input/event0 is the most likely choice. If you have other input devices, such as USB remote controllers that act like a HID device, then you probably need one of the other event devices present. See /proc/bus/input/devices for a list of available input devices. If unsure, you can add all available input event devices. FILES
/var/run/lirc/lircd Default location of the UNIX socket to which LIRC clients can connect. /dev/input/eventX The kernel input layer's event device files. /proc/bus/input/devices List of all input devices. SEE ALSO
irw(1), input-events(8), setkeycodes(8), /usr/include/linux/input.h. June 1, 2019

Check Out this Related Man Page

IRSEND(1)								FSF								 IRSEND(1)

NAME
irsend - basic LIRC program to send infra-red commands SYNOPSIS
irsend [options] DIRECTIVE REMOTE CODE [CODE...] DESCRIPTION
Asks the lircd daemon to send one or more CIR (Consumer Infra-Red) commands. This is intended for remote control of electronic devices such as TV boxes, HiFi sets, etc. DIRECTIVE can be: SEND_ONCE - send CODE [CODE ...] once SEND_START - start repeating CODE SEND_STOP - stop repeating CODE LIST - list configured remote items SET_TRANSMITTERS - set transmitters NUM [NUM ...] SIMULATE - simulate IR event REMOTE is the name of a remote, as described in the lircd configuration file. CODE is the name of a remote control key of REMOTE, as it appears in the lircd configuration file. NUM is the transmitter number of the hardware device. For the LIST DIRECTIVE, REMOTE and/or CODE can be empty: LIST "" "" - list all configured remote names LIST REMOTE "" - list all codes of REMOTE LIST REMOTE CODE - list only CODE of REMOTE The SIMULATE command only works if it has been explicitly enabled in lircd. -h --help display usage summary -v --version display version -d --device use given lircd socket [/var/run/lirc/lircd] -a --address=host[:port] connect to lircd at this address -# --count=n send command n times EXAMPLES
irsend LIST DenonTuner "" irsend SEND_ONCE DenonTuner PROG-SCAN irsend SEND_ONCE OnkyoAmpli VOL-UP VOL-UP VOL-UP VOL-UP irsend SEND_START OnkyoAmpli VOL-DOWN ; sleep 3 irsend SEND_STOP OnkyoAmpli VOL-DOWN irsend SET_TRANSMITTERS 1 irsend SET_TRANSMITTERS 1 3 4 irsend SIMULATE "0000000000000476 00 OK TECHNISAT_ST3004S" FILES
/etc/lirc/lircd.conf Default lircd configuration file. It should contain all the remotes, their infra-red codes and the corresponding timing and wave- form details. DIAGNOSTICS
If lircd is not running (or /var/run/lirc/lircd lacks write permissions) irsend aborts with the following diagnostics: "irsend: could not connect to socket" "irsend: Connection refused" (or "Permission denied"). SEE ALSO
The documentation for lirc is maintained as html pages. They are located under html/ in the documentation directory. lircd(8), mode2(1), smode2(1), xmode2(1), irrecord(1), irw(1), http://www.lirc.org. irsend 0.8.7pre1 May 2010 IRSEND(1)
Man Page