From 7b337bd25ae7b658b82673989fcbb7733849a567 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Tue, 23 Jan 2018 17:18:05 +0100 Subject: [PATCH] v4l-utils: add multi keymap for Amlogic devices 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 --- packages/sysutils/v4l-utils/package.mk | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/sysutils/v4l-utils/package.mk b/packages/sysutils/v4l-utils/package.mk index a23b06851f..986d679fcb 100644 --- a/packages/sysutils/v4l-utils/package.mk +++ b/packages/sysutils/v4l-utils/package.mk @@ -97,6 +97,8 @@ post_makeinstall_target() { default_multi_maps="rc6_mce xbox_360 zotac_ad10 hp_mce xbox_one cubox_i" create_multi_keymap libreelec_multi "RC6 NEC" $default_multi_maps + create_multi_keymap libreelec_multi_amlogic "RC6 NEC" $default_multi_maps \ + odroid wetek_hub # use multi-keymap instead of default one sed -i '/^\*\s*rc-rc6-mce\s*rc6_mce/d' $INSTALL/etc/rc_maps.cfg @@ -105,10 +107,9 @@ post_makeinstall_target() { # Custom LibreELEC configuration starts here # # use combined multi-table on MCE receivers -# * rc-rc6-mce rc6_mce -* rc-rc6-mce libreelec_multi -# additional non-upstreamed keymaps -* rc-odroid odroid -* rc-wetek-hub wetek_hub +# * rc-rc6-mce rc6_mce +* rc-rc6-mce libreelec_multi +# multi-table for amlogic devices +meson-ir * libreelec_multi_amlogic EOF }