mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
lirc_%.bbappend: Use lircd.service as in Raspbian
Use lircd systemd service similar to the one in Raspbian. Start lircd with argument --nodaemon after lircd-setup.service. Edit device in /etc/lirc/lirc_options.conf to switch between receive and transmit modes (lircd must be restarted after such change). Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
This commit is contained in:
parent
cdee89b0a0
commit
770a69f18d
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=LIRC Infrared Signal Decoder
|
||||
Wants=lircd-setup.service
|
||||
After=network.target lircd-setup.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/sbin/lircd --nodaemon
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -2,4 +2,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
|||
|
||||
SRC_URI_append_rpi = " \
|
||||
file://lirc-gpio-ir-0.10.patch \
|
||||
file://lircd.service \
|
||||
"
|
||||
|
|
Loading…
Reference in New Issue
Block a user