From f0c49952375d1580e1966b05ffc28e11a142ef9a Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Fri, 7 Apr 2017 15:27:13 +0200 Subject: [PATCH] lirc: add lirc_options.conf Based on upstream lirc_options.conf with the following changes: - socket set to /run/lirc/lircd.socket, the default clashes with eventlircd - pidfile in /run instead of /var/run - driver set to default - device set to /dev/lirc0 --- .../sysutils/lirc/config/lirc_options.conf | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 packages/sysutils/lirc/config/lirc_options.conf diff --git a/packages/sysutils/lirc/config/lirc_options.conf b/packages/sysutils/lirc/config/lirc_options.conf new file mode 100644 index 0000000000..9bea76d04d --- /dev/null +++ b/packages/sysutils/lirc/config/lirc_options.conf @@ -0,0 +1,39 @@ +# These are the default options to lircd, if installed as +# /etc/lirc/lirc_options.conf. See the lircd(8) and lircmd(8) +# manpages for info on the different options. +# +# Some tools including mode2 and irw uses values such as +# driver, device, plugindir and loglevel as fallback values +# in not defined elsewhere. + +[lircd] +nodaemon = False +driver = default +device = /dev/lirc0 +output = /run/lirc/lircd.socket +pidfile = /run/lirc/lircd.pid +plugindir = /usr/lib/lirc/plugins +permission = 666 +allow-simulate = No +repeat-max = 600 +#effective-user = +#listen = [address:]port +#connect = host[:port] +#loglevel = 6 +#uinput = ... +#release = ... +#logfile = ... + +[lircmd] +uinput = False +nodaemon = False + +# modinit is not supported in LibreELEC + +# [modinit] +# code = /usr/sbin/modprobe lirc_serial +# code1 = /usr/bin/setfacl -m g:lirc:rw /dev/uinput +# code2 = ... + +# [lircd-uinput] +# release-timeout = 200