You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Alec Leamas 34cdc2ea64
Updating after review and test of not-released -15
11 years ago
.gitignore lirc 0.9.0-pre1 14 years ago
0001-configure-ac-revert-to-git-branch.patch Updating to release 15 11 years ago
0001-lirc-0.9.0-libusb-config-is-no-more.patch Updating to release 15 11 years ago
0004-Set-device-to-lirc0.patch Updating to release 15 11 years ago
0007-Make-lirc_wpc8769l-functional-again.patch Updating to release 15 11 years ago
0008-lirc_sir-fix-resource-busy-error-from-bunk-lirc_open.patch Updating to release 15 11 years ago
0009-lircd-handle-larger-config-files-in-write_socket-bet.patch Updating to release 15 11 years ago
0010-lirc_atiusb-fix-buffer-alloc-to-work-with-new-kfifo.patch Updating to release 15 11 years ago
0011-libusb-has-no-libusb-config-any-longer-use-pkg-confi.patch Updating to release 15 11 years ago
0012-Silence-some-clang-warnings-courtesy-of-nox.patch Updating to release 15 11 years ago
0013-userspace-use-dev-lirc0-as-default-device.patch Updating to release 15 11 years ago
0014-lirc-make-chardev-nonseekable.patch Updating to release 15 11 years ago
0015-media-lirc_dev-fixes-in-lirc_dev_fop_read.patch Updating to release 15 11 years ago
0016-media-lirc_dev-add-some-__user-annotations.patch Updating to release 15 11 years ago
0017-media-media-rc-lirc_dev-check-kobject_set_name-resul.patch Updating to release 15 11 years ago
0018-Start-lirc-0.9.1-git.patch Updating after review and test of not-released -15 11 years ago
0019-lircs-use-systemctl-instead-of-sysV-init.patch Updating after review and test of not-released -15 11 years ago
99-remote-control-lirc.rules Updating after review and test of not-released -15 11 years ago
0100-configure-ac-revert-to-git-branch.patch Updating after review and test of not-released -15 11 years ago
0101-Stripping-some-eol-whitespace.patch Updating to release 15 11 years ago
0102-Update-autotools-config-files.patch Updating to release 15 11 years ago
0103-xmode2.c-Use-generic-fixed-font-instead-of-Courier.patch Updating to release 15 11 years ago
0104-Add-systemd-socket-activation-support.patch Updating after review and test of not-released -15 11 years ago
0105-Update-COPYING-to-latest-version.patch Updating to release 15 11 years ago
0105-configure-ac-back-to-0.9.0.patch Updating to release 15 11 years ago
README.fedora Updating after review and test of not-released -15 11 years ago
TODO Updating to release 15 11 years ago
branch Initialize branch F-13 for lirc 15 years ago
lirc-0.8.4-make-remote-names-all-unique.patch update to 0.8.7pre2 snap and patch for use with new in-kernel lirc 15 years ago
lirc-0.8.6-firefly-def.patch update to 0.8.7pre2 snap and patch for use with new in-kernel lirc 15 years ago
lirc-0.8.6-standardized-remote-keycodes.patch update to 0.8.7pre2 snap and patch for use with new in-kernel lirc 15 years ago
lirc-0.9.0-libusb-config-is-no-more.patch Really fix libusb-based driver support this time 14 years ago
lirc.conf Updating to release 15 11 years ago
lirc.init Improve in-kernel decoder disabling logic 14 years ago
lirc.service Migrate to systemd. 13 years ago
lirc.spec Updating after review and test of not-released -15 11 years ago
lirc.sysconfig Updating after review and test of not-released -15 11 years ago
lircd.service Updating after review and test of not-released -15 11 years ago
lircd.socket Updating after review and test of not-released -15 11 years ago
lircmd.service Updating to release 15 11 years ago
sources Update to lirc 0.9.0 release 14 years ago

README.fedora

## Fedora README

#### New service name: lirc -> lircd.

For reasons of consistency we have renamed the lirc service to
lircd. Basically, this means that to start the service one need
to use systemctl start lircd.service instead of lirc.service etc.
Sorry for the inconvenience.

#### Enable lirc protocol

For lirc to work with ir devices, the lirc protocol must be enabled
for the actual device used. This only applies to ir devices which
are visible as /sys/class/rc/rc? devices. E. g., I have an RF remote
which is just an usb device (driver atilibusb) and this one does
*not* require the the lirc protocol to be enabled in this way.

If you have a "classic" ir device needing lirc to be enabled one option
is to install the lirc-disable-kernel-rc subpackage. This is an udev
rule which disables the kernel built-in ir device handling and makes
lirc the only protocol used. This might or might not be what you want.

Another option is to set the LIRCD_IR_DEVICE in /etc/sysconfig/lirc. This
will enable the lirc protocol for that device when lirc is running. The
kernel built-in protocols are still in place, but not used. Again, this
might or might not be what you want.

#### Socket activation

As of 0.9.4-15+, the Fedora lirc package sports systemd socket
activation. This should fix the problems at startup when clients can't
connect to /var/run/lircd because the lircd service is yet not started.

To start the lircd service using socket activation:

    # systemctl enable lircd.socket
    # systemctl start lircd.socket

The lircmd is started the usual way:

    # systemctl enable lircmd.service
    # systemctl start lircmd.service

#### Running another instance.

Sometimes another lircd instance is required to handle some other input
device. This could be done by creating a new service definition in
/etc/systemd/system.

In my case I have an extra instance handling ir output to the transciever.
This is accomplished with  a file /etc/systemd/system/lirc-tx:
----------------
[Unit]
Description=LIRC Infrared Signal Decoder
After=network.target

[Service]
Type=simple
ExecStart=/usr/sbin/lircd --driver=iguanaIR \
                          --device=/var/run/iguanaIR/0 \
                          --output=/var/run/lirc/lircd-tx \
                          --pidfile=/run/lirc/dont-use-lircd-tx.pid \
                          --nodaemon \
                          --allow-simulate

[Install]
WantedBy=multi-user.target

-----------------------

This defines a new service which can be started using
'systemctl start lirc-tx' etc. It's essential that each service has an
unique output socket. You should probably also think twice before running
two instances with the same input device.






http://stackoverflow.com/questions/11939255/writing-to-dev-uinput-on-ubuntu-12-04