mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
eventlircd: prevent race with libinput / kodi
Currently both eventlircd and kodi try to grab input devices which leads to a nasty race. If kodi wins the race eventlircd can't do the keycode to lirc translation and users are left with non-working buttons like OK. Setting the LIBINPUT_IGNORE_DEVICE udev property for input devices handled by eventlircd prevents the race as libinput will then ignore these devices and kodi won't try to grab them. Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
97d7dee7cf
commit
ec0e7fb3a2
@ -224,4 +224,7 @@ ATTRS{name}=="Amazon Fire TV Remote", \
|
||||
|
||||
LABEL="end-bluetooth"
|
||||
|
||||
# tell libinput to ignore devices handled by eventlircd
|
||||
ENV{eventlircd_enable}=="true", ENV{LIBINPUT_IGNORE_DEVICE}="1"
|
||||
|
||||
LABEL="end"
|
||||
|
Loading…
x
Reference in New Issue
Block a user