1LIRCRCD(8)                   System Manager Manual                  LIRCRCD(8)
2
3
4

NAME

6       lircrcd - Synchronize lircrc state among client applications.
7

SYNOPSIS

9       lircrcd [options] config-file
10

DESCRIPTION

12       lircrcd  reads  the given .lircrc config file and synchronises the mode
13       that the LIRC clients such as irexec(1),  irxevent(1),  etc.,  are  in.
14       Using lircrcd has to be explicitly enabled in the lircrc config file by
15       adding the following line at the beginning of the file:
16
17              lircrc_class default
18
19       This must be done at the top-level file, not an included one. The  lir‐
20       crc_class  string  (here "default") could actually be anything; clients
21       using the same string in their lircrc will be synchronized.
22

OPTIONS

24       -h --help
25              Display help message.
26
27       -v --version
28              Display version.
29
30       -p, --permission=mode
31              The --permission option gives the file permission  of  the  Unix
32              domain  socket  lircrcd  creates on startup in octal representa‐
33              tion. Read the documentation for chmod for further  details.  If
34              no  --permission  option is given when the socket is created the
35              default is to give only the user owning the file read and  write
36              permissions (0600 in octal representation).
37
38       -o, --output=socket
39              With  the --output option you can select the Unix domain socket,
40              which lircrcd will create. The default is to create a socket  in
41              VARRUNDIR (/var/run/lirc), see FILES.
42
43

SOCKET PROTOCOL

45       lircrcd  syntactically uses the same protocol as lircd described in the
46       lircd(8) manpage. It supports the following commands:
47
48
49       IDENT ident
50           Each program connecting to lircrcd  identifies  itself  using  this
51           program.   ident  is  the  string that is used in the Prog =  token
52           inside the .lircrc file.
53
54
55       CODE code
56           When the client receives the code string from lircd it will send it
57           to  lircrcd and will receive back the applicable config string from
58           the .lircrc config file. It should resend the  CODE  command  until
59           nothing  is  returned  back  which means that nothing (more) should
60           happen in response to code. This command  is  used  each  time  the
61           lirc_code2char() function is called by a client.
62
63
64       GETMODE
65           lircrcd will return the current mode string.
66
67
68
69       SETMODE mode
70           lircrcd  will set the actual mode, reflecting a mode in the .lircrc
71           file.
72
73

FILES

75       lircrcd   creates   its   socket(s)   in   the   VARRUNDIR    directory
76       (/var/run/lirc).   The  socket  basename  includes the user UID and the
77       string from the lircrc_class option.
78

SEE ALSO

80       The documentation for lirc  is  maintained  as  html  pages.  They  are
81       located under html/ in the documentation directory.
82
83
84
85lircrcd 0.10.0               Last change: Sep 2015                  LIRCRCD(8)
Impressum