autoreconf trips over the newer ax_proc_doxygen.m4 file from our
autoconf-archive which is not compatible with the ancient
version used in v4l-utils, just disable it as we don't want to
build docs anyways.
Signed-off-by: Matthias Reichl <hias@horus.com>
Since 1.18.0 ir-keytable no longer supports the "--device" option
which means it can't be used to configure input repeat settings
of non-rc devices like keyboards, RF remotes etc.
Use the newly added evrepeat tool instead so we retain the same
500ms initial repeat delay as before the v4l-utils bump.
lircd-uninput is no longer used by default on LE so drop it's
repeat period configuration.
Signed-off-by: Matthias Reichl <hias@horus.com>
Disable bpf decoder support for now, it's not yet supported
in the LE kernels and needs clang to compile.
Signed-off-by: Matthias Reichl <hias@horus.com>
Using $id to get the rcX device name from the SUBSYSTEMS match,
as used by the upstrem v4l-utils udev rule, is easier and more
stable than using IMPORT{parent}, which needs to transmit info across
two levels (rcX->inputY->eventZ) and breaks with kernel 4.20.
Instead of running a shell script to check for the existance of
/storage/.config/rc_maps.cfg we can use the builtin udev TEST
function.
Also it's better to use ENV variables prefixed with a dot as
they are used only locally in the udev rule file and don't need
to be persisted in the udev database or exported to external tools.
Signed-off-by: Matthias Reichl <hias@horus.com>
Sean Young figured out that the Xbox Remote sends 24 bits, the first 12 bits are repeated
and inverted so only 12 bits are used. Turns out this is a modified nec protocol.
For increased accuracy and compliance with the upstream, replace the historic 8 bit report
values with the proper 12 bit values.
Signed-off-by: Benjamin Valentin <benpicco@googlemail.com>
Signed-off-by: Sean Young <sean@mess.org>
hp_mce and zotac_ad10 won't work properly, the kernel doesn't
handle the listed scancodes as the MCE subvariant of RC6 so every
other buttonpress would be missing. Also HP MCE remotes generate
standard scancodes that are handled by the rc6_mce keymap and the
hp_mce keymap contains very odd scancodes which means it's probably
garbage (and badly named).
The samsung keymap doensn't contain any info about which actual
remote it should be used for and might clash with upstream if
a samsung keymap would be added there.
As none of these keymaps are activated by default anymore in
LibreELEC let's just remove them.
Signed-off-by: Matthias Reichl <hias@horus.com>
This keymap supports the common remotes (MCE, Xbox 360 etc)
plus the Odroid an Wetek Hub remote.
It is used with the meson-ir driver unless one of the other
supported keymaps was explicitly chosen in devicetree.
By default meson-ir uses the rc-empty map, Odroid C2 DT sets it
to rc-odroid and Wetek Hub DT sets it to rc-wetek-hub. As rc-maps.cfg
doesn't contain a mapping for these the amlogic multi-map will be used.
Signed-off-by: Matthias Reichl <hias@horus.com>