This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/v4l-utils.git tree:
Subject: keytable: add a way to add all protocols on raw decoders Author: Mauro Carvalho Chehab <[email protected]> Date: Fri Jul 25 22:21:00 2014 -0300 With raw decoders, sometimes it is interesting to be able to select all decoders, as it helps to use a raw driver to test if a given IR is producing scancodes. Add "all" to the list of accepted protocols. Signed-off-by: Mauro Carvalho Chehab <[email protected]> utils/keytable/keytable.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) --- http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=5a1be3abb60a25cb3f328c8ca8e75647de51ba59 diff --git a/utils/keytable/keytable.c b/utils/keytable/keytable.c index 065ac3b..ceca761 100644 --- a/utils/keytable/keytable.c +++ b/utils/keytable/keytable.c @@ -471,6 +471,8 @@ static error_t parse_opt(int k, char *arg, struct argp_state *state) ch_proto |= LIRC; else if (!strcasecmp(p,"rc-5-sz")) ch_proto |= RC_5_SZ; + else if (!strcasecmp(p,"all")) + ch_proto |= ~0; else goto err_inval; p = strtok(NULL, ",;"); _______________________________________________ linuxtv-commits mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits
