lirc configration has changed in strech (#3954)

* lirc configration has changed in strech

The instructions here are only valid for rasberry pi with raspbian jessie. With raspbian stretch the he hardware.conf file is not supported, obsoleted by a new lirc_options.conf file and systemd unit definitions

* Minor changes

* Add space
This commit is contained in:
jodur 2017-11-12 14:49:22 +01:00 committed by Fabian Affolter
parent 5cc7f7e85f
commit 138c325d8c

View File

@ -26,9 +26,15 @@ To allow Home Assistant to talk to your IR receiver, you need to first make sure
$ sudo apt-get install lirc liblircclient-dev
```
<p class='note'>
If you are configuring on a Raspberry Pi, there are excellent instructions with GPIO schematics and driver configurations [here](http://alexba.in/blog/2013/01/06/setting-up-lirc-on-the-raspberrypi/). Consider following these.
If you are configuring on a Raspberry Pi, there are excellent instructions with GPIO schematics and driver configurations [here](http://alexba.in/blog/2013/01/06/setting-up-lirc-on-the-raspberrypi/). Take notice, the instructions in this blog are valid for Raspian Jesse where lirc 0.9.0 was included in the debian package. In Raspian Stretch lirc 0.9.4 is included in the Debian package.
The configuration is slightly different :
- The `hardware.conf` file is not supported, obsoleted by a new `lirc_options.conf` file and systemd unit definitions.
- The former single `lirc` service is replaced with the three systemd services `lircd.service`, `lircmd.service` and `irexec.service`. There is no counterpart to the 0.9.0 `lirc` service which covered all of these. Using a separate transmitter device requires yet another service.
- 0.9.4 defaults to using systemd for controlling the services. This is not just start/stop functionality, systemd is used to implement new features and to address shortcomings in 0.9.0. However, traditional systemV scripts are also installed and could be used although this is less tested and not really documented.
For more infomation have a look at `/usr/share/doc/lirc/README.Debian.gz` where the update process is explained when you have updated from jessie to stretch.
</p>
### {% linkable_title Configuring LIRC %}