69 Commits

Author SHA1 Message Date
Matthias Reichl
a3318e7317 lirc: remove obsolete combined lircd.conf files 2017-06-23 11:26:34 +02:00
Matthias Reichl
53ca0ea214 lirc: use upstream method to configure and run lirc
Add helper scripts for lircd and lircd-uinput so that we can
override lirc_options.conf and lircd.conf via files in
/storage/.config

Use separate systemd units for lircd and lircd-uinput, like in
upstream, and just add a ConditionPathExists to enable/disable
the services.

The lirc socket is managed by systemd via lircd.socket, like
in upstream.

Remove udev file for enabling lirc, this is now handled via
systemd only.
2017-06-23 11:26:34 +02:00
Matthias Reichl
745e14dbd6 lirc: add lirc_options.conf
Based on upstream lirc_options.conf with the following changes:
- socket set to /run/lirc/lircd.socket, the default clashes with eventlircd
- pidfile in /run instead of /var/run
- driver set to default
- device set to /dev/lirc0
2017-06-23 11:26:34 +02:00
Matthias Reichl
de99af22ae lirc: split combined lircd.conf.* files, add upstream lircd.conf 2017-06-23 11:26:34 +02:00
Matthias Reichl
515a4c3d0f lirc: don't build docs
Docs are removed after installation so no need to build them
2017-06-23 11:26:34 +02:00
Matthias Reichl
48df0ecaed lirc: add upstream fix for systemd pkg-config name change 2017-06-23 11:26:34 +02:00
Matthias Reichl
02cb0d8c43 lirc: add upstream patch to fix driver initialization
This fixes lircd not picking up devices created after lircd
startup

See https://sourceforge.net/p/lirc/tickets/279/
2017-06-23 11:26:34 +02:00
Matthias Reichl
c31570c464 lirc: add upstream fix for release events 2017-06-23 11:26:34 +02:00
Matthias Reichl
7df9efa931 lirc: update to 0.9.4d, use upstream patches
Use upstream configuration settings where possible and
replace downstream patches with upstream fixes.

Rename downstream patches to start with 0100
2017-06-23 11:26:34 +02:00
MilhouseVH
02089e2ca5 BUILD: add $ROOT, convert to absolute path 2017-06-20 17:22:19 +01:00
Matthias Reichl
2c9f5eeebd lirc: also support lirc devices from the rc subsystem
Signed-off-by: Matthias Reichl <hias@horus.com>
2017-03-27 18:29:36 +02:00
Lukas Rusak
7a28e471ee
lirc: simplify scripts 2017-02-08 18:21:44 -08:00
Matthias Reichl
f63efba4e9 lirc: fix cross compilation
Make sure lirc uses kernel headers from target, not the build
host, when generating input_map.inc.
2017-02-07 09:10:06 +01:00
Matthias Reichl
7305d58ddb lirc: use _LIRCUP as key-release suffix instead of _UP
Since diagonal key support was added in kernel 4.7 KEY_LEFT_UP
and KEY_RIGHT_UP are valid input symbols.

This means we can no longer use _UP as a suffix for transporting
release events from lircd to lircd-uinput, lircd-uinput now
interprets KEY_LEFT_UP/KEY_RIGHT_UP as a diagnoal key down event
instead of left/right key release.
2017-02-07 09:09:58 +01:00
MilhouseVH
fd9adcf9d9 lirc: use stable pkg_url [backport] 2017-01-31 11:28:52 +00:00
awiouy
c161126e01 decommission PKG_REV 2017-01-19 07:23:38 +01:00
Lukas Rusak
272f9fceac
lirc: lircd-uinput@.service should depends on the same thing as lircd@.service 2017-01-14 11:15:48 -08:00
escalade
f5ce0becc4 lirc: don't start the lircd-uinput service unless the correct socket exists 2017-01-10 21:31:36 +00:00
Lukas Rusak
2ce4f68338 lirc: add lircd-uinput service 2016-12-28 20:46:31 +01:00
Jonas Karlman
8274c7ec70 lirc: update to 0.9.4c 2016-12-28 20:01:55 +01:00
Lukas Rusak
6ea82b7755
lirc: allow disabling 2016-11-04 14:05:54 -07:00
Jonas Karlman
c2e22a68c8 Odroid_C2: update lircd.conf.amremote 2016-11-02 18:39:57 +01:00
Jérôme Benoit
f751b193a4 LIRC: Disable YAML python module autodetection
It's not used by LibreELEC and it trigger a build failure on recent
GNU/Linux distribution like Fedora 24.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
2016-10-17 22:40:31 +02:00
MilhouseVH
a0cdc3fd45 lirc: linux 4.8 fix 2016-10-13 01:20:28 +01:00
awiouy
e0c2de9b39 Decommission PKG_PRIORITY 2016-09-24 11:57:39 +02:00
Lukas Rusak
129a49f2b8 lirc: add Atric IR-Wakeup-USB support 2016-07-27 11:19:33 -07:00
Matthias Reichl
ee97241409 lirc: re-add patch to support additional keys 2016-07-15 12:27:49 +02:00
Lukas Rusak
3d855bc729 Revert "lirc: add lircd-uinput service"
This reverts commit 2d52a205f45c1d6d34421edc8ec00ba02260fd6e.
2016-07-03 22:36:19 -07:00
Sascha Kuehndel (InuSasha)
d6567d1331 lirc: fix parallel build 2016-06-22 22:21:43 +02:00
Lukas Rusak
d47feb3921 lirc: update to 0.9.4 2016-06-18 23:40:14 -07:00
Lukas Rusak
952c425aa1 lirc: remove circular dependency on libirman 2016-06-15 10:54:38 -07:00
Lukas Rusak
a01365188f lirc: allow using with Odroid_C2 2016-05-05 01:23:04 -07:00
Lukas Rusak
40af353132 rebrand: LibreELEC 2016-03-12 01:41:55 +01:00
Stephan Raue
f51faa070d packages: update license headers
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2016-01-02 17:29:56 +01:00
jenkins101
bc1f78ec07 lirc: fixed ir blasting 2015-02-06 10:36:23 +01:00
Philipp Felix Hoefler
0e73cf3bdf libftdi: remove package and replace with package 'libftdi1', patch files for files using it this lib
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2015-01-31 19:50:29 +01:00
Wes Garrison
cf00e574a2 replace duplicate KEY_OK with KEY_PLAY
additionally set gap and toggle_bit_mask back to settings from MythTV config here http://www.mythtv.org/wiki/XBOX_DVD_IR_Receiver
2014-12-27 21:51:19 +01:00
Stephan Raue
ebd5677416 lirc: specify localstatedir so /run/lirc is used for socket and pid files
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-11-11 12:04:21 +01:00
Rene Hegewald
413286775c add package 'libirman'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-10-29 13:26:58 +01:00
Stephan Raue
3cc381c2da lirc: move out of remote
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 06:32:52 +02:00
Stephan Raue
71ccc96ca7 lirc:
- move to sysutils/remote
2010-04-28 20:41:48 +02:00
Stephan Raue
3c1545aa39 lirc:
- fixing build issue with older libtool installed (prevent rerunning of autotools)
2010-04-09 01:00:41 +02:00
Stephan Raue
016744d5f2 lirc:
- update to lirc-20100408
2010-04-09 00:59:36 +02:00
Stephan Raue
b25d7602a3 lirc:
- install lircd.conf to /etc/lirc
2010-04-07 18:53:44 +02:00
Stephan Raue
c63b37d59f lirc:
- some cleanups and cosmetics to the init script
2010-04-05 14:43:58 +02:00
Stephan Raue
9c9a2c9364 lirc:
- remove configfile (not needed)
2010-04-05 14:43:26 +02:00
Stephan Raue
cc523e5c7e lirc:
- dont build lirc driver anymore (builded with kernel)
- dont install lirc driver anymore (installed with kernel)
- disable looking of alsa, portausio, svgalib
- logging to syslog
- cosmetics & cleanups
2010-04-05 14:42:58 +02:00
Stephan Raue
8caac8adfa lirc:
- update to lirc-20100402
2010-04-03 13:43:06 +02:00
Stephan Raue
af89ea5020 lirc:
- move /etc/conf.d/* to /etc/lirc.conf
- rename packages/sysutils/lirc/config/sysconfig_$RECEIVER to packages/sysutils/lirc/config/config_$RECEIVER
2010-03-25 10:37:45 +01:00
Stephan Raue
d8159bbbe2 lirc:
- change runlevel "text" to "textmode"
2010-03-25 09:38:06 +01:00