Merge pull request #1349 from HiassofT/le8-v4l-utils-backport

[LE8 backport] v4l-utils: fix issues with streamzap remote
This commit is contained in:
Christian Hewitt 2017-02-15 22:47:01 +04:00 committed by GitHub
commit 97a8eb49cb
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,23 @@
commit e853648f9ff0682f0b217de541d96f398509ff0b
Author: Sean Young <sean@mess.org>
Date: Wed Nov 9 14:13:33 2016 -0200
ir-keytable: make it possible to select the rc5 streamzap variant
It was not possible to select the rc-5-sz protocol.
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
diff --git a/utils/keytable/keytable.c b/utils/keytable/keytable.c
index 3922ad2..202610a 100644
--- a/utils/keytable/keytable.c
+++ b/utils/keytable/keytable.c
@@ -123,6 +123,7 @@ const struct protocol_map_entry protocol_map[] = {
{ "rc5", NULL, SYSFS_RC5 },
{ "rc-5x", NULL, SYSFS_INVALID },
{ "rc5x", NULL, SYSFS_INVALID },
+ { "rc-5-sz", NULL, SYSFS_RC5_SZ },
{ "jvc", "/jvc_decoder", SYSFS_JVC },
{ "sony", "/sony_decoder",SYSFS_SONY },
{ "sony12", NULL, SYSFS_INVALID },

View File

@ -0,0 +1,10 @@
diff --git a/utils/keytable/rc_keymaps/streamzap b/utils/keytable/rc_keymaps/streamzap
index 3512cd8..1619459 100644
--- a/utils/keytable/rc_keymaps/streamzap
+++ b/utils/keytable/rc_keymaps/streamzap
@@ -1,4 +1,4 @@
-# table streamzap, type: RC5_SZ
+# table streamzap, type: rc-5-sz
0x28c0 KEY_NUMERIC_0
0x28c1 KEY_NUMERIC_1
0x28c2 KEY_NUMERIC_2