Signed-off-by: Sean Young <sean@xxxxxxxx> --- utils/common/ir-encode.c | 1 + utils/keytable/keytable.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/utils/common/ir-encode.c b/utils/common/ir-encode.c index e6b65b5b..c7e319eb 100644 --- a/utils/common/ir-encode.c +++ b/utils/common/ir-encode.c @@ -376,6 +376,7 @@ static const struct { [RC_PROTO_MCIR2_MSE] = { "mcir2-mse" }, [RC_PROTO_XMP] = { "xmp" }, [RC_PROTO_CEC] = { "cec" }, + [RC_PROTO_IMON] = { "imon", 0x7fffffff }, }; static bool str_like(const char *a, const char *b) diff --git a/utils/keytable/keytable.c b/utils/keytable/keytable.c index 925eab00..482fcf86 100644 --- a/utils/keytable/keytable.c +++ b/utils/keytable/keytable.c @@ -116,6 +116,7 @@ enum sysfs_protocols { SYSFS_SHARP = (1 << 11), SYSFS_XMP = (1 << 12), SYSFS_CEC = (1 << 13), + SYSFS_IMON = (1 << 14), SYSFS_INVALID = 0, }; @@ -149,6 +150,7 @@ const struct protocol_map_entry protocol_map[] = { { "sharp", NULL, SYSFS_SHARP }, { "xmp", "/xmp_decoder", SYSFS_XMP }, { "cec", NULL, SYSFS_CEC }, + { "imon", NULL, SYSFS_IMON }, { NULL, NULL, SYSFS_INVALID }, }; -- 2.14.3