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
user.email a8ac73c715
rebuilt
11 years ago
.gitignore lirc 0.9.0-pre1 14 years ago
0001-Fix-segfault-when-starting-lircd-AUR-41581.patch Updating to latest release. 11 years ago
0002-lircd-Fix-bad-default-for-lircdfile.patch Updating to latest release. 11 years ago
0003-0.9.1a-Bugfix-segfault-when-parsing-connect-in-confi.patch Updating to latest release. 11 years ago
0004-lircd-fix-compiler-error-format-security-error.patch Updating to latest release. 11 years ago
99-remote-control-lirc.rules Updating after review and test of not-released -15 11 years ago
README.fedora Updating to latest release. 11 years ago
TODO Updating to release 15 11 years ago
lirc.init Improve in-kernel decoder disabling logic 14 years ago
lirc.spec rebuilt 11 years ago
sources Updating to latest release. 11 years ago

README.fedora

## Fedora README

### Upstream release 0.9.1a

The changes that broke the update for 0.9.0 are now in upstream. There
are no functional fedora-specific patches in this release, just some
bugfixes.


#### 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.

## Troubleshooting

Getting lircd logs from last boot cycle:
```
    # journalctl -b /usr/sbin/lircd
```

If lircd fails to start or dies after restart, first check logs for errors:
```
    # journalctl -f &
    # systemctl restart lircd.service
```

You could also run lircd in foreground after stopping service, using the
driver  and device defined in lirc_options.conf:
```
    # systemctl stop lircd.service
    # /usr/sbin/lircd  --nodaemon
```

Sometimes kernel complains about multiple clients trying to access the
same device. In this case you need to blacklist some kernel module
to make the kernel device available for lircd. One example is my RF
remote using the atilibusb driver. This needs to blacklist the built_in
ati_remote module. This is is done by creating the file
/etc/modprobe.conf.d/blacklist-ati-remote.conf as:
```
## Block built-in handling of ati-remote (use lircd instead).
blacklist ati_remote
```