diff options
author | Ben Klopfenstein <benklop@gmail.com> | 2015-08-05 02:10:15 -0600 |
---|---|---|
committer | Ben Klopfenstein <benklop@gmail.com> | 2015-08-05 02:10:15 -0600 |
commit | 5aa1e5fceac451ee629ab0b5a81e0847bf9d9683 (patch) | |
tree | 83466ad601abf5c89867559a1aa483c24d2434f2 /app-misc/lirc/files | |
download | benklop-5aa1e5fceac451ee629ab0b5a81e0847bf9d9683.tar.gz benklop-5aa1e5fceac451ee629ab0b5a81e0847bf9d9683.tar.bz2 benklop-5aa1e5fceac451ee629ab0b5a81e0847bf9d9683.zip |
Initial commit
Diffstat (limited to 'app-misc/lirc/files')
-rw-r--r-- | app-misc/lirc/files/50-lirc.rules | 1 | ||||
-rw-r--r-- | app-misc/lirc/files/lirc.conf | 7 | ||||
-rw-r--r-- | app-misc/lirc/files/lirc_options.conf | 28 | ||||
-rw-r--r-- | app-misc/lirc/files/lircd.service | 14 | ||||
-rw-r--r-- | app-misc/lirc/files/modprobed.lirc | 22 |
5 files changed, 72 insertions, 0 deletions
diff --git a/app-misc/lirc/files/50-lirc.rules b/app-misc/lirc/files/50-lirc.rules new file mode 100644 index 0000000..e36b587 --- /dev/null +++ b/app-misc/lirc/files/50-lirc.rules @@ -0,0 +1 @@ +KERNEL=="lirc[0-9]*", GROUP="lirc", MODE="0664" diff --git a/app-misc/lirc/files/lirc.conf b/app-misc/lirc/files/lirc.conf new file mode 100644 index 0000000..0fa82d1 --- /dev/null +++ b/app-misc/lirc/files/lirc.conf @@ -0,0 +1,7 @@ +#put your LIRC kernel driver here, if one is needed. + +#lirc_serial will not work if the linux serial port driver is compiled +#so disable that in your kernel. + +#all lirc kernel modules are currently in multimedia staging. +lirc_serial diff --git a/app-misc/lirc/files/lirc_options.conf b/app-misc/lirc/files/lirc_options.conf new file mode 100644 index 0000000..6e1d519 --- /dev/null +++ b/app-misc/lirc/files/lirc_options.conf @@ -0,0 +1,28 @@ +# 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. + +[lircd] +nodaemon = False +driver = default +device = /dev/lirc0 +output = /var/run/lirc/lircd +pidfile = /var/run/lirc/lircd.pid +plugindir = /usr/lib64/lirc/plugins +permission = 666 +allow-simulate = No +repeat-max = 600 +effective-user = lirc +#listen = [address:]port +#connect = host[:port] +#debug = 6 +#uinput = ... +#release = ... +#logfile = ... + +[lircmd] +uinput = False +nodaemon = False + +[modprobe] +#modules = [lircd_dev, lirc_sir...] diff --git a/app-misc/lirc/files/lircd.service b/app-misc/lirc/files/lircd.service new file mode 100644 index 0000000..497c5fb --- /dev/null +++ b/app-misc/lirc/files/lircd.service @@ -0,0 +1,14 @@ +[Unit] +Description=LIRC Infrared Signal Decoder +After=network.target + +[Service] +Type=simple + +ExecStartPre=/bin/mkdir -p /var/run/lirc +ExecStartPre=/bin/chown -R lirc:lirc /var/run/lirc + +ExecStart=/usr/sbin/lircd --nodaemon + +[Install] +WantedBy=multi-user.target diff --git a/app-misc/lirc/files/modprobed.lirc b/app-misc/lirc/files/modprobed.lirc new file mode 100644 index 0000000..2ed9558 --- /dev/null +++ b/app-misc/lirc/files/modprobed.lirc @@ -0,0 +1,22 @@ +# +# For first serial receivers: +# +#options lirc_serial irq=4 io=0x3f8 +#options lirc_sir irq=4 io=0x3f8 + +# +# Detach first serial port from serial-driver. +# Use this when you have your serial-port-driver statically +# compiled into your kernel, or as a module but loaded before +# the lirc-module. +# +#install lirc_serial setserial /dev/ttyS0 uart none; modprobe --ignore-install lirc_serial +# +#install lirc_sir setserial /dev/ttyS0 uart none; modprobe --ignore-install lirc_sir + + +# +# For parallel receivers: +# +#options lirc_parallel irq=7 io=0x3bc + |